diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-11-16 17:27:20 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-11-16 17:29:36 +0100 |
commit | 4e1a2cd537b5b910937499c544043ddac291843e (patch) | |
tree | 884bfa8fce2722a458bdd580cab745278e57eefd /src | |
parent | ed64976cec43f9f067a40fc6921b5513a19fd757 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6fc6220e0..b411b7de7 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -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); |