aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wayland-server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wayland-server.c b/src/wayland-server.c
index 732f153..4bcc9ae 100644
--- a/src/wayland-server.c
+++ b/src/wayland-server.c
@@ -578,6 +578,9 @@ err_client:
* SO_PEERCRED, on the client socket fd. All the pointers can be
* NULL, if the caller is not interested in a particular ID.
*
+ * Note, process IDs are subject to race conditions and are not a reliable way
+ * to identify a client.
+ *
* Be aware that for clients that a compositor forks and execs and
* then connects using socketpair(), this function will return the
* credentials for the compositor. The credentials for the socketpair