lkml.org 
[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> It also gets rid of all configuration - one of the things that
> makes most security frameworks (look at selinux, but also just
> ACL's etc) such a crazy rats nest is the whole "set up for other
> processes". If it's designed very much to be about just the "self"
> process (after initialization etc), then I think that avoids pretty
> much all the serious issues.

That's how the event filters work currently: even when inherited they
get removed when exec-ing a setuid task, so they cannot leak into
privileged context and cannot modify execution there.

Inheritance works when requested, covering only same-credential child
tasks, not privileged successors.

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-26 20:49    [W:0.180 / U:20.176 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site