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