Re: [PATCH v3 1/4] seccomp: Add sysctl to display available actions

From
Andy Lutomirski <luto@amacapital.net>
Date
2017-02-16 03:15:13
Also in
lkml
Reply to
Tyler Hicks, 2017-02-14
On Mon, Feb 13, 2017 at 7:45 PM, Tyler Hicks [off-list ref] wrote:
This patch creates a read-only sysctl containing an ordered list of
seccomp actions that the kernel supports. The ordering, from left to
right, is the lowest action value (kill) to the highest action value
(allow). Currently, a read of the sysctl file would return "kill trap
errno trace allow". The contents of this sysctl file can be useful for
userspace code as well as the system administrator.
Would this make more sense as a new seccomp(2) mode a la
SECCOMP_HAS_ACTION?  Then sandboxy things that have no fs access could
use it.

--Andy
Thread (24 messages) 24 messages, 5 authors, last reply 2017-05-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help