From: Dmitry V. Levin Date: Mon, 11 Feb 2019 23:35:07 +0000 (+0000) Subject: Wire up kexec_file_load syscall on architectures that use generic unistd.h X-Git-Tag: v5.0~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=898f0ad0bc498c45734bc95917b74cfdc6466c26;p=strace Wire up kexec_file_load syscall on architectures that use generic unistd.h * linux/32/syscallent.h [294]: Wire up kexec_file_load syscall introduced by linux commit v5.0-rc1~35^2~41^2~15. * linux/64/syscallent.h [294]: Likewise. * NEWS: Mention this. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1676045 --- diff --git a/NEWS b/NEWS index 9c337cba..d26701f5 100644 --- a/NEWS +++ b/NEWS @@ -3,7 +3,7 @@ Noteworthy changes in release ?.?? (????-??-??) * Improvements * Enhanced xlat styles support configured by -X option. - * Wired up rseq syscall on aarch64, arc, metag, nios2, + * Wired up kexec_file_load and rseq syscalls on aarch64, arc, metag, nios2, or1k, riscv, and tile architectures. * Updated lists of BPF_*, BTRFS_*, FAN_*, IFLA_*, KERN_*, KVM_CAP_*, NDA_*, NETNSA_*, NT_*, PR_*, REL_*, SECCOMP_*, SCTP_*, UDP_*, V4L2_*, and *_MAGIC diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h index 145f07b7..6b30d167 100644 --- a/linux/32/syscallent.h +++ b/linux/32/syscallent.h @@ -291,6 +291,7 @@ [291] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, [292] = { 6, 0, SEN(io_pgetevents), "io_pgetevents" }, [293] = { 4, 0, SEN(rseq), "rseq" }, +[294] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, #undef sys_ARCH_mmap #undef ARCH_WANT_SYNC_FILE_RANGE2 diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h index 1c4b80d4..fff2e975 100644 --- a/linux/64/syscallent.h +++ b/linux/64/syscallent.h @@ -284,3 +284,4 @@ [291] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, [292] = { 6, 0, SEN(io_pgetevents), "io_pgetevents" }, [293] = { 4, 0, SEN(rseq), "rseq" }, +[294] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" },