mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
0e92c213f5
Previously included file sys/capability.h mentioned in capset(2) man page, belongs to the libcap-dev package, which may not be installed on some Linux systems when compiling nginx. This prevented the capabilities feature from being detected and compiled on that systems. Now linux/capability.h system header is included instead. Since capset() declaration is located in sys/capability.h, now capset() syscall is defined explicitly in code using the SYS_capset constant, similarly to other Linux-specific features in nginx. |
||
---|---|---|
.. | ||
conf | ||
darwin | ||
freebsd | ||
linux | ||
solaris | ||
win32 |