patch-2.3.39 linux/arch/arm/kernel/signal.c

Next file: linux/arch/i386/defconfig
Previous file: linux/arch/arm/kernel/calls.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/arm/kernel/signal.c linux/arch/arm/kernel/signal.c
@@ -18,6 +18,7 @@
 #include <linux/stddef.h>
 #include <linux/binfmts.h>
 #include <linux/tty.h>
+#include <linux/highuid.h>
 
 #include <asm/ucontext.h>
 #include <asm/uaccess.h>
@@ -500,6 +501,7 @@
 				info.si_code = SI_USER;
 				info.si_pid = current->p_pptr->pid;
 				info.si_uid = current->p_pptr->uid;
+				info.si_uid16 = high2lowuid(current->p_pptr->uid);
 			}
 
 			/* If the (new) signal is now blocked, requeue it.  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)