unit/auto
Alejandro Colomar 418bc208d0 Rejecting non-Linux pivot_root(2).
Some non-Linux systems implement pivot_root(2), even if they
don't document that.  An example is MacOS:

$ grepc pivot_root / 2>/dev/null
.../sys/sysproto.h:3012:
int pivot_root(struct proc *, struct pivot_root_args *, int *);

Since the prototype of the syscall differs from that of Linux, we
can't use that syscall.  Let's make sure the test only detects
pivot_root(2) under Linux.  Also, rename the feature macro to make
clear that it's only about Linux's pivot_root(2).

This closes #737 issue on GitHub.
2022-08-02 19:50:10 +02:00
..
cc Using compiler capability to generate dependencies. 2017-12-01 16:28:06 +03:00
echo Fixed displaying "echo" program building failure. 2017-09-22 20:13:55 +03:00
modules Workarounded Clang bug triggered by Ruby. 2022-04-28 20:02:30 +02:00
os Printing version in "./configure" output. 2021-12-03 03:11:06 +03:00
atomic Macros for atomic 'OR' and 'AND' operations introduced. 2017-04-21 16:55:13 +03:00
capability Initial applications isolation support using Linux namespaces. 2019-09-19 15:25:23 +03:00
clang Added NXT_MAYBE_UNUSED for __attribute__((__unused__)). 2022-04-27 01:14:22 +02:00
events Initial version. 2017-01-17 20:00:00 +03:00
feature PHP: fixed building on MacOSX with --ld-opt= option. 2018-05-30 18:31:26 +03:00
files Static: support for openat2() features. 2021-04-29 22:04:34 +08:00
have Initial version. 2017-01-17 20:00:00 +03:00
help Added build system support for a man page. 2021-03-24 18:45:45 +03:00
isolation Rejecting non-Linux pivot_root(2). 2022-08-02 19:50:10 +02:00
make Introduced SCM_CREDENTIALS / SCM_CREDS in the socket control msgs. 2021-11-09 15:48:44 +03:00
malloc Checking mallopt() during configure. 2017-09-25 17:53:10 +03:00
mmap Initial version. 2017-01-17 20:00:00 +03:00
options Added build system support for a man page. 2021-03-24 18:45:45 +03:00
pcre Router: matching regular expressions support. 2020-11-17 15:03:30 +00:00
save Using disk file to store large request body. 2020-03-12 17:54:29 +03:00
sendfile Supporting platforms without sendfile() implementation. 2020-08-17 12:28:48 +03:00
shmem Added support for shm_open(SHM_ANON) extension. 2018-03-06 13:55:51 +00:00
sockets Removed unnecessary include. 2022-07-18 19:09:30 +02:00
sources Log: split access log from nxt_router.c. 2022-07-14 11:14:20 +08:00
ssltls Added TLS session tickets support. 2021-08-17 16:52:32 -07:00
summary Added build system support for a man page. 2021-03-24 18:45:45 +03:00
test_build Initial version. 2017-01-17 20:00:00 +03:00
threads Removed deprecated MacOSX OSSpinLockLock(). 2018-09-17 16:37:17 +03:00
time Better checking for shm_open() during configure. 2017-09-27 18:34:23 +03:00
types Initial version. 2017-01-17 20:00:00 +03:00
unix Removed code used when NXT_HAVE_POSIX_SPAWN is false. 2022-07-18 19:09:30 +02:00