lkml.org 
[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering
    From
    Date
    On Thu, 26 May 2011 13:08:10 CDT, Will Drewry said:

    > Depending on the need, there is work involved, and there are many ways
    > to determine your bounding box. It can be very tight -- where you
    > analyze normal workloads (perf,strace,objdump) and accept the fact
    > that pathological workloads may result in process death -- or it can
    > be quite loose and enable most system calls, just not newer ones,
    > let's say. In practice, you might get bit a few times if you're
    > overly zealous (I know I have), but it's the difference between
    > failing open and failing closed. There are some scenarios where you
    > never, ever want to fail-open even at the cost of process death and
    > lack of solid insight into a valid failure path.

    > Hope that makes sense and isn't too general,

    Oh, I already understood all that. :) I'd have to double-check the actual
    patch, does it give a (hopefully rate-limited) printk or other hint which
    syscall caused the issue, to help in making up the list of needed syscalls?

    And we probably want a cleaned-up copy of the quoted paragraph in the
    documentation for this feature when it hits the streets. People tuning in late
    will need guidance on how to use this in their projects.

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2011-05-26 20:27    [W:4.063 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site