mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
missing-syscall: define MOVE_MOUNT_T_EMPTY_PATH if missing
MOVE_MOUNT_T_EMPTY_PATH has been added to systemd 250 by [1]
but it's defined in kernel headers since version 5.2.
[1] c7bf079bbc
This commit is contained in:
committed by
Yu Watanabe
parent
d13ce742e1
commit
608c3b0293
@@ -569,6 +569,10 @@ static inline int missing_open_tree(
|
||||
#define MOVE_MOUNT_F_EMPTY_PATH 0x00000004 /* Empty from path permitted */
|
||||
#endif
|
||||
|
||||
#ifndef MOVE_MOUNT_T_EMPTY_PATH
|
||||
#define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 /* Empty to path permitted */
|
||||
#endif
|
||||
|
||||
static inline int missing_move_mount(
|
||||
int from_dfd,
|
||||
const char *from_pathname,
|
||||
|
||||
Reference in New Issue
Block a user