diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-21 07:52:55 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-21 14:14:20 +0200 |
commit | 1c092b62dbbc36434ad421d683c92b8aeda5ebdb (patch) | |
tree | 4064ac79a7fa79e48f14c5c22f8ed8af4f706ba4 /src/basic/missing_mount.h | |
parent | nspawn: replace strextend_with_separator() -> strextendf_with_separator() (diff) | |
download | systemd-1c092b62dbbc36434ad421d683c92b8aeda5ebdb.tar.xz systemd-1c092b62dbbc36434ad421d683c92b8aeda5ebdb.zip |
mount-util: make mount_flags_to_string() show flag name instead of number
This also adds missing MS_NOSYMFOLLOW flag. Moreover, this makes the
function always add unhandled flags in number.
Diffstat (limited to 'src/basic/missing_mount.h')
-rw-r--r-- | src/basic/missing_mount.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/basic/missing_mount.h b/src/basic/missing_mount.h new file mode 100644 index 0000000000..c60acf041a --- /dev/null +++ b/src/basic/missing_mount.h @@ -0,0 +1,8 @@ +#pragma once + +#include <sys/mount.h> + +/* dab741e0e02bd3c4f5e2e97be74b39df2523fc6e (5.10) */ +#ifndef MS_NOSYMFOLLOW +#define MS_NOSYMFOLLOW 256 +#endif |