kerndat: check whether the openat2 syscall is supported

Will use openat2 + RESOLVE_NO_XDEV to detect mountpoints.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov 2021-12-22 11:07:24 +03:00 committed by Andrei Vagin
parent 387f4652b3
commit cef8366f52
14 changed files with 79 additions and 1 deletions

View file

@ -40,6 +40,7 @@ struct rusage;
struct iocb;
struct pollfd;
struct clone_args;
struct open_how;
typedef unsigned long aio_context_t;