lkml.org 
[lkml]   [2006]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] [3/3] Support piping into commands in /proc/sys/kernel/core_pattern
    From
    Date
    On Fri, 2006-08-18 at 14:01 +0200, Arjan van de Ven wrote:
    > On Fri, 2006-08-18 at 10:29 +0200, Andi Kleen wrote:
    > > > But still. Is this code secure?
    > >
    > > Any auditing from third parties appreciated.
    > >
    > > I don't know of any obvious flaws (at least assuming the pipe handler
    > > isn't insecure code), but then I'm biased.
    >
    > one angle is... is the userspace handler trusted code by root? Or is it
    > allowed to be per user/user defined binary? In the later case there are
    > all kinds of DoS scenarios possible; in the former it's root doing that
    > to himself ;)

    so one angle that needs to be resolved is the selinux interaction, where
    root!=root to some degree. If "any root" can control the sysctl, then
    this could lead to information leaks, or worse, to a "limited root" to
    "full root" escalation...

    >
    --
    if you want to mail me at work (you don't), use arjan (at) linux.intel.com

    -
    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/

    \
     
     \ /
      Last update: 2006-08-18 14:13    [W:0.020 / U:30.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site