patch-2.1.97 linux/kernel/sys.c
Next file: linux/net/ipv4/ip_fragment.c
Previous file: linux/include/linux/serial.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Apr 17 22:01:51 1998
- Orig file:
v2.1.96/linux/kernel/sys.c
- Orig date:
Tue Mar 17 22:18:15 1998
diff -u --recursive --new-file v2.1.96/linux/kernel/sys.c linux/kernel/sys.c
@@ -177,7 +177,8 @@
/* For safety, we require "magic" arguments. */
if (magic1 != LINUX_REBOOT_MAGIC1 ||
- (magic2 != LINUX_REBOOT_MAGIC2 && magic2 != LINUX_REBOOT_MAGIC2A))
+ (magic2 != LINUX_REBOOT_MAGIC2 && magic2 != LINUX_REBOOT_MAGIC2A &&
+ magic2 != LINUX_REBOOT_MAGIC2B))
return -EINVAL;
lock_kernel();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov