patch-1.3.6 linux/kernel/signal.c

Next file: linux/kernel/sys.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.5/linux/kernel/signal.c linux/kernel/signal.c
@@ -69,7 +69,7 @@
 {
 	int error;
 	/* fill in "set" with signals pending but blocked. */
-	error = verify_area(VERIFY_WRITE, set, 4);
+	error = verify_area(VERIFY_WRITE, set, sizeof(sigset_t));
 	if (!error)
 		put_user(current->blocked & current->signal, set);
 	return error;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this