[PATCH] sysctl core_setuid_ok fix

From: Chris Wright (chrisw_at_osdl.org)
Date: 10/25/03

  • Next message: Tom Rini: "Re: cset #'s stable?"
    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/
    

  • Next message: Tom Rini: "Re: cset #'s stable?"

    Relevant Pages

    • Re: What breaks aic7xxx in post 2.6.12-rc2 ?
      ... Oops, sorry, I took my grub conf and edited the bad entry: ... to take the second option with the "console=ttyS0" and forgot to update ... the last patch, I even didn't patch for latest DVB. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Configurable OOM killer Re: old oom-vm for 2.4.32 (was oom killer in 2.4.23)
      ... > The following patch makes OOM killer configurable (its the same as the ... > I hope the Configure.help entry is clear enough. ... As Andrea has pointed out earlier, a yieldafter out_of_memoryis safe and should be added too. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Feature removal: ACPI S4bios support
      ... You've forgotten to remove the feature-removal-schedule.txt entry in ... your patch. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: lk maintainers
      ... The patch below fixes my entry to contain a new URL that now contains ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
      ... using your own tmpalias area sounds much better than getting ... I've simply not wrapped my head around the races, ... it looks like we agree that my patch is necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)