<s>
seccomp	B-Application
(	O
short	O
for	O
secure	O
computing	O
mode	O
)	O
is	O
a	O
computer	O
security	O
facility	O
in	O
the	O
Linux	B-Operating_System
kernel	I-Operating_System
.	O
</s>
<s>
seccomp	B-Application
allows	O
a	O
process	B-Operating_System
to	O
make	O
a	O
one-way	O
transition	O
into	O
a	O
"	O
secure	O
"	O
state	O
where	O
it	O
cannot	O
make	O
any	O
system	B-Operating_System
calls	I-Operating_System
except	O
exit( )	O
,	O
sigreturn( )	O
,	O
read( )	O
and	O
write( )	O
to	O
already-open	O
file	B-Application
descriptors	I-Application
.	O
</s>
<s>
Should	O
it	O
attempt	O
any	O
other	O
system	B-Operating_System
calls	I-Operating_System
,	O
the	O
kernel	B-Operating_System
will	O
either	O
just	O
log	O
the	O
event	O
or	O
terminate	O
the	O
process	B-Operating_System
with	O
SIGKILL	B-General_Concept
or	O
SIGSYS	B-General_Concept
.	O
</s>
<s>
In	O
this	O
sense	O
,	O
it	O
does	O
not	O
virtualize	B-Architecture
the	O
system	O
's	O
resources	O
but	O
isolates	O
the	O
process	B-Operating_System
from	O
them	O
entirely	O
.	O
</s>
<s>
seccomp	B-Application
mode	O
is	O
enabled	O
via	O
the	O
system	B-Operating_System
call	I-Operating_System
using	O
the	O
PR_SET_SECCOMP	O
argument	O
,	O
or	O
(	O
since	O
Linux	B-Operating_System
kernel	I-Operating_System
3.17	O
)	O
via	O
the	O
system	B-Operating_System
call	I-Operating_System
.	O
</s>
<s>
seccomp	B-Application
mode	O
used	O
to	O
be	O
enabled	O
by	O
writing	O
to	O
a	O
file	O
,	O
/proc/self/seccomp	O
,	O
but	O
this	O
method	O
was	O
removed	O
in	O
favor	O
of	O
prctl( )	O
.	O
</s>
<s>
In	O
some	O
kernel	B-Operating_System
versions	O
,	O
seccomp	B-Application
disables	O
the	O
RDTSC	B-Device
x86	B-Operating_System
instruction	O
,	O
which	O
returns	O
the	O
number	O
of	O
elapsed	O
processor	O
cycles	O
since	O
power-on	O
,	O
used	O
for	O
high-precision	O
timing	O
.	O
</s>
<s>
seccomp-bpf	B-Application
is	O
an	O
extension	O
to	O
seccomp	B-Application
that	O
allows	O
filtering	O
of	O
system	B-Operating_System
calls	I-Operating_System
using	O
a	O
configurable	O
policy	O
implemented	O
using	O
Berkeley	B-Protocol
Packet	I-Protocol
Filter	I-Protocol
rules	O
.	O
</s>
<s>
It	O
is	O
used	O
by	O
OpenSSH	B-Language
and	O
vsftpd	O
as	O
well	O
as	O
the	B-Application
Google	I-Application
Chrome/Chromium	B-Application
web	O
browsers	O
on	O
ChromeOS	B-Operating_System
and	O
Linux	B-Operating_System
.	O
</s>
<s>
(	O
In	O
this	O
regard	O
seccomp-bpf	B-Application
achieves	O
similar	O
functionality	O
,	O
but	O
with	O
more	O
flexibility	O
and	O
higher	O
performance	O
,	O
to	O
the	O
older	O
systrace	B-Application
—	O
which	O
seems	O
to	O
be	O
no	O
longer	O
supported	O
for	O
Linux	B-Operating_System
.	O
)	O
</s>
<s>
Some	O
consider	O
seccomp	B-Application
comparable	O
to	O
OpenBSD	B-Operating_System
pledge(2 )	O
and	O
FreeBSD	B-Operating_System
capsicum(4 )	O
.	O
</s>
<s>
seccomp	B-Application
was	O
first	O
devised	O
by	O
Andrea	O
Arcangeli	O
in	O
January	O
2005	O
for	O
use	O
in	O
public	O
grid	B-Architecture
computing	I-Architecture
and	O
was	O
originally	O
intended	O
as	O
a	O
means	O
of	O
safely	O
running	O
untrusted	O
compute-bound	O
programs	O
.	O
</s>
<s>
It	O
was	O
merged	O
into	O
the	O
Linux	B-Operating_System
kernel	I-Operating_System
mainline	O
in	O
kernel	B-Operating_System
version	O
2.6.12	O
,	O
which	O
was	O
released	O
on	O
March	O
8	O
,	O
2005	O
.	O
</s>
<s>
Android	B-Application
uses	O
a	O
seccomp-bpf	B-Application
filter	O
in	O
the	O
zygote	O
since	O
Android	B-Application
8.0	I-Application
Oreo	B-Application
.	O
</s>
<s>
systemd	B-Application
's	O
sandboxing	O
options	O
are	O
based	O
on	O
seccomp	B-Application
.	O
</s>
<s>
Docker	B-Language
–	O
software	O
that	O
allows	O
applications	O
to	O
run	O
inside	O
of	O
isolated	O
containers	O
.	O
</s>
<s>
Docker	B-Language
can	O
associate	O
a	O
seccomp	B-Application
profile	O
with	O
the	O
container	O
using	O
the	O
--security-opt	O
parameter	O
.	O
</s>
<s>
Arcangeli	O
's	O
CPUShare	O
was	O
the	O
only	O
known	O
user	O
of	O
seccomp	B-Application
for	O
a	O
while	O
.	O
</s>
<s>
Writing	O
in	O
February	O
2009	O
,	O
Linus	O
Torvalds	O
expresses	O
doubt	O
whether	O
seccomp	B-Application
is	O
actually	O
used	O
by	O
anyone	O
.	O
</s>
<s>
However	O
,	O
a	O
Google	B-Application
engineer	O
replied	O
that	O
Google	B-Application
is	O
exploring	O
using	O
seccomp	B-Application
for	O
sandboxing	O
its	O
Chrome	B-Application
web	I-Application
browser	I-Application
.	O
</s>
<s>
Firejail	O
is	O
an	O
open	O
source	O
Linux	B-Operating_System
sandbox	O
program	O
that	O
utilizes	O
Linux	B-Architecture
namespaces	I-Architecture
,	O
Seccomp	B-Application
,	O
and	O
other	O
kernel-level	O
security	O
features	O
to	O
sandbox	O
Linux	B-Operating_System
and	O
Wine	B-Application
applications	O
.	O
</s>
<s>
As	O
of	O
Chrome	B-Application
version	O
20	O
,	O
seccomp-bpf	B-Application
is	O
used	O
to	O
sandbox	O
Adobe	B-Operating_System
Flash	I-Operating_System
Player	I-Operating_System
.	O
</s>
<s>
As	O
of	O
Chrome	B-Application
version	O
23	O
,	O
seccomp-bpf	B-Application
is	O
used	O
to	O
sandbox	O
the	O
renderers	O
.	O
</s>
<s>
vsf	B-Language
tpd	I-Language
uses	O
seccomp-bpf	B-Application
sandboxing	O
as	O
of	O
version	O
3.0.0	O
.	O
</s>
<s>
OpenSSH	B-Language
has	O
supported	O
seccomp-bpf	B-Application
since	O
version	O
6.0	O
.	O
</s>
<s>
Mbox	O
uses	O
ptrace	B-Operating_System
along	O
with	O
seccomp-bpf	B-Application
to	O
create	O
a	O
secure	O
sandbox	O
with	O
less	O
overhead	O
than	O
ptrace	B-Operating_System
alone	O
.	O
</s>
<s>
SydBox	O
uses	O
seccomp-bpf	B-Application
to	O
improve	O
the	O
runtime	O
and	O
security	O
of	O
the	O
ptrace	B-Operating_System
sandboxing	O
used	O
to	O
sandbox	O
package	O
builds	O
on	O
Exherbo	O
Linux	B-Operating_System
distribution	O
.	O
</s>
