阅读背景:

seccomp-bpf - 如何使用bpf过滤系统调用的参数?

来源:互联网 

I have a function f() which returns 0 or 1 - 0 for false, 1 for true. What I'd like to do is set a rule with seccomp-bpf so that the system call "fopen" is only allowed if f( --fopen's first parameter-- ) == 1.I have a function f() which returns 0 or 1 - 0




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: