Searched refs:namespace_flags_from_string (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-seccomp.c | 277 assert_se(namespace_flags_from_string("mnt", &ul) == 0 && ul == CLONE_NEWNS); in TEST() 278 assert_se(namespace_flags_from_string(NULL, &ul) == 0 && ul == 0); in TEST() 279 assert_se(namespace_flags_from_string("", &ul) == 0 && ul == 0); in TEST() 280 assert_se(namespace_flags_from_string("uts", &ul) == 0 && ul == CLONE_NEWUTS); in TEST() 281 …assert_se(namespace_flags_from_string("mnt uts ipc", &ul) == 0 && ul == (CLONE_NEWNS|CLONE_NEWUTS|… in TEST() 284 assert_se(namespace_flags_from_string(s, &ul) == 0 && ul == CLONE_NEWUTS); in TEST() 286 assert_se(namespace_flags_from_string("ipc", &ul) == 0 && ul == CLONE_NEWIPC); in TEST() 292 assert_se(namespace_flags_from_string(s, &ul) == 0 && ul == NAMESPACE_FLAGS_ALL); in TEST()
|
/systemd-251/src/shared/ |
D | nsflags.h | 21 int namespace_flags_from_string(const char *name, unsigned long *ret);
|
D | nsflags.c | 23 int namespace_flags_from_string(const char *name, unsigned long *ret) { in namespace_flags_from_string() function
|
D | bus-unit-util.c | 1480 r = namespace_flags_from_string(eq, &flags); in bus_append_execute_property()
|
/systemd-251/src/core/ |
D | load-fragment.c | 3675 r = namespace_flags_from_string(rvalue, &flags); in config_parse_restrict_namespaces()
|