mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
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:
parent
ed64976cec
commit
4e1a2cd537
1 changed files with 4 additions and 0 deletions
|
@ -1654,6 +1654,10 @@ void setupSeccomp(void) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
FORCE_SUCCESS(chown32);
|
||||||
|
FORCE_SUCCESS(fchown32);
|
||||||
|
FORCE_SUCCESS(lchown32);
|
||||||
|
|
||||||
FORCE_SUCCESS(chown);
|
FORCE_SUCCESS(chown);
|
||||||
FORCE_SUCCESS(fchown);
|
FORCE_SUCCESS(fchown);
|
||||||
FORCE_SUCCESS(fchownat);
|
FORCE_SUCCESS(fchownat);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue