Initial applications isolation support using Linux namespaces.
This commit is contained in:
19
auto/capability
Normal file
19
auto/capability
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
# Copyright (C) Igor Sysoev
|
||||
# Copyright (C) NGINX, Inc.
|
||||
|
||||
# Linux capability
|
||||
|
||||
nxt_feature="Linux capability"
|
||||
nxt_feature_name=NXT_HAVE_LINUX_CAPABILITY
|
||||
nxt_feature_test="#include <linux/capability.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
int main() {
|
||||
struct __user_cap_header_struct hdr;
|
||||
hdr.version = _LINUX_CAPABILITY_VERSION;
|
||||
syscall(SYS_capget, &hdr, 0);
|
||||
return 0;
|
||||
}"
|
||||
. auto/feature
|
||||
Reference in New Issue
Block a user