| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
|
| 3 |
#include <sys/mount.h> |
| 4 |
|
| 5 |
#include "libc-shim.h" |
| 6 |
|
| 7 |
DEFINE_SYSCALL_SHIM(fsopen, int, |
| 8 |
const char *, fsname, |
| 9 |
unsigned, flags) |
| 10 |
|
| 11 |
DEFINE_SYSCALL_SHIM(fsmount, int, |
| 12 |
int, fd, |
| 13 |
unsigned, flags, |
| 14 |
unsigned, ms_flags) |
| 15 |
|
| 16 |
DEFINE_SYSCALL_SHIM(move_mount, int, |
| 17 |
int, from_dfd, |
| 18 |
const char *, from_pathname, |
| 19 |
int, to_dfd, |
| 20 |
const char *, to_pathname, |
| 21 |
unsigned, flags) |
| 22 |
|
| 23 |
DEFINE_SYSCALL_SHIM(fsconfig, int, |
| 24 |
int, fd, |
| 25 |
unsigned, cmd, |
| 26 |
const char *, key, |
| 27 |
const void *, value, |
| 28 |
int, aux) |
| 29 |
|
| 30 |
DEFINE_SYSCALL_SHIM(open_tree, int, |
| 31 |
int, dfd, |
| 32 |
const char *, filename, |
| 33 |
unsigned, flags) |
| 34 |
|
| 35 |
DEFINE_SYSCALL_SHIM(mount_setattr, int, |
| 36 |
int, dfd, |
| 37 |
const char *, path, |
| 38 |
unsigned, flags, |
| 39 |
struct mount_attr *, attr, |
| 40 |
size_t, size) |
| 41 |
|
| 42 |
DEFINE_SYSCALL_SHIM(open_tree_attr, int, |
| 43 |
int, dfd, |
| 44 |
const char *, filename, |
| 45 |
unsigned int, flags, |
| 46 |
struct mount_attr *, attr, |
| 47 |
size_t, size) |