summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* powerpc: decode spu_run and spu_create syscallsesyr/next-ng2Eugene Syromyatnikov2020-03-297-4/+173
|
* xlat: add AUDIT_ARCH_RISCV{32,64} to audit_archEugene Syromyatnikov2019-01-151-0/+2
| | | | | * xlat/audit_arch.in (AUDIT_ARCH_RISCV32, AUDIT_ARCH_RISCV64): New constants, introduced by Linux commit v5.0-rc2~23^2~1^2~5.
* fixup! xlat: add elf_em.inEugene Syromyatnikov2019-01-081-1/+1
|
* linux/sparc{,64}: replace empty syscall entries with commentsEugene Syromyatnikov2019-01-072-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * linux/sparc/syscallent.h ([52]): Remove, add a comment that it is memory_ordering on sparc64. ([164]): Remove, add a comment that it is utrap_install on sparc64. ([267]): Remove, add a comment that it was reserved for vserver. * linux/sparc64/syscallent.h ([31]): Remove, add a comment that it is lchown32 on sparc32. ([32]): Remove, add a comment that it is fchown32 on sparc32. ([35]): Remove, add a comment that it is chown32 on sparc32. ([44]): Remove, add a comment that it is getuid32 on sparc32. ([53]): Remove, add a comment that it is getgid32 on sparc32. ([56]): Remove, add a comment that it is mmap2 on sparc32. ([69]): Remove, add a comment that it is geteuid32 on sparc32. ([70]): Remove, add a comment that it is getegid32 on sparc32. ([72]): Remove, add a comment that it is setreuid32 on sparc32. ([77]): Remove, add a comment that it is truncate64 on sparc32. ([82]): Remove, add a comment that it is setgroups32 on sparc32. ([84]): Remove, add a comment that it is ftruncate64 on sparc32. ([87]): Remove, add a comment that it is setuid32 on sparc32. ([89]): Remove, add a comment that it is setgid32 on sparc32. ([91]): Remove, add a comment that it is setfsuid32 on sparc32. ([94]): Remove, add a comment that it is setfsgid32 on sparc32. ([112]): Remove, add a comment that it is setregid32 on sparc32. ([115]): Remove, add a comment that it is getgroups32 on sparc32. ([155]): Remove, add a comment that it is fcntl64 on sparc32. ([231]): Remove, add a comment that it is time on sparc32. ([267]): Remove, add a comment that it was reserved for vserver.
* xlat: update audit_archEugene Syromyatnikov2019-01-071-0/+2
| | | | | | | * xlat/audit_arch.in (AUDIT_ARCH_CSKY): New constant, introduced by Linux commit v5.0-rc1~37^2~15. (AUDIT_ARCH_XTENSA): New constant, introduced by Linux commit v5.0-rc1~92^2~8.
* xlat: add EM_CSKY to elf_emEugene Syromyatnikov2019-01-071-0/+1
| | | | | * xlat/elf_em.in (EM_CSKY): New constant, introduced by Linux commit v5.0-rc1~37^2~16.
* xlat: update sysctl_kernEugene Syromyatnikov2019-01-071-0/+2
| | | | | | | * xlat/sysctl_kern.in (KERN_PANIC_ON_WARN): New constant, introduced by Linux commit v3.19-rc1~135^2~91. (KERN_PANIC_PRINT): New constant, introduced by Linux commit v5.0-rc1~38^2~16.
* xlat: add fallback values to sysctl_kernEugene Syromyatnikov2019-01-071-17/+17
| | | | * xlat/sysctl_kern.in: Add fallback values to conditional constants.
* mips: use symbolic register name in getrval2Eugene Syromyatnikov2019-01-042-2/+3
| | | | | * linux/mips/arch_regs.h (mips_REG_V1): New macro constant definition. * linux/mips/arch_getrval2.c (getrval2): Use it.
* xlat: add SCTP_EVENT to sock_sctp_optionsEugene Syromyatnikov2019-01-041-0/+1
| | | | | * xlat/sock_sctp_options.in (SCTP_EVENT): New constant, introduced by Linux commit v4.20-rc3-498-g480ba9c18a27.
* xlat: add BPF_F_ZERO_SEED to bpf_map_flagsEugene Syromyatnikov2019-01-041-0/+1
| | | | | * xlat/bpf_map_flags.in (BPF_F_ZERO_SEED): New constant, introduced by Linux commit v4.20-rc1-144-g96b3b6c9091d.
* xlat: add NT_MIPS_MSA to nt_descriptor_typesEugene Syromyatnikov2019-01-031-0/+1
| | | | | * xlat/nt_descriptor_types.in (NT_MIPS_MSA): New constant, introduced by Linux commit v4.20-rc1-48-g3cd640832894.
* rtnl_nsid: add NETNSA_TARGET_NSID and NETNSA_CURRENT_NSID attributesEugene Syromyatnikov2019-01-032-3/+7
| | | | | | | | | * xlat/rtnl_nsid_attrs.in (NETNSA_TARGET_NSID): New constant, introduced by Linux commit v4.20-rc3-1055-gcff478b9d9cc. (NETNSA_CURRENT_NSID): New constant, introduced by Linux commit v4.20-rc3-1057-g288f06a001eb. * rtnl_nsid.c (rtgenmsg_nla_decoders): Decode NETNSA_TARGET_NSID and NETNSA_CURRENT_NSID as s32.
* xlat: add BPF_F_ANY_ALIGNMENT to bpf_prog_flagsEugene Syromyatnikov2019-01-031-0/+1
| | | | | * xlat/bpf_prog_flags.in (BPF_F_ANY_ALIGNMENT): New constant, introduced by Linux commit v4.20-rc4-941-ge9ee9efc0d17.
* xlat: add V4L2_PIX_FMT_CNF4 to v4l2_pix_fmtsEugene Syromyatnikov2019-01-031-0/+1
| | | | | * xlat/v4l2_pix_fmts.in (V4L2_PIX_FMT_CNF4): New constant, introduced by Linux commit v4.20-rc1-159-g92799ef7209b.
* linux/{32,64}: wire up rseq and kexec_file_load to syscallent.hEugene Syromyatnikov2019-01-032-0/+4
| | | | | | | | * linux/32/syscallent.h ([293]): Wire up rseq, via Linux commit v4.19-rc1~109^2~47. ([294]): Wire up kexec_file_load, via Linux commit v4.20-rc3-1-g4e21565b7fd4. * linux/64/syscallent.h: Likewise.
* xlat: add NT_ARM_PAC_MASK to nt_descriptor_typesEugene Syromyatnikov2019-01-031-0/+1
| | | | | * xlat/nt_descriptor_types.in (NT_ARM_PAC_MASK): New constant, introduced by Linux commit v4.20-rc3-119-gec6e822d1a22.
* prctl: decode PR_PAC_RESET_KEYS optionEugene Syromyatnikov2019-01-033-0/+13
| | | | | | | | | Introduced by Linux commit v4.20-rc3-121-gba8308856564. * xlat/prctl_options.in (PR_PAC_RESET_KEYS): New constant. * xlat/pr_pac_reset_keys_flags.in: New file. * prctl.c: Include "xlat/pr_pac_reset_keys_flags.h". (SYS_FUNC(prctl)): Decode PR_PAC_RESET_KEYS.
* prctl: print the rest of the arguments for PR_[GS]ET_SPECULATION_CTRLEugene Syromyatnikov2019-01-031-0/+3
| | | | | | * prctl.c (SYS_FUNC(prctl)) <case PR_GET_SPECULATION_CTRL, case PR_SET_SPECULATION_CTRL>: Call print_prctl_args for printing the rest of the arguments, since non-zero values there lead to EINVAL.
* xlat: add V4L2_BUF_TYPE_META_OUTPUT, V4L2_CAP_META_OUTPUTEugene Syromyatnikov2019-01-032-0/+2
| | | | | | | | | These constants are introduced by Linux commit v4.20-rc5-283-g72148d1a57e7. * xlat/v4l2_buf_types.in (V4L2_BUF_TYPE_META_OUTPUT): New constant. * xlat/v4l2_device_capabilities_flags.in (V4L2_CAP_META_OUTPUT): Likewise.
* xlat: update v4l2_buf_typesEugene Syromyatnikov2019-01-031-13/+15
| | | | | * xlat/v4l2_buf_types.in: Provide fallback values to constant, mention V4L2_BUF_TYPE_PRIVATE in comment, add #value_indexed.
* xlat: provide fallback values in v4l2_device_capabilities_flagsEugene Syromyatnikov2019-01-031-28/+28
| | | | | * xlat/v4l2_device_capabilities_flags.in: Sort, provide fallback values to constants.
* xlat: update kvm_capEugene Syromyatnikov2019-01-031-0/+2
| | | | | | | * xlat/kvm_cap.in (KVM_CAP_MANUAL_DIRTY_LOG_PROTECT): New constant, introduced by Linux commit v4.20-rc6-11-g2a31b9db1535. (KVM_CAP_HYPERV_CPUID): New constant, introduced by Linux commit v4.20-rc6-52-g2bc39970e932.
* rtnl_neigh: add NDA_PROTOCOL attributeEugene Syromyatnikov2019-01-032-0/+2
| | | | | | | * xlat/rtnl_neigh_attrs.in (NDA_PROTOCOL): New constant, introduced by Linux commit v4.20-rc6-1429-gdf9b0e30d44c. * rtnl_neigh.c (ndmsg_nla_decoders) <[NDA_PROTOCOL]>: Decode as an IP protocol.
* rtnl_neigh: decode NDA_SRC_VNI attribute as u32Eugene Syromyatnikov2019-01-031-1/+1
| | | | | | | VXLAN Network Identifier (VNI) is an unsigned 32-bit value which is provided via netlink in the CPU byte order. * rtnl_neigh.c (ndmsg_nla_decoders) <[NDA_SRC_VNI]>: Decode as u32.
* xlat: add BTRFS_FEATURE_INCOMPAT_METADATA_UUID to btrfs_features_incompatEugene Syromyatnikov2019-01-031-0/+1
| | | | | | * xlat/btrfs_features_incompat.in (BTRFS_FEATURE_INCOMPAT_METADATA_UUID): New constant, introduced by v4.20-rc7-61-g7239ff4b2be8.
* xlat: add BINDERFS_SUPER_MAGIC to fsmagicEugene Syromyatnikov2019-01-031-0/+1
| | | | | * xlat/fsmagic.in (BINDERFS_SUPER_MAGIC): New constant, introduced by Linux commit v4.20-rc6-107-g3ad20fe393b3.
* linux/powerpc{,64}/syscallent.h: replace empty entries with commentsEugene Syromyatnikov2019-01-032-6/+11
| | | | | | | | | | | | | | | | * linux/powerpc64/syscallent.h ([192]): Remove, add a comment about powerpc32-only mmap2. ([193]): Remove, add a comment about powerpc32-only truncate64. ([194]): Remove, add a comment about powerpc32-only ftruncate64. ([195]): Remove, add a comment about powerpc32-only stat64. ([196]): Remove, add a comment about powerpc32-only lstat64. ([197]): Remove, add a comment about powerpc32-only fstat64. ([204]): Remove, add a comment about powerpc32-only fcntl64. ([224]): Remove, add a comment about unused slot for security syscall. ([226]): Remove, add a comment about powerpc32-only sendfile64. ([254]): Remove, add a comment about powerpc32-only fadvise64_64. * linux/powerpc64/syscallent.h ([224]): Remove, add a comment about unused slot for security syscall.
* xlat: update sysctl_vmEugene Syromyatnikov2018-12-201-20/+27
| | | | | | | * xlat/sysctl_vm.in: Add values for existing constants. (VM_DROP_PAGECACHE, VM_PERCPU_PAGELIST_FRACTION, VM_ZONE_RECLAIM_MODE, VM_MIN_UNMAPPED, VM_PANIC_ON_OOM, VM_VDSO_ENABLED, VM_MIN_SLAB): New constants.
* kvm: avoid bogus vcpu_info assignment in vcpu_registerEugene Syromyatnikov2018-12-181-4/+3
| | | | | | | | | Also reformat code a bit to make nesting a bit clearer. Reported by Clang. * kvm.c (vcpu_register): Do not assign vcpu_alloc result to vcpu_info as this value is not used afterwards in the function.
* rtnl_addr: decode IFA_RT_PRIORITY netlink attributeEugene Syromyatnikov2018-12-141-0/+1
| | | | * rtnl_addr.c (ifaddrmsg_nla_decoders): Decode IFA_RT_PRIORITY as u32.
* fixup! xlat/rtnl_addr_attrs: add IFA_TARGET_NETNSIDEugene Syromyatnikov2018-12-141-8/+9
|
* xlat: add PR_SPEC_INDIRECT_BRANCH to pr_spec_cmdsEugene Syromyatnikov2018-12-143-16/+33
| | | | | | | | | * xlat/pr_spec_cmds.in (PR_SPEC_INDIRECT_BRANCH): New constant, introduced by Linux commit v4.20-rc5~4^2~3. * prctl.c (SYS_FUNC(prctl)) <case PR_GET_SPECULATION_CTRL, case PR_SET_SPECULATION_CTRL>: Add PR_SPEC_INDIRECT_BRANCH handling. * tests/prctl-spec-inject.c: Add PR_SPEC_INDIRECT_BRANCH decoding checks, update expected output.
* xlat: update audit_archEugene Syromyatnikov2018-11-251-41/+37
| | | | | | * xlat/audit_arch.in: Add fallback values. (AUDIT_ARCH_H8300, AUDIT_ARCH_TILEGX, AUDIT_ARCH_TILEGX32, AUDIT_ARCH_TILEPRO, AUDIT_ARCH_V850): New constants.
* v4l2: improve buffer flag decodingEugene Syromyatnikov2018-11-255-20/+47
| | | | | | | | | | | * xlat/v4l2_buf_flags.in: Add fallback values. * xlat/v4l2_buf_flags_masks.in: New file. * xlat/v4l2_buf_flags_ts_src.in: Likewise. * xlat/v4l2_buf_flags_ts_type.in: Likewise. * v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h, xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h. (print_v4l2_buffer_flags): New function. (print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* fixup! Print ISO 8601 time for wall clock time valuesEugene Syromyatnikov2018-11-251-1/+2
|
* v4l: add constants introduced by Linux v4.20-rc1~51^2~4Eugene Syromyatnikov2018-11-252-0/+3
| | | | | | | * xlat/v4l2_control_ids.in (,V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS, V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION): New constants, introduced by Linux commit v4.20-rc1~51^2~4. * xlat/v4l2_pix_fmts.in (V4L2_PIX_FMT_MPEG2_SLICE): Likewise.
* fixup! Add support for alternative error/signal namesEugene Syromyatnikov2018-11-251-0/+6
|
* xlat: tidy whitespace in fan_mark_flagsEugene Syromyatnikov2018-11-251-8/+8
| | | | | * xlat/fan_mark_flags.in: Align fallback values with additional whitespace.
* printsiginfo: decode IA-64-specific siginfo_t fieldsEugene Syromyatnikov2018-11-252-0/+15
| | | | | | | * xlat/ia64_siginfo_si_flags.in: New file. * printsiginfo.c [IA64]: Include xlat/ia64_siginfo_si_flags.h. [IA64] (print_si_info): Decode si_imm, si_flags, and si_isr fields for fault signals.
* printsiginfo: decode si_trapnoEugene Syromyatnikov2018-11-253-1/+60
| | | | | | | | | | * xlat/alpha_gentrap.in: New file. * configure.ac (AC_CHECK_MEMBERS): Add check for siginfo_t.si_trapno. * printsiginfo.c [ALPHA]: Include <asm/gentrap.h>, "xlat/alpha_gentrap.h". (print_si_info): Add SIGTRAP to the SIGILL/SIGFPE/SIGSEGV/SIGBUS/SIGEMT case. [HAVE_SIGINFO_T_SI_TRAPNO] (print_si_info) <case SIGTRAP>: Decode si_trapno field.
* printsiginfo: decode SIGEMT the same way as SIG{ILL,FPE,SEGV,BUS}Eugene Syromyatnikov2018-11-251-0/+3
| | | | | * printsiginfo.c (print_si_info) [SIGEMT] <case SIGEMT>: Add to the SIGILL/SIGFPE/SIGSEGV/SIGBUS case.
* printsiginfo: use print_err for error number printingEugene Syromyatnikov2018-11-251-5/+1
| | | | | * printsiginfo.c (print_si_info): use print_err instead of open-coding error constant printing.
* fixup! printsiginfo: decode FASYNC (O_ASYNC) signalsEugene Syromyatnikov2018-11-251-1/+1
|
* fixup! strace: use sprintsignal for converting signal number to stringEugene Syromyatnikov2018-11-251-1/+1
|
* printsiginfo: decode FASYNC (O_ASYNC) signalsEugene Syromyatnikov2018-11-252-10/+25
| | | | | | | | | | * printsiginfo.c (print_fasync_info): New function. (print_si_info): Add tcp argument. (print_si_info) <case SI_SIGIO, case SIGPOLL>: Call print_fasync_info. (printsiginfo): Add tcp argument, pass it to the print_si_info call. (printsiginfo_at, print_siginfo_t): Pass tcp argument to printsiginfo calls. * printsiginfo.h (printsiginfo): Update declaration.
* printsiginfo: factor out syscall constant name printingEugene Syromyatnikov2018-11-251-24/+31
| | | | | | * printsiginfo.c (print_scconst); New function. (print_si_info) <case SIGSYS>: Call print_scconst for si_syscall printing.
* printsiginfo: dispatch signal code names using an arrayEugene Syromyatnikov2018-11-251-36/+18
| | | | | * printsiginfo.c (print_si_code): Consolidate xlat pointers into an array, dispatch over it using si_code.
* xlat: add audit_arch_flagsEugene Syromyatnikov2018-11-222-0/+4
| | | | | | | For now, it's just a source for audit_flags fallback values. * xlat/audit_arch_flags.in: New file. * printsiginfo.c: Include xlat/audit_arch_flags.h.
* xlat: add elf_em.inEugene Syromyatnikov2018-11-222-0/+206
| | | | | | | For now, it's a source of fallback values for AUDIT_ARCH_* constants. * xlat/elf_em.in: New file. * printsiginfo.c: Include "xlat/elf_em.h"