Home
last modified time | relevance | path

Searched refs:mount_option_mangle (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-mount-util.c23 TEST(mount_option_mangle) { in TEST() argument
27 assert_se(mount_option_mangle(NULL, MS_RDONLY|MS_NOSUID, &f, &opts) == 0); in TEST()
31 assert_se(mount_option_mangle("", MS_RDONLY|MS_NOSUID, &f, &opts) == 0); in TEST()
35 assert_se(mount_option_mangle("ro,nosuid,nodev,noexec", 0, &f, &opts) == 0); in TEST()
39 assert_se(mount_option_mangle("ro,nosuid,nodev,noexec,mode=755", 0, &f, &opts) == 0); in TEST()
44 assert_se(mount_option_mangle("rw,nosuid,foo,hogehoge,nodev,mode=755", 0, &f, &opts) == 0); in TEST()
49 …assert_se(mount_option_mangle("rw,nosuid,nodev,noexec,relatime,net_cls,net_prio", MS_RDONLY, &f, &… in TEST()
54 …assert_se(mount_option_mangle("rw,nosuid,nodev,relatime,size=1630748k,mode=700,uid=1000,gid=1000",… in TEST()
59 …assert_se(mount_option_mangle("size=1630748k,rw,gid=1000,,,nodev,relatime,,mode=700,nosuid,uid=100… in TEST()
64 …assert_se(mount_option_mangle("rw,exec,size=8143984k,nr_inodes=2035996,mode=755", MS_RDONLY|MS_NOS… in TEST()
[all …]
/systemd-251/src/shared/
Dmount-util.h90 int mount_option_mangle(
Dmount-util.c657 r = mount_option_mangle(options, flags, &f, &o); in mount_verbose_full()
708 int mount_option_mangle( in mount_option_mangle() function
/systemd-251/src/shutdown/
Dumount.c148 … r = mount_option_mangle(options, remount_flags, &remount_flags, &remount_options); in mount_points_list_get()
/systemd-251/src/core/
Dnamespace.c579 r = mount_option_mangle(str, MS_NODEV|MS_STRICTATIME, &flags, &o); in append_tmpfs_mounts()