Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ztdm: inhfd: handle child hanging #2251

Draft
wants to merge 192 commits into
base: criu-dev
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
823db1b
Add flog to CRIU
prakritigoyal19 Jun 7, 2020
1444b72
flog: Missing varargs init or cleanup (VARARGS)
adrianreber Sep 28, 2020
cc193dc
Run 'make indent' on 'flog/'
adrianreber Aug 4, 2021
1fa21a0
flog: typo: mmaped -> mmapped
kolyshkin Apr 7, 2022
7eaf7a3
flog: fix some codespell warnings
kolyshkin Mar 31, 2022
aed3f34
limit the field width of 'scanf'
Daz-3ux Mar 15, 2023
d6860d0
sk-inet: Add IP TOS socket option
h0lyalg0rithm Apr 12, 2023
0dd4668
zdtm: Add tests for ip tos restore
h0lyalg0rithm Apr 13, 2023
13eb876
dump: increase fcntl call failure judgment
hdzhoujie Apr 18, 2023
970c4ab
compel: support XSAVE on newer Intel CPUs
adrianreber Apr 24, 2023
1d4c5ed
ci: fix new codespell errors
adrianreber Apr 24, 2023
d98c533
scripts: make newer versions of shellcheck happy
adrianreber Apr 24, 2023
8e0697d
criu-ns: make --pidfile option show pid in caller pidns
Snorch Apr 25, 2023
806ee35
docs: rename amdgpu_plugin.txt to criu-amdgpu-plugin.txt
rst0git May 17, 2023
f57bda4
lib/c: add empty_ns interfaces to libcriu
adrianreber May 11, 2023
f308272
criu-ns: Add --criu-binary argument to run_criu()
warusadura Apr 4, 2023
38db5e1
criu-ns: Add support for older Python version in CI
warusadura Apr 17, 2023
8094df8
criu-ns: Add tests for criu-ns script
warusadura Mar 8, 2023
f0e9358
criu-ns: Install Python pathlib module in CentOS 7
warusadura May 22, 2023
9130fef
criu-ns: Update shebang line to python
warusadura May 22, 2023
358f09c
timers: improve and fix posix timer id sequence checks
KAGA-KOKO May 11, 2023
104a828
action-scripts: Add pre-stream hook
rst0git Apr 2, 2023
4d137b8
cgroup/restore: split prepare_task_cgroup code into two separate func…
valeriyvdovin Feb 9, 2021
af0e413
Fix dumping hugetlb-based memfd on kernels < 4.16.
osctobe May 29, 2023
11288c9
Fix mount(cgroup2) for older kernels.
osctobe May 31, 2023
9e6454f
Restore THP_DISABLE prctl.
osctobe Jun 2, 2023
7ca6856
Log if prctl(SET_THP_DISABLE) doesn't work as expected.
osctobe Jun 2, 2023
d3a33ca
zdtm: thp_disable: Output a single failure message
osctobe May 17, 2023
6006cb6
zdtm: thp_disable: Verify prctl(THP_DISABLE) migration
osctobe Jun 2, 2023
c75c017
zdtm: thp_disable: Verify MADV_NOHUGEPAGE before migration
osctobe Jun 2, 2023
c6ee1ba
Fill FPU init state if it's not provided by kernel.
osctobe Oct 13, 2021
9e2e560
compel/test: Return 0 in case of error in fdspy
ancientmodern Jun 15, 2023
3d4d943
Allow passing --leave_stopped by RPC.
osctobe Sep 16, 2022
161a5ff
Allow passing --display_stats via RPC.
mclapinski Sep 16, 2022
7f7b553
Allow passing --log_to_stderr via RPC.
mclapinski Sep 16, 2022
e55e168
zdtm: Allow overriding /tmp.
osctobe Apr 21, 2023
0bd5abe
zdtm: Add timeouts for test commands.
osctobe Apr 25, 2023
05f2319
zdtm: Allow --keep-going for single test.
osctobe May 22, 2023
e595787
zdtm: Implement test sharding.
osctobe May 29, 2023
9301aba
zdtm: sock_opts00: Improve error messages.
osctobe May 18, 2023
a2c4dd2
Allow skipping iptables/nftables invocation.
osctobe Sep 12, 2022
f018893
test/thp_disable: fix lint
rst0git Jun 18, 2023
e6427c5
sockets: Increase the size of sockets hashmap to 16K.
osctobe Jun 21, 2023
12290f4
pipes: Plug pipe fd leak in "Unable to set a pipe size" error case.
osctobe Jun 21, 2023
f5cd44f
kerndat: Make socket feature probing work on IPv6-only host.
osctobe Jun 21, 2023
1e90fc8
restore: remove unused `secbits` field.
osctobe Jun 22, 2023
aa6b633
build: Remove HAS_MEMFD test
osctobe Jun 20, 2022
2d76e4b
build: Debug system feature tests.
osctobe Jun 20, 2022
722a90c
build: Fix LIBS vs LDFLAGS order.
osctobe Jun 20, 2022
85f53bd
build: Use make-provided AR for building libzdtmtst.
osctobe Apr 21, 2023
eece28d
build: Guard against libbsd's version of `__aligned`.
osctobe Jun 20, 2022
0588c3b
build: libnfnetlink: Remove nla_get_s32().
osctobe Jun 22, 2023
b02d53a
action-scripts: allow shell scripts in rpc mode
rst0git Jun 24, 2023
cde9bcf
docker/podman: test c/r with action-script
rst0git Jun 24, 2023
8ba6efb
rpc: Support gathering external file list after freezing process tree.
osctobe Mar 31, 2022
6cfe7aa
rpc: Support setting images_dir by path.
osctobe Jun 22, 2023
fb8ca64
util: Downgrade ignored errors to warnings.
osctobe Jun 22, 2023
f0d1b89
kerndat: unexport kerndat_nsid()
osctobe Jun 22, 2023
a5939b0
kerndat: Don't fail on NETLINK/nsid support missing.
osctobe Jun 22, 2023
ba11426
util: Make CRIU run_id machine-level unique.
osctobe Dec 9, 2022
4c2b71c
zdtm: Update netns purpose comment in zdtm_ct.
osctobe Jun 19, 2023
3a932e9
readme: refactor asciinema link for video playback
Guleri24 Jul 6, 2023
42a5b64
ci: disable CentOS 7 test in Cirrus CI
rst0git Jun 20, 2023
f8466ca
ci: clean up CentOS 7 related tweaks
rst0git Jun 20, 2023
e9901cd
coredump: drop python 2 support
rst0git Jun 20, 2023
91edb5f
crit: drop python 2 support
rst0git Jun 20, 2023
02bd1bc
crit: add requirements.txt for pip>=20.1
rst0git Jun 18, 2023
c794f39
remove python-future dependency
rst0git Jun 21, 2023
5f4d92f
make: remove checks for python 2 binary
rst0git Jun 21, 2023
cc5742d
test/criu-ns: drop python 2 compatibility
rst0git Jun 22, 2023
a8cfec9
test/others: drop setup_swrk() py2 compatibility
rst0git Jun 22, 2023
460c4d2
lib/py: drop python 2 compatibility
rst0git Jun 22, 2023
75d9d68
zdtm: drop python 2 compatibility
rst0git Jun 22, 2023
b759678
cgroup: Propagate error on cgroup mount failure.
osctobe May 31, 2023
ce33c49
files-reg: Debug "open file on overmounted mount" error.
osctobe Dec 9, 2022
b42e7af
compel: Log the status word with "Task is still running" errors.
osctobe Jun 22, 2023
cf01c32
sk-unix: Log both peer names when failing on an external stream unix …
osctobe Jun 22, 2023
13c08b8
soccr: Log offset when failed to restore socket's queued data.
osctobe May 17, 2023
dc3f4b5
soccr: Log name of socket queue that failed to restore.
osctobe May 17, 2023
4d67f67
log: Remove error logs for ignored or otherwise logged subprocess exits.
osctobe May 22, 2023
fb149f7
mount: Demote fsnotify logs for ignored failures.
osctobe May 22, 2023
cf4b225
irmap: Reduce error log severity to warning.
osctobe Jun 22, 2023
a4bb3f9
kerndat: bind ipv6-socket only if ipv6 is enabled
yevzman Jul 6, 2023
a96aa58
zdtm: replace NR_fstat with NR_statx
znley Jul 7, 2023
935e60d
kerndat: don't leak a socket file descriptor
avagin Jul 7, 2023
2d6f04c
ci: add workflow to ensure self-contained commits
snprajwal Jul 1, 2023
f684719
include: add common header files for loongarch64
znley Jun 12, 2023
52630db
compel: add loongarch64 support
znley Jun 12, 2023
521383d
images: add loongarch64 core image
znley Jun 12, 2023
95fbd7e
criu: add loongarch64 support to parasite and restorer
znley Jun 12, 2023
c941282
zdtm: add loongarch64 support
znley Jun 12, 2023
f70c782
ci: add workflow for loongarch64
znley Jul 11, 2023
9f69484
util: Implement fchown() and fchmod() wrappers.
osctobe Jun 21, 2023
923e66b
sk-unix: Avoid restore_file_perms() EPERM error for no-op changes.
osctobe Jun 21, 2023
5f214bc
files-reg: Avoid EPERM in ghost_apply_metadata() for no-op changes.
osctobe Jun 21, 2023
6e23125
cgroup: Replace restore_perms() with cr_fchperm().
osctobe Jun 21, 2023
00d061b
memfd: Avoid EPERM for no-op chown().
osctobe Jun 21, 2023
e90fbd7
tty: Avoid EPERM for no-op chown().
osctobe Jun 21, 2023
b9f360b
restore: Avoid need for CAP_SETPCAP if not changing uids.
osctobe Jun 21, 2023
53dd6ba
restore: Skip setgroups() when already correct.
osctobe Jun 21, 2023
ff67ad8
restore: Fix capability migration requirements between different kern…
osctobe Jun 21, 2023
6bad5d2
prctl: Migrate prctl(NO_NEW_PRIVS) setting.
osctobe Jun 22, 2023
d490218
prctl: test prctl(NO_NEW_PRIVS) setting
osctobe Jul 19, 2023
988a5f4
restore: Skip dropping BSET capability if irrelevant.
osctobe Jul 25, 2023
cc500d9
sk-inet: Extend 'TCP repair off' failure log.
osctobe May 22, 2023
f2d9672
memfd: dump and restore permissions.
osctobe Jul 27, 2023
88249fe
zdtm/memfd00: test memfd file mode
osctobe Jul 27, 2023
9118601
apparmor: fix incorrect usage of sizeof on char ptr
ancientmodern Aug 2, 2023
1db922f
page-xfer: Pull tcp_cork,nodelay().
osctobe Jul 31, 2023
72494ed
irmap: scan user-provided paths in order
osctobe Aug 1, 2023
242de4e
amdgpu_plugin: remove duplicated log prefix
rst0git Aug 7, 2023
6fc5bc6
scripts/apt: don't hide apt output
avagin Aug 7, 2023
2199220
ci/docker: install all required packages
avagin Aug 7, 2023
e1cda9f
lib/py: add VMA_AREA_MEMFD constant
rst0git Aug 13, 2023
288d6a6
loongarch64: reformat syscall_64.tbl for 8-wide tabs
avagin Aug 21, 2023
2f50da4
dump+restore: Implement membarrier() registration c/r.
osctobe Oct 6, 2022
b5c3ccc
zdtm: membarrier: test migration of membarrier() registration
osctobe Jun 19, 2023
5fedcaa
Put a cap on the size of single preadv in restore operation.
osctobe Aug 9, 2023
649292c
github: auto-remove `changes requested` and `awaiting reply` labels
avagin Aug 20, 2023
942b5fd
loongarch64: fix syscall_64.tbl
avagin Aug 24, 2023
359b257
memfd: don't set fd attributes not needed for vma mapping
osctobe Aug 24, 2023
675c5e4
ci/loongarch64: compile tests before running zdtm.py
avagin Aug 24, 2023
af31e8e
kerndat: Make pagemap check more robust against swapped out pages.
osctobe Aug 24, 2023
38baf73
compel/infect: include the relevant pid in "no-breakpoints restore" d…
osctobe Aug 22, 2023
ba27d27
proc_parse: remove trivial goto from vma_get_mapfile_user()
osctobe Aug 25, 2023
2df6ec5
test/other: add test for action-script
rst0git Mar 23, 2023
92b96a5
proc_parse: Log smaps entry while dumping VMA.
osctobe Aug 24, 2023
a04fac5
kerndat: Make errors from clone3() check more precise.
osctobe Aug 24, 2023
d0f88ff
kerndat: check_pagemap: close(fd) on error path
osctobe Aug 28, 2023
6d0e785
kerndat: check_pagemap: reword retried case explanation
osctobe Aug 28, 2023
e0d13ef
memfd: return original memfd fd for execveat()
osctobe Jul 27, 2023
a652c68
zdtm: test execveat(memfd)
osctobe Jul 27, 2023
959a32d
CONTRIBUTING.md: don't mention ctags
Snorch Aug 29, 2023
75146b0
CONTRIBUTING.md: improve coding-style related sections
Snorch Aug 29, 2023
03541c0
lint: don't fail workflow on indent fail
Snorch Aug 24, 2023
1df618a
vagrant: update to version 2.3.7
rst0git May 20, 2023
82bfb67
vagrant: run tests with fedora 38
rst0git May 20, 2023
4b7287b
dump: use MEMBARRIER_CMD_GET_REGISTRATIONS when available
mclapinski Sep 8, 2023
d752479
zdtm: test MEMBARRIER_CMD_GLOBAL_EXPEDITED migration
mclapinski Sep 13, 2023
f043f53
criu/plugin: Add environment variable to cap size of buffers.
fdavid-amd Apr 25, 2023
4766ffa
compel: Add support for ppc64le scv syscalls
ymanton Aug 31, 2023
4ae1518
lib/pycriu: generate version.py
rst0git Apr 25, 2023
b8b2fe6
crit/setup.py: use __version__ from pycriu
rst0git Apr 25, 2023
150eecc
py/cli: add --version option
rst0git Apr 25, 2023
5e37ccf
ci: stop testing ubuntu overlayfs
avagin Sep 23, 2023
1a6c015
zdtm: If ignoring kernel taint, also ignore taint changes.
osctobe May 29, 2023
f74140c
zdtm: cgroup04: Improve error messages.
osctobe May 30, 2023
66369f9
zdtm: cgroup04: Improve skip check's robustness.
osctobe May 31, 2023
87c42d5
zdtm: Treat ESRCH from kill() as success.
osctobe Apr 21, 2023
a056519
zdtm: socket_udp_shutdown: Make the test fail instead of timing out.
osctobe May 31, 2023
8b5f3af
zdtm: check userns once
avagin Sep 27, 2023
1e4f5fb
Return page size as unsigned long
yota9 Jun 20, 2023
4f0c07f
vma: Add !VVAR condition to vma_entry_can_be_lazy
yota9 Jun 20, 2023
5de9040
criu: change the comment about magic numbers
mclapinski Sep 29, 2023
f832d87
plugins: the UPDATE_VMA_MAP callback returns fd with the full control
avagin Sep 29, 2023
25f685e
amdgpu: don't leak fd on an error path in open_img_file
avagin Sep 29, 2023
01d559d
amdgpu: print an error if the dup syscall fails
avagin Sep 29, 2023
f593257
ci: enable build with amdgpu plugin
rst0git Sep 30, 2023
2ff90f0
amdgpu: fix clang warnings
rst0git Oct 1, 2023
f54cf19
memfd: don't reopen file descriptors for memory mappings
avagin Sep 22, 2023
c20fb83
zdtm/memfd04: check execveat on memfd that has memory mappings
avagin Sep 28, 2023
5bf7652
clang-format: disable column limit constraint
Snorch Aug 30, 2023
e3391ed
pie: Mark __export_*() functions as externally_visible
0x7f454c46 Feb 14, 2022
24e2492
util: allow to run criu under strace
avagin Sep 28, 2023
4e5247a
tun: don't parse buffers that have not been filled with data
avagin Oct 5, 2023
3015aad
apparmor: remove the redundant check
Mar 28, 2023
9e05b65
arch/x86: remove the redundant check
Mar 28, 2023
06a3f13
zdtm/cow00: fix typo
Mar 28, 2023
c03c737
zdtm/thread_different_uid_gid: remove the redundant check
Mar 28, 2023
ab73a84
criu/proc_parse: refactor the eventpoll parser
Mar 28, 2023
811a380
files-reg: don't change the file pos in get_build_id
mclapinski Oct 11, 2023
d9ca0c7
zdtm/lib: add missing signal.h header
mclapinski Oct 11, 2023
42c1c84
zdtm/static: test the offset migration of ELF files
mclapinski Oct 11, 2023
711775f
zdtm: cgroup_ifpriomap: Improve skip check's robustness.
osctobe May 31, 2023
df24fe8
lib: use separate packages for pycriu and crit
rst0git Oct 9, 2023
c474816
Makefile: introduce ARCHCFLAGS for arch specific cflags
marcusfolkesson Oct 20, 2023
d88dcef
comple: correct the syscall number of bind on ARM64
SallyKAN Nov 27, 2023
5e56756
ci: fix rawhide netlink error
adrianreber Nov 29, 2023
4213f16
test: check for btrfs in the current directory
adrianreber Nov 29, 2023
9d3e71a
ci: switch to permissive selinux mode during test
adrianreber Nov 29, 2023
b17a73b
ci: fix codespell errors
avagin Nov 21, 2023
95975e0
docker-test: fix condition for max tries
rst0git Nov 28, 2023
0da1ab2
docker-test: downgrade docker to v24.0.7
rst0git Nov 29, 2023
378da3b
Makefile: Use common warnings settings for loongarch64
iv-m Dec 6, 2023
dc49eb4
tty: skip ioctl(TIOCSLCKTRMIOS) if possible
mihalicyn Dec 8, 2023
1573064
ci: do not use 'tail' for skip-file-rwx-check test
adrianreber Nov 30, 2023
561f845
ci: fix centos-stream 9 ci errors
adrianreber Nov 30, 2023
e7aca13
ci: disable non-root in user namespace test in container
adrianreber Nov 30, 2023
61224f2
gitignore: remove historical left-over files
rst0git Oct 20, 2023
50aa6da
make: fix compilation on alpine
avagin Dec 28, 2023
cda1c5c
irmap: hardcode some more interesting paths
rayrapetyan Jan 7, 2024
974f9cc
ztdm: inhfd: handle child hanging
osctobe Aug 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
loongarch64: fix syscall_64.tbl
The 288d6a6 change broke all the syscall numbers.

