d35df493b4e7684c50d2d2fa032ee3a7ac228009 |
|
16-Feb-2017 |
Elliott Hughes <enh@google.com> |
Upgrade strace to 4.16 from 4.14. Noteworthy changes in release 4.16 (2017-02-14) * Improvements * Implemented syscall return value injection (-e inject=SET:retval= option). * Implemented signal injection (-e inject=SET:signal= option). * Implemented decoding of SUID_DUMP_* constants in PR_[GS]ET_DUMPABLE. * Implemented decoding of all SG_* ioctl commands. * Implemented decoding of ustat syscall. * Implemented decoding of BPF_OBJ_PIN, BPF_OBJ_GET, BPF_PROG_ATTACH, and BPF_PROG_DETACH commands of bpf syscall. * Enhanced decoding of sg_io_hdr and sg_io_v4 structures. * Enhanced decoding of get_robust_list, getrandom, io_submit, set_robust_list syscalls. * Enhanced decoding of entities of kernel long type on x32 and mips n32 ABIs. * Updated lists of IP_*, IPV6_*, and LOOP_* constants. * Updated lists of ioctl commands from Linux 4.10. * Added decoding of recently added syscalls on avr32, microblaze, ppc, and ppc64. * Bug fixes * Fixed pathmatch of oldselect syscall on 64-bit architectures. * Fixed decoding of mmap2 syscall on s390 when arguments are not available. * Fixed decoding of kexec_file_load, mprotect, pkey_mprotect, prctl, preadv*, and pwritev* syscalls on x32. * Fixed printing of string arguments of getxattr and setxattr syscalls when -s option is used to limit the printed string size. * Fixed decoding of ifconf, ifreq, and loop_info structures on non-native personalities. * Fixed decoding of SG_* and LOOP_* ioctl commands. * Fixed build on mips with musl libc. * Fixed cross-building of ioctlsort. * Applied minor formatting fixes to the manual page. Noteworthy changes in release 4.15 (2016-12-14) * Changes in behavior * Time stamps are now printed according to ISO 8601. * Changed output format of val3 parameter of futex FUTEX_WAKE_OP operation. * The last argument of mincore, sched_getaffinity, and sched_setaffinity syscalls is now formatted as an array. * Improvements * Implemented syscall fault injection (-e fault=... option). * Implemented decoding of DM_* ioctl commands. * Implemented decoding of attr parameter of perf_event_open syscall. * Implemented decoding of pkey_alloc, pkey_free, and pkey_mprotect syscalls. * Implemented dumping of mq_timedsend and mq_timedreceive syscalls. * Implemented decoding of PR_SET_FP_MODE and PR_GET_FP_MODE operations of prctl syscall. * Implemented PTRACE_GETREGS API support on m68k. * Updated lists of ARCH_*, BPF_*, BTRFS_*, FALLOC_*, MS_*, *_MAGIC, and V4L2_* constants. * Updated lists of ioctl commands from Linux 4.9. * Added decoding of recently added syscalls on arc, x32, and xtensa. * Enhanced manual page. * Bug fixes * Fixed corner cases in decoding of exit, exit_group, futimesat, getgroups, getresuid, init_module, inotify_init1, kcmp, kexec_load, lookup_dcookie, mq_getsetattr, mq_notify, mq_open, mq_timedreceive, mq_timedsend, name_to_handle_at, prctl, process_vm_readv, process_vm_writev, setfsuid, setgroups, setns, unshare, and utimes syscalls. * Fixed handling of verbose flag in printing of controls array of struct v4l2_ext_controls. * Fixed omission of field names in the output of capability, sigaction, sigevent, statfs, timespec, timeval, and utimbuf structures. * Fixed printing of unknown syscalls in siginfo structure. * Fixed decoding of ioctl constants on m68k. * Fixed cris architecture support. * Fixed cross build when host compiler does not support the same set of warning flags as the cross compiler. * Fixed build on SLE10 and SLE11. Bug: N/A Test: manual Change-Id: I590bf5db1652aa1dfdc0eb16e30fd97c82af2261
/external/strace/linux/x32/syscallent.h
|
1929c2216ab065082903c299147fb8290873da49 |
|
21-Sep-2016 |
Eugene Syromyatnikov <evgsyr@gmail.com> |
x32: use proper decoder for fadvise64 syscall fadvise_64_64 decoder used before this change prints different sign of the "len" argument (loff_t vs size_t). * linux/x32/syscallent.h (fadvise64): Replace SEN(fadvise64_64) with SEN(fadvise64).
/external/strace/linux/x32/syscallent.h
|
a92ba46c55f30deec326ed1a4e76f32222b4c62c |
|
09-Sep-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Mark io_setup and io_destroy as memory mapping related syscalls As io_setup syscall allocates some memory using do_mmap_pgoff, and io_destroy deallocates this memory using vm_munmap, set TRACE_MEMORY flag for all sysentries of io_setup and io_destroy using the following oneliner: sed -ri '/io_setup|io_destroy/ s/0,/TM,/' linux/*/syscallent*.h * linux/*/syscallent*.h (io_setup, io_destroy): Change sys_flags to TM.
/external/strace/linux/x32/syscallent.h
|
197829aa45837a1e7d5d20d7b6027e2ab3c17f9e |
|
25-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
x32: fix syscall entries for x86_64 variants of io_setup and io_submit * linux/x32/syscallent.h (64:io_setup, 64:io_submit): Change handler to printargs.
/external/strace/linux/x32/syscallent.h
|
a6dd09428707bfb87e27abcb0c8f7066e2eaf988 |
|
11-May-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement decoding of preadv2 and pwritev2 syscalls * io.c: Include "xlat/rwf_flags.h". (do_preadv, do_pwritev, SYS_FUNC(preadv2), SYS_FUNC(pwritev2)): New functions. (SYS_FUNC(preadv)): Use do_preadv. (SYS_FUNC(pwritev)): Use do_pwritev. * linux/32/syscallent.h (preadv2, pwritev2): New entries. * linux/64/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * syscall.c (dumpio): Handle SEN_preadv2 and SEN_pwritev2. * xlat/rwf_flags.in: New file. * NEWS: Mention parsers of new syscalls.
/external/strace/linux/x32/syscallent.h
|
c1f99f569a7d6362822f9e9ed5c2c3cf82fb72b6 |
|
13-Feb-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement copy_file_range syscall decoding * copy_file_range.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/32/syscallent.h (copy_file_range): New entry. * linux/64/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * pathtrace.c (pathtrace_match): Add SEN_copy_file_range. * NEWS: Mention new syscall parser. * tests/copy_file_range.c: New file. * tests/copy_file_range.test: New test. * tests/.gitignore: Add copy_file_range. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add copy_file_range.test.
/external/strace/linux/x32/syscallent.h
|
4ab20405bc3e9d313bc4af11ec858b65dab8cb13 |
|
12-Feb-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix numbers of syscall arguments in syscall tables This semi-automatic change brings syscall tables in sync with kernel's include/linux/syscalls.h file. * linux/aarch64/syscallent.h (recv): Fix nargs. * linux/alpha/syscallent.h (sigaltstack, init_module, sched_getscheduler, settimeofday): Likewise. * linux/arm/syscallent.h (signal, pciconfig_iobase, msgrcv, msgctl, shmat, shmdt, shmctl, semtimedop, get_mempolicy, set_mempolicy, timerfd_create): Likewise. * linux/bfin/syscallent.h (signal, delete_module): Likewise. * linux/hppa/syscallent.h (init_module, munlockall, sched_getscheduler, io_cancel, set_tid_address, listxattr, llistxattr, flistxattr, removexattr, lremovexattr, fremovexattr): Likewise. * linux/i386/syscallent.h (signal, mmap): Likewise. * linux/ia64/syscallent.h (init_module, readv, writev, sched_getscheduler): Likewise. * linux/m68k/syscallent.h (signal, request_key): Likewise. * linux/microblaze/syscallent.h (signal, clone, fstatfs64, vmsplice): Likewise. * linux/mips/syscallent-n32.h (getpgid, statfs, fstatfs, init_module, delete_module): Likewise. * linux/mips/syscallent-n64.h (getpgid, statfs, fstatfs, init_module, delete_module): Likewise. * linux/mips/syscallent-o32.h (signal, statfs, fstatfs, ioperm, fstatfs64): Likewise. * linux/powerpc/syscallent.h (signal, spu_run, spu_create): Likewise. * linux/powerpc64/syscallent.h (signal, pread64, pwrite64, readahead, fadvise64, lookup_dcookie, spu_run, spu_create, sync_file_range2, fallocate, preadv, pwritev, fanotify_mark): Likewise. * linux/s390/syscallent.h (signal, mmap, lookup_dcookie, ipc): Likewise. * linux/s390x/syscallent.h (signal, ipc): Likewise. * linux/sh/syscallent.h (signal, ipc, munlockall, fstatfs64, vmsplice): Likewise. * linux/sh64/syscallent.h (signal, ipc, msgrcv, msgctl, shmat, shmdt, shmctl, fstatfs64, vmsplice): Likewise. * linux/sparc/syscallent.h (ptrace, dup, signal, ipc): Likewise. * linux/sparc64/syscallent.h (ptrace, dup, signal, pread64, pwrite64, readahead, lookup_dcookie, fadvise64, fadvise64_64, ipc, sync_file_range, fallocate, preadv, pwritev, fanotify_mark): Likewise. * linux/x32/syscallent.h (64:recvmsg): Likewise. * linux/xtensa/syscallent.h (mremap, futex, reboot, init_module, delete_module, request_key, getcpu, ioprio_set, ioprio_get, utimensat, futimesat, fchmodat, faccessat): Likewise. * NEWS: Mention this fix.
/external/strace/linux/x32/syscallent.h
|
aef5e14ba29976949961084ddaabb703df688dd7 |
|
29-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Set SYSCALL_NEVER_FAILS flag for getpid, getppid and gettid syscall * linux/*/syscallent*.h (getpid, getppid, gettid): Set NF flag.
/external/strace/linux/x32/syscallent.h
|
dd039b74efd2b7ecb499a122e05465783716d577 |
|
28-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Set SYSCALL_NEVER_FAILS flag for umask syscall Linux kernel always ANDs umask argument with 0700 and therefore this syscall never fails. * linux/*/syscallent*.h (umask): Set NF flag.
/external/strace/linux/x32/syscallent.h
|
ffb6c55d7d52b22a526e58815770b09a2994d856 |
|
25-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Set SYSCALL_NEVER_FAILS flag for personality syscall Starting with commit v2.6.29-6609-g11d06b2a1e5658f448a308aa3beb97bacd64a940, personality syscall never fails to set the personality, but before commit v2.6.35-rc1-372-g485d527 it still could return an error. Starting with that commit, personality syscall never returns an error. * linux/*/syscallent.h: Set SYSCALL_NEVER_FAILS flag in personality syscall entries.
/external/strace/linux/x32/syscallent.h
|
dd360922d1b55e9a4f1b1fb628994ea98c38865e |
|
08-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix exit syscall entries Change syscall names to match kernel __NR_* constants. * linux/avr32/syscallent.h [1]: Rename "_exit" to "exit". * linux/bfin/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/x32/syscallent.h [60]: Rename "_exit" to "exit". * linux/x86_64/syscallent.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
5090dde12304196fed36b47a2a33fc2b1df89fbe |
|
08-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix pread64 and pwrite64 syscall entries Change syscall names to match kernel __NR_* constants. * linux/alpha/syscallent.h [349]: Rename "pread" to "pread64". [350]: Rename "pwrite" to "pwrite64". * linux/ia64/syscallent.h [1148]: Rename "pread" to "pread64". [1149]: Rename "pwrite" to "pwrite64". * linux/sh/syscallent.h [180]: Rename "pread" to "pread64". [181]: Rename "pwrite" to "pwrite64". * linux/sh64/syscallent.h: Likewise. * linux/x32/syscallent.h [17]: Rename "pread" to "pread64". [18]: Rename "pwrite" to "pwrite64". * linux/x86_64/syscallent.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
329288b6f9cf8544735c209dd3691137a162d402 |
|
24-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix syscall entries of unimplemented getpmsg and putpmsg syscalls * linux/ia64/syscallent.h (getpmsg): Change SEN(printargs) to SEN(getpmsg). (putpmsg): Change SEN(printargs) to SEN(putpmsg). * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/arm/syscallent.h (getpmsg, putpmsg): Set sys_flags to TN. * linux/bfin/syscallent.h (getpmsg, putpmsg): Likewise. * linux/hppa/syscallent.h (getpmsg, putpmsg): Likewise. * linux/i386/syscallent.h (getpmsg, putpmsg): Likewise. * linux/m68k/syscallent.h (getpmsg, putpmsg): Likewise. * linux/microblaze/syscallent.h (getpmsg, putpmsg): Likewise. * linux/powerpc/syscallent.h (getpmsg, putpmsg): Likewise. * linux/s390/syscallent.h (getpmsg, putpmsg): Likewise. * linux/s390x/syscallent.h (getpmsg, putpmsg): Likewise. * linux/x32/syscallent.h (getpmsg, putpmsg): Likewise. * linux/x86_64/syscallent.h (getpmsg, putpmsg): Likewise.
/external/strace/linux/x32/syscallent.h
|
401d4bd6015253f4d4eaabe8a97bcef6deb57b76 |
|
15-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Wire up userfaultfd, membarrier, and mlock2 syscalls * linux/dummy.h (membarrier, mlock2, userfaultfd): New stub aliases. * linux/32/syscallent.h (userfaultfd, membarrier, mlock2): New entries. * linux/64/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/arm/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/hppa/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/i386/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/ia64/syscallent.h (userfaultfd, membarrier): Likewise. * linux/m68k/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/microblaze/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/mips/syscallent-n32.h (userfaultfd, membarrier, mlock2): Likewise. * linux/mips/syscallent-n64.h (userfaultfd, membarrier, mlock2): Likewise. * linux/mips/syscallent-o32.h (userfaultfd, membarrier, mlock2): Likewise. * linux/powerpc/syscallent.h (userfaultfd, membarrier): Likewise. * linux/s390/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/s390x/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/sparc/syscallent.h (membarrier, userfaultfd, mlock2): Likewise. * linux/x32/syscallent.h (userfaultfd, membarrier, mlock2): Likewise. * linux/x86_64/syscallent.h (userfaultfd, membarrier, mlock2): Likewise.
/external/strace/linux/x32/syscallent.h
|
140ecf876686d49085c6eb3a2306e2ea6ea641bc |
|
10-Jul-2015 |
Elvira Khabirova <lineprinter0@gmail.com> |
Introduce SEN macro * syscall.c (SEN): New temporary macro. * linux/dummy.h (sys_printargs): New macro. * linux/subcall.h: Wrap all sys_func entries using SEN. * linux/*/syscallent*.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
ccb4fdac4388f1e07591f4087a723ea1bb142076 |
|
04-Mar-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
x86_64, x32: implement rt_sigreturn decoding * syscall.c [X86_64 || X32] (x86_64_rsp_ptr): New variable. * linux/x86_64/arch_regs.h (x86_64_rsp_ptr): New declaration. * linux/x86_64/syscallent.h (15): Use sys_sigreturn for rt_sigreturn decoding. * linux/x32/syscallent.h (513): Likewise. * signal.c (sys_sigreturn) [X86_64 || X32]: Print signal mask for non-i386 personalities.
/external/strace/linux/x32/syscallent.h
|
e78f02a16648554e87533eabb6c50f0a9a30ddf8 |
|
12-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Wire up new syscalls * linux/dummy.h (sys_bpf, sys_execveat, sys_getrandom, sys_kexec_file_load, sys_memfd_create, sys_seccomp): New stub aliases. * linux/32/syscallent.h (seccomp, getrandom, memfd_create, bpf, execveat): New entries. * linux/64/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/ia64/syscallent.h (getrandom, memfd_create, bpf, execveat): New entries. * linux/m68k/syscallent.h: Likewise. * linux/s390/syscallent.h: (seccomp, getrandom, memfd_create, bpf, s390_pci_mmio_write, s390_pci_mmio_read, execveat): New entries. * linux/s390x/syscallent.h: Likewise. * linux/x86_64/syscallent.h (seccomp, getrandom, memfd_create, kexec_file_load, bpf, execveat): New entries. * linux/x32/syscallent.h: Likewise. * linux/xtensa/syscallent.h (seccomp, getrandom, memfd_create): New entries.
/external/strace/linux/x32/syscallent.h
|
166b0bc71c5ec7c4f9825f3ef9b181ffdec27e98 |
|
11-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Change syscallent.h files to use designated initializers Automatically convert all linux syscallent.h files to a form that uses designated initializers, with subsequent correction of whitespace indentation. * linux/alpha/syscallent.h: Use designated initializers. * linux/arm/syscallent.h: Likewise. * linux/avr32/syscallent.h: Likewise. * linux/bfin/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
b873785089e284266998cdad244bac5ab8315be7 |
|
11-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix umount and umount2 syscall entries * linux/aarch64/syscallent1.h (umount): Change nargs to 1. * linux/avr32/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * linux/ia64/syscallent.h (umount2): Change nargs to 2. * linux/arm/syscallent.h (umount, umount2): Fix sys_name. * linux/bfin/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/metag/syscallent.h: (umount2): Fix sys_name. * linux/or1k/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
45cffe08347d30c3d5cc8d5e6c08bb32c076eb1f |
|
10-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix number of arguments in ipc family syscall entries * linux/64/syscallent.h (msgget, semget, semtimedop, semop, shmget, shmctl, shmat, shmdt): Fix nargs for direct ipc syscalls. * linux/alpha/syscallent.h (msgctl, msgget, msgrcv, semget, shmctl, shmdt, shmget, semtimedop): Likewise. * linux/avr32/syscallent.h (msgget, semget, semop, semtimedop, shmat, shmget, shmdt, shmctl): Likewise. * linux/bfin/syscallent.h (semget, semop, msgctl, msgget, msgrcv, shmat, * shmctl, shmdt, shmget, semtimedop): Likewise. * linux/hppa/syscallent.h (semop, semget, msgrcv, msgget, msgctl, semtimedop): Likewise. * linux/microblaze/syscallent.h (semtimedop, semget, semop, msgctl, msgget, msgrcv, shmat, shmctl, shmdt, shmget): Likewise. * linux/ia64/syscallent.h (semtimedop): Likewise. * linux/mips/syscallent-n32.h (semtimedop): Likewise. * linux/mips/syscallent-n64.h (semtimedop): Likewise. * linux/or1k/syscallent.h (msgget, msgctl, msgrcv, semget, semtimedop, semop, shmget, shmctl, shmat, shmdt): Likewise. * linux/sh64/syscallent.h (semget, msgget, shmget): Likewise. * linux/tile/syscallent1.h (msgget, semget, semtimedop, semop, shmget, shmctl, shmat, shmdt): Likewise. * linux/x32/syscallent.h (shmget, shmat, shmctl, semget, semop, shmdt, msgget, semtimedop): Likewise. * linux/x86_64/syscallent.h (shmget, shmat, shmctl, semget, semop, shmdt, msgget, semtimedop): Likewise. * linux/xtensa/syscallent.h (shmget, shmat, shmctl, shmdt, semtimedop, semget, semop, msgget, msgrcv, msgctl): Likewise.
/external/strace/linux/x32/syscallent.h
|
b9efc7d01a3e1d47d5cc1ac4a36dc57447245f55 |
|
10-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix sched_setparam syscall entries * linux/aarch64/syscallent1.h (sched_setparam): Change nargs to 2. * linux/arm/syscallent.h (sched_setparam): Likewise. * linux/avr32/syscallent.h (sched_setparam): Likewise. * linux/bfin/syscallent.h (sched_setparam): Likewise. * linux/i386/syscallent.h (sched_setparam): Likewise. * linux/m68k/syscallent.h (sched_setparam): Likewise. * linux/microblaze/syscallent.h (sched_setparam): Likewise. * linux/s390/syscallent.h (sched_setparam): Likewise. * linux/s390x/syscallent.h (sched_setparam): Likewise. * linux/sh/syscallent.h (sched_setparam): Likewise. * linux/sh64/syscallent.h (sched_setparam): Likewise. * linux/tile/syscallent.h (sched_setparam): Likewise. * linux/tile/syscallent1.h (sched_setparam): Likewise. * linux/x32/syscallent.h (sched_setparam): Likewise. * linux/x86_64/syscallent.h (sched_setparam): Likewise.
/external/strace/linux/x32/syscallent.h
|
5b05361dcd8fae62ce7cf3ef0d24ece0650692dd |
|
10-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix lookup_dcookie syscall entries * linux/s390/syscallent.h (lookup_dcookie): Add syscall entry. * linux/s390x/syscallent.h (lookup_dcookie): Likewise. * linux/tile/syscallent.h (lookup_dcookie): Change nargs to 3. * linux/x32/syscallent.h (lookup_dcookie): Likewise.
/external/strace/linux/x32/syscallent.h
|
e971da48db1e6b1daf8ec635c86c6b153177c884 |
|
14-Aug-2014 |
Mike Frysinger <vapier@gentoo.org> |
Update syscall tables to the point where they include renameat2 * linux/dummy.h: Add printargs aliases for sys_sched_getattr and sys_sched_setattr. * linux/aarch64/syscallent1.h: Add kcmp/finit_module/sched_setattr/ sched_getattr/renameat2. * linux/alpha/syscallent.h: Add kcmp/finit_module. * linux/arm/syscallent.h: Add sched_setattr/sched_getattr/renameat2. * linux/hppa/syscallent.h: Add sched_setattr/sched_getattr/utimes/renameat2. * linux/i386/syscallent.h: Add sched_setattr/sched_getattr/renameat2. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Add getdents64/sched_setattr/sched_getattr/ renameat2. * linux/mips/syscallent-o32.h: Add sched_setattr/sched_getattr/renameat2. * linux/powerpc/syscallent.h: Fix finit_module/kcmp order. Add sched_setattr/ sched_getattr/renameat2. * linux/s390/syscallent.h: Add sched_setattr/sched_getattr/renameat2. * linux/s390x/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Add sched_setattr/sched_getattr.
/external/strace/linux/x32/syscallent.h
|
212287c56c81c0bbe57f182e063d4b1e3bf850d3 |
|
01-Aug-2014 |
Mike Frysinger <vapier@gentoo.org> |
x32: update io_{setup,submit} syscalls Starting in 3.16, these two syscalls have gotten their own entry point for x32. See linux 7fd44dacdd803c0bbf38bf478d51d280902bb0f1. * linux/x32/syscallent.h: Change existing io_{setup,submit} to 64bit, and add new entry points for x32 specifically.
/external/strace/linux/x32/syscallent.h
|
549e2c4a9858a380b03eb6e2ff4861d2c6687d6a |
|
12-May-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
unwind: add SE and SI flags to syscall entries for all architectures Add SE flag to execve, exit, and exit_group syscall entries. Add SI flag to brk, execve, mmap, mprotect, mremap, munmap, remap_file_pages, shmat, and shmdt syscall entries.
/external/strace/linux/x32/syscallent.h
|
cd96f77ef8d493de4a04153f6b205b7718b311c9 |
|
29-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Add TM flag to shmat and shmdt syscall entries
/external/strace/linux/x32/syscallent.h
|
cbd4e922ac1be0d4cb3af912f88893e6ed53f27d |
|
08-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
Add syscall entries for new linux syscalls * linux/dummy.h: Add printargs aliases for sys_finit_module, sys_kcmp and sys_sync_file_range2. * linux/alpha/syscallent.h: Add entries for process_vm_readv and process_vm_writev. * linux/bfin/syscallent.h: Likewise. * linux/arm/syscallent.h: Add entries for sync_file_range2, kcmp and finit_module. * linux/hppa/syscallent.h: Add entries for process_vm_readv, process_vm_writev, kcmp and finit_module. * linux/tile/syscallent.h: Likewise. * linux/tile/syscallent1.h: Likewise. * linux/ia64/syscallent.h: Add entry for finit_module. * linux/i386/syscallent.h: Add entries for kcmp and finit_module. * linux/m68k/syscallent.h: Likewise. * linux/metag/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/or1k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * linux/s390/syscallent.h: Add entries for s390_runtime_instr, kcmp and finit_module. * linux/s390x/syscallent.h: Likewise. * linux/sparc/syscallent.h: Add entries for kern_features, kcmp and finit_module.
/external/strace/linux/x32/syscallent.h
|
5273cb7d607e89043a80da36cf13580567c0dcd0 |
|
07-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
pread, pwrite: fix number of syscall arguments The number of pread and pwrite arguments depends on architecture and personality. For 64bit and ilp32 it equals to 4, for unaligned 32bit it equals to 5, and for aligned 32bit it equals to 6. * linux/aarch64/syscallent1.h: Change the number of pread and pwrite arguments to 4. * linux/alpha/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/or1k/syscallent.h: Change the number of pread and pwrite arguments to 5.
/external/strace/linux/x32/syscallent.h
|
ea5a07968439a79a770fb35071ba555c2c3c54b5 |
|
07-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
preadv, pwritev: fix number of syscall arguments The number of preadv and pwritev arguments depends on architecture and personality. For 64bit and ilp32 it equals to 4, for unaligned 32bit it equals to 5, and for aligned 32bit it equals to 6. * linux/aarch64/syscallent1.h: Change the number of preadv and pwritev arguments to 4. * linux/alpha/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Change the number of preadv and pwritev arguments to 6. * linux/sh/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
eb1cc1568ccaac829436c70d1627a6b090df37eb |
|
07-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
fallocate: fix number of syscall arguments The number of fallocate arguments depends on architecture and personality. For 64bit and ilp32 it equals to 4, for 32bit it equals to 6. * linux/aarch64/syscallent1.h: Change the number of fallocate arguments to 4. * linux/alpha/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Set fallocate handler and flags.
/external/strace/linux/x32/syscallent.h
|
4996b3a352a5853114e2d0426f3e0fade4e90b3d |
|
07-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
readahead: fix number of syscall arguments The number of readahead arguments depends on architecture and personality. For 64bit and ilp32 it equals to 3, for unaligned 32bit it equals to 4, and for aligned 32bit it equals to 5. * linux/aarch64/syscallent1.h: Set number of readahead arguments to 3. * linux/alpha/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/or1k/syscallent.h: Set number of readahead arguments to 4. * linux/sh/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Set number of readahead arguments to 5.
/external/strace/linux/x32/syscallent.h
|
0eeda2cdaac422a1510be642571771d22c5349d6 |
|
01-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
x32: fix build regressions introduced by commit v4.7-96-g8435d67 * desc.c (printflock) [X32]: Add special handling required for this architecture with sizeof(long) < sizeof(off_t). * file.c [X32] (struct stat64): Add __attribute__((packed)). [X32] (HAVE_STAT64): Define. (printstat) [X32]: Redirect to printstat64. (printstat64) [X32]: Use "struct stat" instead of "struct stat64". [X32] (realprintstat64): Rename to printstat64_x32. (sys_stat64, sys_fstat64) [X32]: Remove second definitions of these functions. Call printstat64_x32 instead of printstat64 * linux/x32/syscallent.h: Fix handlers for truncate and ftruncate.
/external/strace/linux/x32/syscallent.h
|
2c42f32518e43b1e5ccb00c19010a799be6858d4 |
|
20-Mar-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
Do not use off_t in sendfile decoding sendfile parser used to decode off_t* parameter as a pointer to host off_t type. With this change, it is decoded as a pointer to target long type. * io.c (print_off_t): New function. (sys_sendfile): Use it. * linux/aarch64/syscallent1.h: Use sys_sendfile64 for sendfile decoding. * linux/tile/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/hppa/syscallent.h: Use sys_sendfile64 for sendfile64 decoding. * linux/metag/syscallent.h: Correct sendfile syscall name. * linux/or1k/syscallent.h: Likewise.
/external/strace/linux/x32/syscallent.h
|
99d3e01eefa315999574e205b9c9d65ab01d1b68 |
|
05-Mar-2013 |
Denys Vlasenko <vda.linux@googlemail.com> |
Assorted fixes to syscallent.h or1k was missing TM on many memory-related syscalls sys_lookup_dcookie is 3-arg on 64-bit arches, and isn't TF sys_recvmsg is 3-arg on all arches sys_nfsservctl is 3-arg on all arches sys_timerfd_create is 2-arg on all arches sys_[f]truncate64 is 4-arg or 3-arg, never 5-arg truncate64 is TF sys_[l]lseek is TD fstat[64] is TD Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/external/strace/linux/x32/syscallent.h
|
7943966f6cd137e44f27d56aaf21b023fb1fae63 |
|
27-Oct-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Enhance quotactl decoding * quota.c (sys_quotactl): Decode 2nd syscall argument using printpath. * pathtrace.c (pathtrace_match): Add quotactl support. * linux/*/syscallent.h: Add TF flag to quotactl entry.
/external/strace/linux/x32/syscallent.h
|
9679296d56e3c0a948b1b4dcce99fd3c9b253a3d |
|
24-Oct-2012 |
Namhyung Kim <namhyung.kim@lge.com> |
Add -e trace=memory option Add a new 'memory' category for tracing memory mapping related syscalls. Affected syscalls are: break, brk, get_mempolicy, madvise, mbind, migrate_pages, mincore, mlock, mlockall, mmap, move_pages, mprotect, mremap, msync, munlock, munlockall, munmap, remap_file_pages, and set_mempolicy. * defs.h (TRACE_MEMORY): New macro. * syscall.c (lookup_class): Handle trace=memory option. * strace.1: Document it. * linux/alpha/syscallent.h: Add TM flag to memory mapping related syscalls. * linux/arm/syscallent.h: Likewise. * linux/avr32/syscallent.h: Likewise. * linux/bfin/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
/external/strace/linux/x32/syscallent.h
|
85c217849046414a98d2d90173960f39defc145f |
|
27-Sep-2012 |
Mike Frysinger <vapier@gentoo.org> |
x32: add 64bit annotation too Since someone can invoke these entry points directly with syscall(), at least decode their name and show that they're 64bit versions rather than just showing syscall_###. * linux/x32/syscallent.h: Sync all missing entries below 312 with x86_64. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/strace/linux/x32/syscallent.h
|
f04b5de5a5a743f0b3ca0895379dd2ba702ea174 |
|
22-Aug-2012 |
Mike Frysinger <vapier@gentoo.org> |
x32: update {g,s}etsockopt syscall numbers Starting with linux 3.6 (and backported to earlier kernels), these two syscalls have changed numbers (moving from native to compat entry points). Update the strace syscall list accordingly. * linux/x32/syscallent.h: Move setsockopt from 54 to 541, and move getsockopt from 55 to 542. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/strace/linux/x32/syscallent.h
|
d7df59197d406b14af21cbc734d286c27108e2db |
|
04-Jun-2012 |
Mike Frysinger <vapier@gentoo.org> |
x32: update syscall table This syncs with the syscall table as it is in linux 3.4. * linux/x32/syscallent.h (59): Fix comment typo. (78): Add missing getdents entry. (174): Delete create_module entry (not in the kernel). (181, 182, 183, 184, 185): Add missing entries. (524, 536, 539, 540): Fix spacing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/strace/linux/x32/syscallent.h
|
35be58119e3727a694d8c9f9b83f372401fcc4c0 |
|
16-Apr-2012 |
H.J. Lu <hongjiu.lu@intel.com> |
Add x32 support to strace X32 support is added to Linux kernel 3.4. In a nutshell, x32 is x86-64 with 32bit pointers. At system call level, x32 is also identical to x86-64, as shown by many changes like "defined(X86_64) || defined(X32)". The main differerence bewteen x32 and x86-64 is off_t in x32 is long long instead of long. This patch adds x32 support to strace. Tested on Linux/x32. * configure.ac: Support X32. * defs.h: Set SUPPORTED_PERSONALITIES to 3 for X86_64, Set PERSONALITY2_WORDSIZE to 4 for X86_64. Add tcb::ext_arg for X32. * file.c (stat): New for X32. (sys_lseek): Use 64-bit version for X32. (printstat64): Check current_personality != 1 for X86_64. * ipc.c (indirect_ipccall): Check current_personality == 1 for X86_64. * mem.c (sys_mmap64): Also use tcp->u_arg for X32. Print NULL for zero address. Call printllval for offset for X32. * pathtrace.c (pathtrace_match): Don't check sys_old_mmap for X32. * process.c (ARG_FLAGS): Defined for X32. (ARG_STACK): Likewise. (ARG_PTID): Likewise. (change_syscall): Handle X32. (struct_user_offsets): Support X32. (sys_arch_prctl): Likewise. * signal.c: Include <asm/sigcontext.h> for X32. (SA_RESTORER): Also define for X32. * syscall.c (update_personality): Support X32 for X86_64. (is_restart_error): Likewise. (syscall_fixup_on_sysenter): Likewise. (get_syscall_args): Likewise. (get_syscall_result): Likewise. (get_error): Likewise. (__X32_SYSCALL_BIT): Define if not defined. (__X32_SYSCALL_MASK): Likewise. (get_scno): Check DS register value for X32. Use __X32_SYSCALL_MASK on X32 system calls. * util.c (printllval): Use ext_arg for X32. (printcall): Support X32. (change_syscall): Likewise. (arg0_offset): Likewise. (arg1_offset): Likewise. * Makefile.am (EXTRA_DIST): Add linux/x32/errnoent.h, linux/x32/ioctlent.h.in, linux/x32/signalent.h, linux/x32/syscallent.h, linux/x86_64/errnoent2.h, linux/x86_64/ioctlent2.h, linux/x86_64/signalent2.h and linux/x86_64/syscallent2.h. * linux/x32/errnoent.h: New. * linux/x32/ioctlent.h.in: Likewise. * linux/x32/signalent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/errnoent2.h: Likewise. * linux/x86_64/ioctlent2.h: Likewise. * linux/x86_64/signalent2.h: Likewise. * linux/x86_64/syscallent2.h: Likewise. Signed-off-by: H.J. Lu <hongjiu.lu@intel.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/external/strace/linux/x32/syscallent.h
|