Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 25 of 39) sorted by relevance

12

/systemd-251/src/basic/
Dmissing_syscall.h37 return syscall(__NR_pivot_root, new_root, put_old); in missing_pivot_root()
47 return syscall(__NR_ioprio_get, which, who); in missing_ioprio_get()
57 return syscall(__NR_ioprio_set, which, who, ioprio); in missing_ioprio_set()
68 return syscall(__NR_memfd_create, name, flags); in missing_memfd_create()
84 return syscall(__NR_getrandom, buffer, count, flags); in missing_getrandom()
100 return (pid_t) syscall(__NR_gettid); in missing_gettid()
120 return syscall(__NR_name_to_handle_at, fd, name, handle, mnt_id, flags); in missing_name_to_handle_at()
135 return syscall(__NR_setns, fd, nstype); in missing_setns()
149 return (pid_t) syscall(__NR_getxpid); in raw_getpid()
151 return (pid_t) syscall(__NR_getpid); in raw_getpid()
[all …]
Dmissing_syscalls.py131 def print_syscall_def(syscall, tables, out): argument
132 mappings = {f'nr_{arch}':t.get(syscall, -1)
134 print(DEF_TEMPLATE.format(syscall=syscall, **mappings),
149 for syscall in syscalls:
150 print_syscall_def(syscall, tables, out)
Draw-clone.h39 ret = (pid_t) syscall(__NR_clone, NULL, flags); in raw_clone()
72 ret = (pid_t) syscall(__NR_clone, flags, NULL); in raw_clone()
Draw-reboot.h13 return (int) syscall(SYS_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, arg); in raw_reboot()
Dmeson.build364 'update-syscall-tables',
367 syscall_list_txt = files('syscall-list.txt')
377 'update-syscall-header',
Dsyscall-list.txt551 syscall
Dsyscalls-alpha.txt551 syscall
Dsyscalls-arc.txt551 syscall
Dsyscalls-arm.txt551 syscall
Dsyscalls-arm64.txt551 syscall
Dsyscalls-i386.txt551 syscall
Dsyscalls-ia64.txt551 syscall
Dsyscalls-loongarch64.txt551 syscall
Dsyscalls-m68k.txt551 syscall
Dsyscalls-mips64.txt551 syscall
/systemd-251/src/analyze/
Danalyze-syscall-filter.c62 const char *syscall; in syscall_set_remove() local
67 NULSTR_FOREACH(syscall, set->value) { in syscall_set_remove()
68 if (syscall[0] == '@') in syscall_set_remove()
71 free(set_remove(s, syscall)); in syscall_set_remove()
76 const char *syscall; in dump_syscall_filter() local
85 NULSTR_FOREACH(syscall, set->value) in dump_syscall_filter()
86 … printf(" %s%s%s\n", syscall[0] == '@' ? ansi_underline() : "", syscall, ansi_normal()); in dump_syscall_filter()
134 STRV_FOREACH(syscall, l) in verb_syscall_filters()
135 printf("# %s\n", *syscall); in verb_syscall_filters()
156 STRV_FOREACH(syscall, l) in verb_syscall_filters()
[all …]
Dmeson.build34 'analyze-syscall-filter.c',
35 'analyze-syscall-filter.h',
Danalyze-security.c571 const char *syscall; in syscall_names_in_filter() local
573 NULSTR_FOREACH(syscall, f->value) { in syscall_names_in_filter()
576 if (syscall[0] == '@') { in syscall_names_in_filter()
579 assert_se(g = syscall_filter_set_find(syscall)); in syscall_names_in_filter()
587 id = seccomp_syscall_resolve_name(syscall); in syscall_names_in_filter()
591 if (hashmap_contains(s, syscall) != allow_list) { in syscall_names_in_filter()
592 log_debug("Offending syscall filter item: %s", syscall); in syscall_names_in_filter()
594 *ret_offending_syscall = syscall; in syscall_names_in_filter()
/systemd-251/docs/
DRELEASE.md14 5. Update syscall numbers (`ninja -C build update-syscall-tables update-syscall-header`).
/systemd-251/LICENSES/
DREADME.md29 Linux-syscall-note** and are used within the scope of the Linux-syscall-note
37 source tree and is licensed under either **MIT** or **GPL-2.0 WITH Linux-syscall-note**,
/systemd-251/shell-completion/zsh/
D_systemd-analyze32 _groups=( $(systemd-analyze --quiet --no-pager syscall-filter | grep '^@') )
33 _describe -t groups 'syscall groups' _groups || compadd "$@"
59 'syscall-filter:List syscalls in seccomp filters'
/systemd-251/tools/
Dupdate-syscall-tables.sh7 curl --fail -L -o syscall-list.txt 'https://raw.githubusercontent.com/hrw/syscalls-table/master/sys…
/systemd-251/shell-completion/bash/
Dsystemd-analyze45 systemd-analyze syscall-filter --no-pager | while IFS= read -r line; do
67 [SECCOMP_FILTER]='syscall-filter'
/systemd-251/src/test/
Dtest-seccomp.c387 assert_se(syscall(__NR__sysctl, NULL) < 0); in TEST()
401 assert_se(syscall(__NR__sysctl, 0, 0, 0) < 0); in TEST()
434 assert_se(syscall(__NR_syslog, -1, NULL, 0) < 0); in TEST()
441 assert_se(syscall(__NR_syslog, 0, 0, 0) < 0); in TEST()
980 return (int) syscall(__NR_open, path, flags, mode); in real_open()
/systemd-251/src/shared/
Dmeson.build350 generate_syscall_list = find_program('generate-syscall-list.py')
351 fname = 'syscall-list.h'

12