Reported-by: Michał Mirosław <emmir@google.com>
Fixes: (288d6a6 "loongarch64: reformat syscall_64.tbl for 8-wide tabs")
Signed-off-by: Andrei Vagin <avagin@gmail.com>
  • Loading branch information
avagin committed Aug 24, 2023
commit 942b5fdcc6f12b08fbd496f0f5a08b807f224b94
210 changes: 105 additions & 105 deletions compel/arch/loongarch64/plugins/std/syscalls/syscall_64.tbl
Original file line number Diff line number Diff line change
@@ -8,111 +8,111 @@
__NR_io_setup 0 sys_io_setup (unsigned nr_events, aio_context_t *ctx)
__NR_io_submit 2 sys_io_submit (aio_context_t ctx, long nr, struct iocb **iocbpp)
__NR_io_getevents 4 sys_io_getevents (aio_context_t ctx, long min_nr, long nr, struct io_event *evs, struct timespec *tmo)
__NR_fcntl 2 sys_fcntl (int fd, int type, long arg)
__NR_ioctl 2 sys_ioctl (unsigned int fd, unsigned int cmd, unsigned long arg)
__NR_flock 3 sys_flock (int fd, unsigned long cmd)
__NR_mkdirat 3 sys_mkdirat (int dfd, const char *pathname, int flag)
__NR_unlinkat 3 sys_unlinkat (int dfd, const char *pathname, int flag)
__NR_umount2 3 sys_umount2 (char *name, int flags)
__NR_mount 4 sys_mount (char *dev_nmae, char *dir_name, char *type, unsigned long flags, void *data)
__NR_fallocate 4 sys_fallocate (int fd, int mode, loff_t offset, loff_t len)
__NR_close 5 sys_close (int fd)
__NR_openat 5 sys_openat (int dfd, const char *filename, int flags, int mode)
__NR_lseek 6 sys_lseek (int fd, unsigned long offset, unsigned long origin)
__NR_read 6 sys_read (int fd, void *buf, unsigned long count)
__NR_write 6 sys_write (int fd, const void *buf, unsigned long count)
__NR_pread64 6 sys_pread (unsigned int fd, char *buf, size_t count, loff_t pos)
__NR_preadv 6 sys_preadv_raw (int fd, struct iovec *iov, unsigned long nr, unsigned long pos_l, unsigned long pos_h)
__NR_ppoll 7 sys_ppoll (struct pollfd *fds, unsigned int nfds, const struct timespec *tmo, const sigset_t *sigmask, size_t sigsetsize)
__NR_signalfd4 7 sys_signalfd (int fd, k_rtsigset_t *mask, size_t sizemask, int flags)
__NR_vmsplice 7 sys_vmsplice (int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags)
__NR_readlinkat 7 sys_readlinkat (int fd, const char *path, char *buf, int bufsize)
__NR_timerfd_settime 8 sys_timerfd_settime (int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr)
__NR_capget 9 sys_capget (struct cap_header *h, struct cap_data *d)
__NR_capset 9 sys_capset (struct cap_header *h, struct cap_data *d)
__NR_personality 9 sys_personality (unsigned int personality)
__NR_exit 9 sys_exit (unsigned long error_code)
__NR_exit_group 9 sys_exit_group (int error_code)
__NR_waitid 9 sys_waitid (int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
__NR_set_tid_address 9 sys_set_tid_address (int *tid_addr)
__NR_futex 9 sys_futex (uint32_t *uaddr, int op, uint32_t val, struct timespec *utime, uint32_t *uaddr2, uint32_t val3)
__NR_set_robust_list 9 sys_set_robust_list (struct robust_list_head *head, size_t len)
__NR_get_robust_list 1 sys_get_robust_list (int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
__NR_nanosleep 1 sys_nanosleep (struct timespec *req, struct timespec *rem)
__NR_getitimer 1 sys_getitimer (int which, const struct itimerval *val)
__NR_setitimer 1 sys_setitimer (int which, const struct itimerval *val, struct itimerval *old)
__NR_sys_timer_create 1 sys_timer_create (clockid_t which_clock, struct sigevent *timer_event_spec, kernel_timer_t *created_timer_id)
__NR_sys_timer_gettime 1 sys_timer_gettime (int timer_id, const struct itimerspec *setting)
__NR_sys_timer_getoverrun 1 sys_timer_getoverrun (int timer_id)
__NR_sys_timer_settime 1 sys_timer_settime (kernel_timer_t timer_id, int flags, const struct itimerspec *new_setting, struct itimerspec *old_setting)
__NR_sys_timer_delete 1 sys_timer_delete (kernel_timer_t timer_id)
__NR_clock_gettime 1 sys_clock_gettime (const clockid_t which_clock, const struct timespec *tp)
__NR_sched_setscheduler 1 sys_sched_setscheduler (int pid, int policy, struct sched_param *p)
__NR_restart_syscall 1 sys_restart_syscall (void)
__NR_kill 1 sys_kill (long pid, int sig)
__NR_sigaltstack 1 sys_sigaltstack (const void *uss, void *uoss)
__NR_rt_sigaction 1 sys_sigaction (int signum, const rt_sigaction_t *act, rt_sigaction_t *oldact, size_t sigsetsize)
__NR_rt_sigprocmask 1 sys_sigprocmask (int how, k_rtsigset_t *set, k_rtsigset_t *old, size_t sigsetsize)
__NR_rt_sigqueueinfo 1 sys_rt_sigqueueinfo (pid_t pid, int sig, siginfo_t *info)
__NR_rt_sigreturn 1 sys_rt_sigreturn (void)
__NR_setpriority 1 sys_setpriority (int which, int who, int nice)
__NR_setresuid 1 sys_setresuid (int uid, int euid, int suid)
__NR_getresuid 1 sys_getresuid (int *uid, int *euid, int *suid)
__NR_setresgid 1 sys_setresgid (int gid, int egid, int sgid)
__NR_getresgid 1 sys_getresgid (int *gid, int *egid, int *sgid)
__NR_getpgid 1 sys_getpgid (pid_t pid)
__NR_setfsuid 1 sys_setfsuid (int fsuid)
__NR_setfsgid 1 sys_setfsgid (int fsgid)
__NR_getsid 1 sys_getsid (void)
__NR_getgroups 1 sys_getgroups (int gsize, unsigned int *groups)
__NR_setgroups 1 sys_setgroups (int gsize, unsigned int *groups)
__NR_setrlimit 1 sys_setrlimit (int resource, struct krlimit *rlim)
__NR_umask 1 sys_umask (int mask)
__NR_prctl 1 sys_prctl (int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
__NR_gettimeofday 1 sys_gettimeofday (struct timeval *tv, struct timezone *tz)
__NR_getpid 1 sys_getpid (void)
__NR_ptrace 1 sys_ptrace (long request, pid_t pid, void *addr, void *data)
__NR_gettid 1 sys_gettid (void)
__NR_shmat 1 sys_shmat (int shmid, void *shmaddr, int shmflag)
__NR_socket 1 sys_socket (int domain, int type, int protocol)
__NR_bind 2 sys_bind (int sockfd, const struct sockaddr *addr, int addrlen)
__NR_connect 2 sys_connect (int sockfd, struct sockaddr *addr, int addrlen)
__NR_sendto 2 sys_sendto (int sockfd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len)
__NR_recvfrom 2 sys_recvfrom (int sockfd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
__NR_setsockopt 2 sys_setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen)
__NR_getsockopt 2 sys_getsockopt (int sockfd, int level, int optname, const void *optval, socklen_t *optlen)
__NR_shutdown 2 sys_shutdown (int sockfd, int how)
__NR_sendmsg 2 sys_sendmsg (int sockfd, const struct msghdr *msg, int flags)
__NR_recvmsg 2 sys_recvmsg (int sockfd, struct msghdr *msg, int flags)
__NR_brk 2 sys_brk (void *addr)
__NR_munmap 2 sys_munmap (void *addr, unsigned long len)
__NR_mremap 2 sys_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr)
__NR_clone 2 sys_clone (unsigned long flags, void *child_stack, void *parent_tid, unsigned long newtls, void *child_tid)
__NR_mmap 2 sys_mmap (void *addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset)
__NR_mprotect 2 sys_mprotect (const void *addr, unsigned long len, unsigned long prot)
__NR_mincore 2 sys_mincore (void *addr, unsigned long size, unsigned char *vec)
__NR_madvise 2 sys_madvise (unsigned long start, size_t len, int behavior)
__NR_rt_tgsigqueueinfo 2 sys_rt_tgsigqueueinfo (pid_t tgid, pid_t pid, int sig, siginfo_t *info)
__NR_wait4 2 sys_wait4 (int pid, int *status, int options, struct rusage *ru)
__NR_fanotify_init 2 sys_fanotify_init (unsigned int flags, unsigned int event_f_flags)
__NR_fanotify_mark 2 sys_fanotify_mark (int fanotify_fd, unsigned int flags, uint64_t mask, int dfd, const char *pathname)
__NR_open_by_handle_at 2 sys_open_by_handle_at (int mountdirfd, struct file_handle *handle, int flags)
__NR_setns 2 sys_setns (int fd, int nstype)
__NR_kcmp 2 sys_kcmp (pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2)
__NR_seccomp 2 sys_seccomp (unsigned int op, unsigned int flags, const char *uargs)
__NR_memfd_create 2 sys_memfd_create (const char *name, unsigned int flags)
__NR_userfaultfd 2 sys_userfaultfd (int flags)
__NR_membarrier 3 sys_membarrier (int cmd, unsigned int flags, int cpu_id)
__NR_rseq 2 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
__NR_open_tree 4 sys_open_tree (int dirfd, const char *pathname, unsigned int flags)
__NR_move_mount 4 sys_move_mount (int from_dfd, const char *from_pathname, int to_dfd, const char *to_pathname, int flags)
__NR_fsopen 4 sys_fsopen (char *fsname, unsigned int flags)
__NR_fsconfig 4 sys_fsconfig (int fd, unsigned int cmd, const char *key, const char *value, int aux)
__NR_fsmount 4 sys_fsmount (int fd, unsigned int flags, unsigned int attr_flags)
__NR_pidfd_open 4 sys_pidfd_open (pid_t pid, unsigned int flags)
__NR_clone3 4 sys_clone3 (struct clone_args *uargs, size_t size)
__NR_openat2 4 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
__NR_pidfd_getfd 4 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
__NR_fcntl 25 sys_fcntl (int fd, int type, long arg)
__NR_ioctl 29 sys_ioctl (unsigned int fd, unsigned int cmd, unsigned long arg)
__NR_flock 32 sys_flock (int fd, unsigned long cmd)
__NR_mkdirat 34 sys_mkdirat (int dfd, const char *pathname, int flag)
__NR_unlinkat 35 sys_unlinkat (int dfd, const char *pathname, int flag)
__NR_umount2 39 sys_umount2 (char *name, int flags)
__NR_mount 40 sys_mount (char *dev_nmae, char *dir_name, char *type, unsigned long flags, void *data)
__NR_fallocate 47 sys_fallocate (int fd, int mode, loff_t offset, loff_t len)
__NR_close 57 sys_close (int fd)
__NR_openat 56 sys_openat (int dfd, const char *filename, int flags, int mode)
__NR_lseek 62 sys_lseek (int fd, unsigned long offset, unsigned long origin)
__NR_read 63 sys_read (int fd, void *buf, unsigned long count)
__NR_write 64 sys_write (int fd, const void *buf, unsigned long count)
__NR_pread64 67 sys_pread (unsigned int fd, char *buf, size_t count, loff_t pos)
__NR_preadv 69 sys_preadv_raw (int fd, struct iovec *iov, unsigned long nr, unsigned long pos_l, unsigned long pos_h)
__NR_ppoll 73 sys_ppoll (struct pollfd *fds, unsigned int nfds, const struct timespec *tmo, const sigset_t *sigmask, size_t sigsetsize)
__NR_signalfd4 74 sys_signalfd (int fd, k_rtsigset_t *mask, size_t sizemask, int flags)
__NR_vmsplice 75 sys_vmsplice (int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags)
__NR_readlinkat 78 sys_readlinkat (int fd, const char *path, char *buf, int bufsize)
__NR_timerfd_settime 86 sys_timerfd_settime (int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr)
__NR_capget 90 sys_capget (struct cap_header *h, struct cap_data *d)
__NR_capset 91 sys_capset (struct cap_header *h, struct cap_data *d)
__NR_personality 92 sys_personality (unsigned int personality)
__NR_exit 93 sys_exit (unsigned long error_code)
__NR_exit_group 94 sys_exit_group (int error_code)
__NR_waitid 95 sys_waitid (int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
__NR_set_tid_address 96 sys_set_tid_address (int *tid_addr)
__NR_futex 98 sys_futex (uint32_t *uaddr, int op, uint32_t val, struct timespec *utime, uint32_t *uaddr2, uint32_t val3)
__NR_set_robust_list 99 sys_set_robust_list (struct robust_list_head *head, size_t len)
__NR_get_robust_list 100 sys_get_robust_list (int pid, struct robust_list_head **head_ptr, size_t *len_ptr)
__NR_nanosleep 101 sys_nanosleep (struct timespec *req, struct timespec *rem)
__NR_getitimer 102 sys_getitimer (int which, const struct itimerval *val)
__NR_setitimer 103 sys_setitimer (int which, const struct itimerval *val, struct itimerval *old)
__NR_sys_timer_create 107 sys_timer_create (clockid_t which_clock, struct sigevent *timer_event_spec, kernel_timer_t *created_timer_id)
__NR_sys_timer_gettime 108 sys_timer_gettime (int timer_id, const struct itimerspec *setting)
__NR_sys_timer_getoverrun 109 sys_timer_getoverrun (int timer_id)
__NR_sys_timer_settime 110 sys_timer_settime (kernel_timer_t timer_id, int flags, const struct itimerspec *new_setting, struct itimerspec *old_setting)
__NR_sys_timer_delete 111 sys_timer_delete (kernel_timer_t timer_id)
__NR_clock_gettime 113 sys_clock_gettime (const clockid_t which_clock, const struct timespec *tp)
__NR_sched_setscheduler 119 sys_sched_setscheduler (int pid, int policy, struct sched_param *p)
__NR_restart_syscall 128 sys_restart_syscall (void)
__NR_kill 129 sys_kill (long pid, int sig)
__NR_sigaltstack 132 sys_sigaltstack (const void *uss, void *uoss)
__NR_rt_sigaction 134 sys_sigaction (int signum, const rt_sigaction_t *act, rt_sigaction_t *oldact, size_t sigsetsize)
__NR_rt_sigprocmask 135 sys_sigprocmask (int how, k_rtsigset_t *set, k_rtsigset_t *old, size_t sigsetsize)
__NR_rt_sigqueueinfo 138 sys_rt_sigqueueinfo (pid_t pid, int sig, siginfo_t *info)
__NR_rt_sigreturn 139 sys_rt_sigreturn (void)
__NR_setpriority 140 sys_setpriority (int which, int who, int nice)
__NR_setresuid 147 sys_setresuid (int uid, int euid, int suid)
__NR_getresuid 148 sys_getresuid (int *uid, int *euid, int *suid)
__NR_setresgid 149 sys_setresgid (int gid, int egid, int sgid)
__NR_getresgid 150 sys_getresgid (int *gid, int *egid, int *sgid)
__NR_getpgid 155 sys_getpgid (pid_t pid)
__NR_setfsuid 151 sys_setfsuid (int fsuid)
__NR_setfsgid 152 sys_setfsgid (int fsgid)
__NR_getsid 156 sys_getsid (void)
__NR_getgroups 158 sys_getgroups (int gsize, unsigned int *groups)
__NR_setgroups 159 sys_setgroups (int gsize, unsigned int *groups)
__NR_setrlimit 164 sys_setrlimit (int resource, struct krlimit *rlim)
__NR_umask 166 sys_umask (int mask)
__NR_prctl 167 sys_prctl (int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
__NR_gettimeofday 169 sys_gettimeofday (struct timeval *tv, struct timezone *tz)
__NR_getpid 172 sys_getpid (void)
__NR_ptrace 177 sys_ptrace (long request, pid_t pid, void *addr, void *data)
__NR_gettid 178 sys_gettid (void)
__NR_shmat 196 sys_shmat (int shmid, void *shmaddr, int shmflag)
__NR_socket 198 sys_socket (int domain, int type, int protocol)
__NR_bind 200 sys_bind (int sockfd, const struct sockaddr *addr, int addrlen)
__NR_connect 203 sys_connect (int sockfd, struct sockaddr *addr, int addrlen)
__NR_sendto 206 sys_sendto (int sockfd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len)
__NR_recvfrom 207 sys_recvfrom (int sockfd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
__NR_setsockopt 208 sys_setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen)
__NR_getsockopt 209 sys_getsockopt (int sockfd, int level, int optname, const void *optval, socklen_t *optlen)
__NR_shutdown 210 sys_shutdown (int sockfd, int how)
__NR_sendmsg 211 sys_sendmsg (int sockfd, const struct msghdr *msg, int flags)
__NR_recvmsg 212 sys_recvmsg (int sockfd, struct msghdr *msg, int flags)
__NR_brk 214 sys_brk (void *addr)
__NR_munmap 215 sys_munmap (void *addr, unsigned long len)
__NR_mremap 216 sys_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr)
__NR_clone 220 sys_clone (unsigned long flags, void *child_stack, void *parent_tid, unsigned long newtls, void *child_tid)
__NR_mmap 222 sys_mmap (void *addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset)
__NR_mprotect 226 sys_mprotect (const void *addr, unsigned long len, unsigned long prot)
__NR_mincore 232 sys_mincore (void *addr, unsigned long size, unsigned char *vec)
__NR_madvise 233 sys_madvise (unsigned long start, size_t len, int behavior)
__NR_rt_tgsigqueueinfo 240 sys_rt_tgsigqueueinfo (pid_t tgid, pid_t pid, int sig, siginfo_t *info)
__NR_wait4 260 sys_wait4 (int pid, int *status, int options, struct rusage *ru)
__NR_fanotify_init 262 sys_fanotify_init (unsigned int flags, unsigned int event_f_flags)
__NR_fanotify_mark 263 sys_fanotify_mark (int fanotify_fd, unsigned int flags, uint64_t mask, int dfd, const char *pathname)
__NR_open_by_handle_at 265 sys_open_by_handle_at (int mountdirfd, struct file_handle *handle, int flags)
__NR_setns 268 sys_setns (int fd, int nstype)
__NR_kcmp 272 sys_kcmp (pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2)
__NR_seccomp 277 sys_seccomp (unsigned int op, unsigned int flags, const char *uargs)
__NR_memfd_create 279 sys_memfd_create (const char *name, unsigned int flags)
__NR_userfaultfd 282 sys_userfaultfd (int flags)
__NR_membarrier 283 sys_membarrier (int cmd, unsigned int flags, int cpu_id)
__NR_rseq 293 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
__NR_open_tree 428 sys_open_tree (int dirfd, const char *pathname, unsigned int flags)
__NR_move_mount 429 sys_move_mount (int from_dfd, const char *from_pathname, int to_dfd, const char *to_pathname, int flags)
__NR_fsopen 430 sys_fsopen (char *fsname, unsigned int flags)
__NR_fsconfig 431 sys_fsconfig (int fd, unsigned int cmd, const char *key, const char *value, int aux)
__NR_fsmount 432 sys_fsmount (int fd, unsigned int flags, unsigned int attr_flags)
__NR_pidfd_open 434 sys_pidfd_open (pid_t pid, unsigned int flags)
__NR_clone3 435 sys_clone3 (struct clone_args *uargs, size_t size)
__NR_openat2 437 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
__NR_pidfd_getfd 438 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
#__NR_dup2 ! sys_dup2 (int oldfd, int newfd)
#__NR_rmdir ! sys_rmdir (const char *name)
#__NR_unlink ! sys_unlink (char *pathname)