seccomp: Forge return values for *chown32

These syscalls are only available in 32bit architectures, but libseccomp
should handle them correctly even if we're on native architectures that
do not have these syscalls.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-11-16 17:27:20 +01:00
parent ed64976cec
commit 4e1a2cd537
No known key found for this signature in database
GPG key ID: 1DE8E48E57DB5436

View file

@ -1654,6 +1654,10 @@ void setupSeccomp(void) {
}
#endif
FORCE_SUCCESS(chown32);
FORCE_SUCCESS(fchown32);
FORCE_SUCCESS(lchown32);
FORCE_SUCCESS(chown);
FORCE_SUCCESS(fchown);
FORCE_SUCCESS(fchownat);