[PATCH] sysctl core_setuid_ok fix
From: Chris Wright (chrisw_at_osdl.org)
Date: 10/25/03
- Previous message: Adam Sampson: "Odd st_blocks values from smbfs in 2.6.0-test8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Oct 2003 15:12:36 -0700 To: marcelo.tosatti@cyclades.com
[Resend, to fix bad Cc: adress]
The sysctl kern_table entry part of the core_setuid_ok patch has wrong
ctl_name. Patch below is against current 2.4.23-pre8-bk. Seth Arnold
pointed this problem out to me.
thanks,
-chris
-- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net ===== kernel/sysctl.c 1.28 vs edited ===== --- 1.28/kernel/sysctl.c Wed Oct 8 07:35:22 2003 +++ edited/kernel/sysctl.c Fri Oct 24 14:37:35 2003 @@ -180,7 +180,7 @@ 0644, NULL, &proc_dointvec}, {KERN_CORE_USES_PID, "core_uses_pid", &core_uses_pid, sizeof(int), 0644, NULL, &proc_dointvec}, - {KERN_CORE_USES_PID, "core_setuid_ok", &core_setuid_ok, sizeof(int), + {KERN_CORE_SETUID, "core_setuid_ok", &core_setuid_ok, sizeof(int), 0644, NULL, &proc_dointvec}, {KERN_CORE_PATTERN, "core_pattern", core_pattern, 64, 0644, NULL, &proc_dostring, &sysctl_string}, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Adam Sampson: "Odd st_blocks values from smbfs in 2.6.0-test8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|