Lines Matching refs:mount_option_mangle
23 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()
69 … assert_se(mount_option_mangle("rw,relatime,fmask=0022,,,dmask=0022", MS_RDONLY, &f, &opts) == 0); in TEST()
74 …assert_se(mount_option_mangle("rw,relatime,fmask=0022,dmask=0022,\"hogehoge", MS_RDONLY, &f, &opts… in TEST()
76 …assert_se(mount_option_mangle("mode=1777,size=10%,nr_inodes=400k,uid=496107520,gid=496107520,conte… in TEST()