mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sysctl core_setuid_ok fix
@ 2003-10-24 22:12 Chris Wright
  0 siblings, 0 replies; only message in thread
From: Chris Wright @ 2003-10-24 22:12 UTC (permalink / raw)
  To: marcelo.tosatti; +Cc: sarnold, linux-kernel

[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},


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-24 22:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24 22:12 [PATCH] sysctl core_setuid_ok fix Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®