Home
last modified time | relevance | path

Searched refs:bind_remount_one_with_mountinfo (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-mount-util.c202 …assert_se(bind_remount_one_with_mountinfo("/run", MS_RDONLY, MS_RDONLY, proc_self_mountinfo) >= 0); in TEST()
203 …assert_se(bind_remount_one_with_mountinfo("/run", MS_NOEXEC, MS_RDONLY|MS_NOEXEC, proc_self_mounti… in TEST()
204 …assert_se(bind_remount_one_with_mountinfo("/proc/idontexist", MS_RDONLY, MS_RDONLY, proc_self_moun… in TEST()
205 …assert_se(bind_remount_one_with_mountinfo("/proc/self", MS_RDONLY, MS_RDONLY, proc_self_mountinfo)… in TEST()
206 … assert_se(bind_remount_one_with_mountinfo("/", MS_RDONLY, MS_RDONLY, proc_self_mountinfo) >= 0); in TEST()
/systemd-251/src/shared/
Dmount-util.h49 int bind_remount_one_with_mountinfo(const char *path, unsigned long new_flags, unsigned long flags_…
Dmount-util.c402 int bind_remount_one_with_mountinfo( in bind_remount_one_with_mountinfo() function
/systemd-251/src/core/
Dnamespace.c1533 …r = bind_remount_one_with_mountinfo(mount_entry_path(m), new_flags, flags_mask, proc_self_mountinf… in make_read_only()
1571 …r = bind_remount_one_with_mountinfo(mount_entry_path(m), new_flags, flags_mask, proc_self_mountinf… in make_noexec()
1593 …r = bind_remount_one_with_mountinfo(mount_entry_path(m), MS_NOSUID, MS_NOSUID, proc_self_mountinfo… in make_nosuid()