diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-06-18 15:59:12 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-18 19:09:30 +0200 |
commit | 5015b05fc495bf3e87f8decfd1617a4a399939d4 (patch) | |
tree | c55a67d647c323f718f3ebcf4673bb49d9515567 /auto/isolation | |
parent | 0d15cbd5b6136d8a92a23895bd83eb322aa633ea (diff) | |
download | unit-5015b05fc495bf3e87f8decfd1617a4a399939d4.tar.gz unit-5015b05fc495bf3e87f8decfd1617a4a399939d4.tar.bz2 |
Replaced Linux syscall macros by libc macros.
User-space programs should use the SYS_*form, as documented in
syscall(2). That also adds compatibility to non-Linux systems.
Diffstat (limited to 'auto/isolation')
-rw-r--r-- | auto/isolation | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/isolation b/auto/isolation index fd35f8ed..4ade6a38 100644 --- a/auto/isolation +++ b/auto/isolation @@ -21,7 +21,7 @@ nxt_feature_test="#include <sys/wait.h> #include <sys/syscall.h> int main() { - return __NR_clone | SIGCHLD; + return SYS_clone | SIGCHLD; }" . auto/feature @@ -68,7 +68,7 @@ nxt_feature_libs= nxt_feature_test="#include <sys/syscall.h> int main() { - return __NR_pivot_root; + return SYS_pivot_root; }" . auto/feature |