lkml.org 
[lkml]   [2011]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/7] seccomp_filter: add process state reporting
Date
> Adds seccomp and seccomp_filter status reporting to proc.
> /proc/<pid>/status will include a Seccomp field, and
> /proc/<pid>/seccomp_filter will provide read-only access
> to the current filter and bitmask set for seccomp_filters.
>
> Signed-off-by: Will Drewry <wad@chromium.org>
> ---
> fs/proc/array.c | 21 +++++++++++++++++++++
> fs/proc/base.c | 25 +++++++++++++++++++++++++
> 2 files changed, 46 insertions(+), 0 deletions(-)

I'm not againt seccomp_filter. but I dislike to increase /proc/<pid>/status mess.
1) it's read from a lot of applications, I don't want to worry about performance
thing. 2) 99.99% user never use seccomp. this field is useless for them.

Can't you make individual seccomp specific file?





\
 
 \ /
  Last update: 2011-04-28 05:23    [from the cache]
©2003-2011 Jasper Spaans