#define _GNU_SOURCE #include #include "syscall.h" int name_to_handle_at(int dirfd, const char *pathname, struct file_handle *handle, int *mount_id, int flags) { return syscall(SYS_name_to_handle_at, dirfd, pathname, handle, mount_id, flags); }