Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-seccomp.c277 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/
Dnsflags.h21 int namespace_flags_from_string(const char *name, unsigned long *ret);
Dnsflags.c23 int namespace_flags_from_string(const char *name, unsigned long *ret) { in namespace_flags_from_string() function
Dbus-unit-util.c1480 r = namespace_flags_from_string(eq, &flags); in bus_append_execute_property()
/systemd-251/src/core/
Dload-fragment.c3675 r = namespace_flags_from_string(rvalue, &flags); in config_parse_restrict_namespaces()