1 2# Copyright (C) Igor Sysoev 3# Copyright (C) NGINX, Inc. 4 5# Linux capability 6 7nxt_feature="Linux capability" 8nxt_feature_name=NXT_HAVE_LINUX_CAPABILITY 9nxt_feature_test="#include <linux/capability.h> 10 #include <unistd.h> 11 #include <sys/syscall.h> 12 13 int main() { 14 struct __user_cap_header_struct hdr; 15 hdr.version = _LINUX_CAPABILITY_VERSION; 16 syscall(SYS_capget, &hdr, 0); 17 return 0; 18 }" 19. auto/feature 20