Thread (53 messages) 53 messages, 9 authors, 2012-02-29

Re: [PATCH v11 06/12] seccomp: add system call filtering using BPF

flat view

From: Markus Gutschke <hidden>
Date: 2012-02-28 17:48:24
Also in: linux-arch, lkml

On Tue, Feb 28, 2012 at 09:17, Will Drewry [off-list ref] wrote:
On Tue, Feb 28, 2012 at 12:51 AM, Indan Zupancic [off-list ref] wrote:
quoted
Wouldn't it make more sense to always kill with SIGSYS, also for mode 1?
I suppose it's too late for that now.
It would but I don't want to go and change existing ABI.
Just for the record, when this discussion came up about two years ago,
it was established that other than Chrome, there are currently no
users of Seccomp, as mode 1 is just too difficult to use for most
potential applications.

Chrome doesn't rely on the exit status of a process that violated the
seccomp restrictions, so it is highly unlikely you would break
existing userspace, if you changed the ABI. On the other hand, as mode
2 is so much more powerful than mode 1, it is unlikely that we will
see future userspace applications make use of mode 1.

In other words, changing the ABI is unlikely to cause harm, but also
unlikely to do any good. I don't have any strong opinion either way;
just providing an additional data point.


Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help