Deleted
Added
isolation (1503:c21230ef5a0e) | isolation (2153:37bccff06c9f) |
---|---|
1# Copyright (C) Igor Sysoev 2# Copyright (C) NGINX, Inc. 3 4# Linux clone syscall. 5 6NXT_ISOLATION=NO 7NXT_HAVE_CLONE=NO 8NXT_HAVE_CLONE_NEWUSER=NO --- 7 unchanged lines hidden (view full) --- 16nxt_feature_name=NXT_HAVE_CLONE 17nxt_feature_run=no 18nxt_feature_incs= 19nxt_feature_libs= 20nxt_feature_test="#include <sys/wait.h> 21 #include <sys/syscall.h> 22 23 int main() { | 1# Copyright (C) Igor Sysoev 2# Copyright (C) NGINX, Inc. 3 4# Linux clone syscall. 5 6NXT_ISOLATION=NO 7NXT_HAVE_CLONE=NO 8NXT_HAVE_CLONE_NEWUSER=NO --- 7 unchanged lines hidden (view full) --- 16nxt_feature_name=NXT_HAVE_CLONE 17nxt_feature_run=no 18nxt_feature_incs= 19nxt_feature_libs= 20nxt_feature_test="#include <sys/wait.h> 21 #include <sys/syscall.h> 22 23 int main() { |
24 return __NR_clone | SIGCHLD; | 24 return SYS_clone | SIGCHLD; |
25 }" 26. auto/feature 27 28if [ $nxt_found = yes ]; then 29 NXT_HAVE_CLONE=YES 30 31 # Test all isolation flags 32 for flag in $nsflags; do --- 30 unchanged lines hidden (view full) --- 63nxt_feature="Linux pivot_root()" 64nxt_feature_name=NXT_HAVE_PIVOT_ROOT 65nxt_feature_run=no 66nxt_feature_incs= 67nxt_feature_libs= 68nxt_feature_test="#include <sys/syscall.h> 69 70 int main() { | 25 }" 26. auto/feature 27 28if [ $nxt_found = yes ]; then 29 NXT_HAVE_CLONE=YES 30 31 # Test all isolation flags 32 for flag in $nsflags; do --- 30 unchanged lines hidden (view full) --- 63nxt_feature="Linux pivot_root()" 64nxt_feature_name=NXT_HAVE_PIVOT_ROOT 65nxt_feature_run=no 66nxt_feature_incs= 67nxt_feature_libs= 68nxt_feature_test="#include <sys/syscall.h> 69 70 int main() { |
71 return __NR_pivot_root; | 71 return SYS_pivot_root; |
72 }" 73. auto/feature 74 75 76nxt_feature="prctl(PR_SET_NO_NEW_PRIVS)" 77nxt_feature_name=NXT_HAVE_PR_SET_NO_NEW_PRIVS0 78nxt_feature_run=no 79nxt_feature_incs= --- 92 unchanged lines hidden --- | 72 }" 73. auto/feature 74 75 76nxt_feature="prctl(PR_SET_NO_NEW_PRIVS)" 77nxt_feature_name=NXT_HAVE_PR_SET_NO_NEW_PRIVS0 78nxt_feature_run=no 79nxt_feature_incs= --- 92 unchanged lines hidden --- |