mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: marcelo.tosatti@cyclades.com
Cc: sarnold@immunix.com, linux-kernel@vger.kernel.org
Subject: [PATCH] sysctl core_setuid_ok fix
Date: Fri, 24 Oct 2003 15:12:36 -0700	[thread overview]
Message-ID: <20031024151236.B19328@osdlab.pdx.osdl.net> (raw)

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


                 reply	other threads:[~2003-10-24 22:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031024151236.B19328@osdlab.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=sarnold@immunix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®