Make sure __libc_uid is initialized.
authordrepper <drepper>
Sun, 14 Dec 1997 22:17:31 +0000 (22:17 +0000)
committerdrepper <drepper>
Sun, 14 Dec 1997 22:17:31 +0000 (22:17 +0000)
sysdeps/unix/sysv/linux/sigqueue.c

index a88cd88..53e66af 100644 (file)
@@ -44,6 +44,8 @@ __sigqueue (pid, sig, val)
     __libc_pid = __getpid ();
   info.si_pid = __libc_pid;
 
     __libc_pid = __getpid ();
   info.si_pid = __libc_pid;
 
+  if (__libc_uid ==0xf00baa)
+    __libc_pid = __getuid ();
   info.si_uid = __libc_uid;
 
   info.si_value = val;
   info.si_uid = __libc_uid;
 
   info.si_value = val;