Searched refs:parse_syscall_and_errno (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-seccomp.c | 49 TEST(parse_syscall_and_errno) { in TEST() argument 53 assert_se(parse_syscall_and_errno("uname:EILSEQ", &n, &e) >= 0); in TEST() 58 assert_se(parse_syscall_and_errno("uname:EINVAL", &n, &e) >= 0); in TEST() 63 assert_se(parse_syscall_and_errno("@sync:4095", &n, &e) >= 0); in TEST() 69 assert_se(parse_syscall_and_errno("mount", &n, &e) >= 0); in TEST() 75 assert_se(parse_syscall_and_errno("hoge:255", &n, &e) >= 0); in TEST() 81 assert_se(parse_syscall_and_errno("hoge:0", &n, &e) >= 0); in TEST() 86 assert_se(parse_syscall_and_errno("hoge:kill", &n, &e) >= 0); in TEST() 92 assert_se(parse_syscall_and_errno("", &n, &e) == -EINVAL); in TEST() 93 assert_se(parse_syscall_and_errno(":255", &n, &e) == -EINVAL); in TEST() [all …]
|
/systemd-251/src/shared/ |
D | seccomp-util.h | 154 int parse_syscall_and_errno(const char *in, char **name, int *error);
|
D | seccomp-util.c | 2187 int parse_syscall_and_errno(const char *in, char **name, int *error) { in parse_syscall_and_errno() function
|
/systemd-251/src/core/ |
D | dbus-execute.c | 2448 r = parse_syscall_and_errno(*s, &n, &e); in bus_exec_context_set_transient_property()
|
D | load-fragment.c | 3372 r = parse_syscall_and_errno(word, &name, &num); in config_parse_syscall_filter()
|