kernel/sys.c build fix
PATCH 1/1 kernel/sys.c build fix
On x86-64, the attached patch is required to fix
Quoted 4 lines
kernel/sys.c: In function `sys_setsid':kernel/sys.c:1078: error: `tty_sem' undeclared (first use in this function)kernel/sys.c:1078: error: (Each undeclared identifier is reported only oncekernel/sys.c:1078: error: for each function it appears in.)
kernel/sys.c needs the tty_sem declaration from linux/tty.h.
Jeff
===== kernel/sys.c 1.101 vs edited =====
kernel/sys.c +1 -0
@@ -23,6 +23,7 @@#include <linux/security.h> #include <linux/dcookies.h> #include <linux/suspend.h> +#include <linux/tty.h> #include <linux/compat.h> #include <linux/syscalls.h>