]> git.ipfire.org Git - thirdparty/systemd.git/commit
seccomp: assume clone() arg order is known on all architectures
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 May 2017 03:10:30 +0000 (23:10 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 8 May 2017 00:01:04 +0000 (20:01 -0400)
commit511ceb1f8ddc4d78f49dee511ab849e9259e8d91
treeddaa963ef70e4df85229bcc85d7115340f5fcd95
parent4278d1f5310f5acb4c6a6788233625234edb5145
seccomp: assume clone() arg order is known on all architectures

While adding the defines for arm, I realized that we have pretty much all
known architectures covered, so SECCOMP_RESTRICT_NAMESPACES_BROKEN is not
necessary anymore. clone(2) is adamant that the order of the first two
arguments is only reversed on s390/s390x. So let's simplify things and remove
the #if.
src/shared/seccomp-util.c
src/shared/seccomp-util.h
src/test/test-seccomp.c