39bac055674d23770b9a724221b728e443196ea7 |
|
26-May-2017 |
Elliott Hughes <enh@google.com> |
Upgrade strace to 4.17. Noteworthy changes in release 4.17 (2017-05-24) =============================================== * Changes in command line syntax * Syscall classes specified in -e trace= option now have % prefix (like -e trace=%process). Old style class names without leading % are still supported, but considered deprecated now. * Improvements * Optimized syscall filtering. * Improved representation of timestamps. * Enhanced decoding of sched_setattr syscall. * Added -e trace=%stat option for tracing variants of stat syscall. * Added -e trace=%lstat option for tracing variants of lstat syscall. * Added -e trace=%fstat option for tracing variants of fstat and fstatat syscalls. * Added -e trace=%%stat option for tracing syscalls used for querying file status information (stat, lstat, fstat, fstatat, statx, and their variations). * Added -e trace=%statfs option for tracing statfs, statfs64 and statvfs syscalls. * Added -e trace=%fstatfs option for tracing fstatfs, fstatfs64 and fstatvfs syscalls. * Added -e trace=%%statfs option for tracing syscalls used for querying file system statistics information (statfs-like, fstatfs-like and ustat). * Added -e trace=/regex option for filtering syscalls using regular expressions. * Added support for prepending of question mark before syscall qualification in -e trace expressions in order to suppress error in case no syscalls matched the provided qualification. * Implemented decoding of signal mask in rt_sigreturn syscall on alpha, arc, arm, avr32, bfin, cris, hppa, m68k, metag, microblaze, mips, nios2, or1k, powerpc, powerpc64, riscv, sh, sh64, sparc, sparc64, tile, x86, and xtensa architectures. * Implemented decoding of statx syscall. * Implemented decoding of NS_* ioctl commands. * Implemented decoding of the remaining V4L2_BUF_TYPE_* types. * Implemented decoding of VIDIOC_[SG]_TUNER ioctl commands. * Implemented decoding of NLMSG_ERROR netlink messages. * Improved decoding of BPF_PROG_ATTACH command of bpf syscall. * Improved decoding of misplaced parts in DM_* ioctl commands. * Updated lists of ioctl commands from Linux 4.11. * Bug fixes * Fixed decoding of flags argument of preadv2 and pwritev2 syscalls on x32. * Fixed the number of arguments and tracing flags of alpha specific syscalls. * Fixed decoding of old sigsuspend syscall on alpha, cris, mips, powerpc, powerpc64, sh, sh64, sparc, and sparc64. * Fixed decoding of sgetmask and ssetmask syscalls on 64-bit architectures. * Fixed decoding of netlink messages received within struct msghdr. * Worked around a bug in miscompiled aarch64 kernels leading to the 3rd argument of sched_getattr syscall being not quite 32-bit. * Fixed corner cases of printing inaccessible times argument of utimes and futimesat syscalls. Bug: N/A Test: strace date Change-Id: Idc4614a3f16ffe57fdca2a07a05253900d1c52bb
/external/strace/linux/mips/syscallent-o32.h
|
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/mips/syscallent-o32.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/mips/syscallent-o32.h
|
c4da489a74a7b7cad6ea8084eae31f2beb7cdf8d |
|
23-Aug-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Introduce a separate SEN entry for fstatat64 syscall * linux/dummy.h (sys_fstatat64): Redirect to sys_newfstatat. * linux/32/syscallent.h: Replace SEN(newfstatat) with SEN(fstatat64). * linux/alpha/syscallent.h: Likewise. * 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/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * pathtrace.c (pathtrace_match): Handle SEN_fstatat64.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.h
|
1e9c9663981c3cc28cb36d0ed6dc5df4ed35791f |
|
29-Apr-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove initialization of big holes in syscallent.h files There is no need to explicitly initialize big holes after conversion of syscallent.h files to use designated initializers. For architectures that have some data at the end of syscallent.h this initialization of big holes is no-op, for others it just inflates the table unnecessarily. * linux/arc/syscallent.h: Remove initialization of arch specific block at the end of table. * linux/metag/syscallent.h: Likewise. * linux/nios2/syscallent.h: Likewise. * linux/or1k/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/tile/syscallent1.h: Likewise. * linux/arm/syscallent.h: Remove explicit initialization of a big hole before socket subcalls. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/powerpc64/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/sparc64/syscallent.h: Likewise. * linux/mips/syscallent-compat.h: Remove explicit initialization of big holes between different mips ABIs. * linux/mips/syscallent-n64.h: Remove explicit initialization of big holes before socket subcalls and between different mips ABIs. * linux/mips/syscallent-o32.h: Likewise.
/external/strace/linux/mips/syscallent-o32.h
|
ef2007eccc787ff43132e62230485210844ba271 |
|
20-Apr-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
mips o32, powerpc, powerpc64: fix decoding of iopl syscall * linux/mips/syscallent-o32.h (iopl): Fix nargs. * linux/powerpc/syscallent.h (iopl): Fix nargs and sys_func. * linux/powerpc64/syscallent.h (iopl): Likewise.
/external/strace/linux/mips/syscallent-o32.h
|
0cb245a76cec91b88a685d509c904e3e49b735bc |
|
20-Feb-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: wire up copy_file_range syscall * linux/mips/syscallent-n32.h [6324]: Add copy_file_range entry. * linux/mips/syscallent-n64.h [5320]: Likewise. * linux/mips/syscallent-o32.h [4360]: Likewise.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.h
|
a1e822870e99957027b57364a82f826eb4fc628d |
|
12-Feb-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
alpha, ia64, mips, sh, sh64: fix the number of pipe syscall arguments On alpha, ia64, mips, sh, sh64, sparc, and sparc64 architectures pipe syscall does not take arguments. * linux/alpha/syscallent.h (pipe): Change nargs to 0. * linux/ia64/syscallent.h (pipe): Likewise. * linux/mips/syscallent-n32.h (pipe): Likewise. * linux/mips/syscallent-n64.h (pipe): Likewise. * linux/mips/syscallent-o32.h (pipe): Likewise. * linux/sh/syscallent.h (pipe): Likewise. * linux/sh64/syscallent.h (pipe): Likewise.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.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/mips/syscallent-o32.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/mips/syscallent-o32.h
|
e3a2fe007b8b6f29c4c3c46d540a483406eb43be |
|
08-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: fix fadvise64 syscall entries * linux/mips/syscallent-n32.h [6216]: Change syscall handler from fadvise64 to fadvise64_64. * linux/mips/syscallent-n64.h [5215]: Rename from "fadvise64_64" to "fadvise64" * linux/mips/syscallent-o32.h [4254]: Likewise.
/external/strace/linux/mips/syscallent-o32.h
|
69b7307225874edc9902ad2409bc435158112ffb |
|
08-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix select and _newselect syscall entries Change syscall names to match kernel __NR_* constants. This reverts commit ddcf54969d253582ab2cfdcab8ede9cdae3fb171. * linux/arm/syscallent.h [82]: Rename "oldselect" to "select". [142]: Rename "select" to "_newselect". * linux/bfin/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/powerpc/syscallent.h [82]: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/hppa/syscallent.h [142]: Rename "select" to "_newselect". * linux/mips/syscallent-n32.h [6022]: Rename "select" to "_newselect". * linux/mips/syscallent-n64.h [5022]: Likewise. * linux/mips/syscallent-o32.h [4142]: Likewise. * linux/s390/syscallent.h [142]: Rename "select" to "_newselect". * linux/sparc/syscallent.h [230]: Rename "select" to "_newselect". * tests/oldselect.test: Rename oldselect to select. Convert from match_grep to match_diff. * tests/oldselect.expected: Likewise. * xselect.c: New file, based on select.c. * tests/_newselect.c: New file. * tests/select.c: Replace with a wrapper around xselect.c. * tests/select.test: Parametrize. * tests/_newselect.test: New test. * tests/Makefile.am (check_PROGRAMS): Add _newselect. (TESTS): Add _newselect.test. (EXTRA_DIST): Add xselect.c. * tests/.gitignore: Add _newselect.
/external/strace/linux/mips/syscallent-o32.h
|
211d6ef4b673673fe24060b18ca582b9e68fffbb |
|
04-Dec-2015 |
Elvira Khabirova <lineprinter0@gmail.com> |
fcntl: create a separate parser for fcntl64 syscall * fcntl.c(print_fcntl): New function, made from SYS_FUNC(fcntl). (SYS_FUNC(fcntl), SYS_FUNC(fcntl64)): Use it. * linux/32/syscallent.h: Change parser of fcntl64 to SEN(fcntl64). * 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/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.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/mips/syscallent-o32.h
|
ce93bbdef166ea6fb242ac89b9d28125234d25d5 |
|
21-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
mips o32: fix utimensat syscall entry * linux/mips/syscallent-o32.h (utimensat): set sys_flags and sys_func.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.h
|
f34b97f89dd3893ef3652a6899487771402fc13c |
|
17-Apr-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
mips o32: decode indirect syscall Implement decoding of MIPS O32 specific indirect syscall. * syscall.c [LINUX_MIPSO32] (decode_mips_subcall, sys_syscall): New functions. (trace_syscall_entering) [LINUX_MIPSO32]: Use decode_mips_subcall. * linux/mips/syscallent-o32.h (4000): Change sys_func to sys_syscall. Reported-and-tested-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
/external/strace/linux/mips/syscallent-o32.h
|
ddcf54969d253582ab2cfdcab8ede9cdae3fb171 |
|
27-Feb-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Rename _newselect to select As an exception to the general rules that syscall names should match __NR_* constants defined in kernel headers, show select as "select" and old select as "oldselect". * linux/arm/syscallent.h (82): Change name to oldselect. * linux/hppa/syscallent.h (142): Change name to select. * linux/mips/syscallent-n32.h (6022): Likewise. * linux/mips/syscallent-n64.h (5022): Likewise. * linux/mips/syscallent-o32.h (4142): Likewise. * linux/sparc/syscallent.h (230): Likewise.
/external/strace/linux/mips/syscallent-o32.h
|
b396bf63a5fc92a0b6d5a8a384ea548876e1b59e |
|
13-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: enable indirect ipc subcall support * linux/mips/syscallent-n32.h [LINUX_MIPSN32]: Define SYS_socket_subcall, include "subcall.h". * linux/mips/syscallent-n64.h [LINUX_MIPSN64]: Likewise. * linux/mips/syscallent-o32.h [LINUX_MIPSO32]: Likewise.
/external/strace/linux/mips/syscallent-o32.h
|
d59287dcac3019e8bc52056bffe5826c638902c2 |
|
13-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: remove stub entries from syscallent files, generate stubs at build time * linux/mips/genstub.sh: New file. * Makefile.am (EXTRA_DIST): Add it. * configure.ac [MIPS]: Use it to generate syscallent stubs. * linux/mips/.gitignore: Add syscallent stubs. * linux/mips/syscallent-n32.h: Remove stub entries, include the stub file instead. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.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/mips/syscallent-o32.h
|
40ed3d2b69fb9886e98310c76f63fd819fc7d9bf |
|
10-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix NUMA related syscall entries * linux/alpha/syscallent.h (mbind, get_mempolicy, set_mempolicy): Set sys_func. * linux/hppa/syscallent.h (mbind, get_mempolicy, set_mempolicy): Fix nargs, set sys_func. * linux/microblaze/syscallent.h (mbind): Fix nargs. * linux/mips/syscallent-n32.h (move_pages): Set sys_func. * linux/mips/syscallent-n64.h (move_pages): Likewise. * linux/mips/syscallent-o32.h (mbind): Fix nargs. * linux/or1k/syscallent.h (migrate_pages): Likewise. * linux/powerpc/syscallent.h (migrate_pages): Likewise. * linux/sh/syscallent.h (mbind): Likewise. * linux/sh64/syscallent.h (mbind): Likewise.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.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/mips/syscallent-o32.h
|
985425a30bb5d380e160acde997770067388dc76 |
|
29-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: fix syscall entries that should have TP flag set
/external/strace/linux/mips/syscallent-o32.h
|
7845a42b39e59e904d01e75e21f7bc7eb6462560 |
|
17-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix preadv/pwritev offset decoding * util.c (printllval): Add align argument. * defs.h (printllval): Update prototype. (printllval_aligned, printllval_unaligned): New macros. * file.c (sys_readahead, sys_truncate64, sys_ftruncate64, sys_fadvise64, sys_fadvise64_64, sys_sync_file_range, sys_sync_file_range2, sys_fallocate): Replace printllval call with printllval_aligned. * io.c (sys_pread, sys_pwrite): Likewise. (sys_preadv, sys_pwritev): Replace printllval call with printllval_unaligned. * linux/arm/syscallent.h: Set the number of preadv and pwritev arguments to 5. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. Reported-by: Dima Kogan <dima@secretsauce.net>
/external/strace/linux/mips/syscallent-o32.h
|
16b9dcf8b870f47305aa2db174f5abccefb7cd94 |
|
09-Aug-2013 |
William Manley <william.manley@youview.com> |
Add support for decoding sync_file_range * file.c (sync_file_range_flags): New xlat structure. (sys_sync_file_range, sys_sync_file_range2): New functions. * linux/syscall.h (sys_sync_file_range, sys_sync_file_range2): New prototypes. * linux/dummy.h (sys_sync_file_range, sys_sync_file_range2): Remove. * linux/mips/syscallent-o32.h: Set the number of sync_file_range arguments to 7.
/external/strace/linux/mips/syscallent-o32.h
|
9e937d9c471a7e365d621d11d4fa06c8f4b02454 |
|
19-Aug-2013 |
Mike Frysinger <vapier@gentoo.org> |
fanotify_mark: fix number of args for 32bit arches The fanotify_mark func takes a 64bit mask, so 32bit arches have to split it up into two fields. When the syscall was added, it was listed as only having 5 fields total (since that's correct for 64bit systems). * linux/arm/syscallent.h: Set the number of fanotify_mark arguments to 6. * linux/bfin/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/metag/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/or1k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/tile/syscallent1.h: Likewise. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Chris Metcalf <cmetcalf@tilera.com> [for tile]
/external/strace/linux/mips/syscallent-o32.h
|
8190912d2e97c9d18de65dc8a6fbd93750642bd3 |
|
11-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
mips o32: fix syscall table * linux/mips/syscallent-o32.h: Add entries for getpmsg, putpmsg, get_mempolicy, set_mempolicy and vserver. Fix names for umount, umount2, mmap, mmap2, pread64, pwrite64, sigaltstack and fstatat64 syscalls.
/external/strace/linux/mips/syscallent-o32.h
|
f9236e6d76f617819b45c10e3485f07c3d9083f8 |
|
08-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
sync_file_range: fix number of syscall arguments * linux/avr32/syscallent.h: Set the number of sync_file_range arguments to 6. * linux/bfin/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/or1k/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Change sync_file_range to sync_file_range2, set the number of sync_file_range2 arguments to 6. * linux/tile/syscallent.h: Change sync_file_range to sync_file_range2, set the number of sync_file_range2 arguments to 4. * linux/tile/syscallent1.h: Change sync_file_range to sync_file_range2. update handler. * linux/xtensa/syscallent.h: Likewise.
/external/strace/linux/mips/syscallent-o32.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/mips/syscallent-o32.h
|
3f4a41a55de2f29bb1a38947ce83bf21073647cb |
|
07-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
fadvise64, fadvise64_64: fix handlers and number of syscall arguments The number of fadvise64 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. The number of fadvise64_64 arguments is 4 for 64bit and ilp32, for unaligned 32bit and most of aligned 32bit it equals to 6, and for mips o32 it equals to 7. * linux/alpha/syscallent.h: Set fadvise64 handler. * linux/s390/syscallent.h: Likewise. * linux/hppa/syscallent.h: Set fadvise64_64 handler, change the number of syscall arguments to 6. * linux/ia64/syscallent.h: Change the number of fadvise64 arguments to 4. * linux/mips/syscallent-n32.h: Likewise. * linux/tile/syscallent1.h: Change the number of fadvise64 arguments to 5. * linux/mips/syscallent-o32.h: Change the number of fadvise64_64 arguments to 7. * linux/s390x/syscallent.h: Change fadvise64_64 handler. Set fadvise64 handler. Change numbers of fadvise64 and fadvise64_64 arguments to 4. * linux/sh64/syscallent.h: Change fadvise64_64 handler. Change numbers of fadvise64 and fadvise64_64 arguments to 4. * linux/sparc/syscallent.h: Set fadvise64 and fadvise64_64 handlers, change numbers of their arguments to 5 and 6. * linux/x86_64/syscallent.h: Change fadvise64 handler.
/external/strace/linux/mips/syscallent-o32.h
|
34c445b5c64ca70096f190f1abea9b4788ee6414 |
|
07-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: split syscallent.h linux/mips/syscallent.h consisted of several parts that had little in common. Split them into separate files to ease maintenance. * linux/mips/syscallent-compat.h: New file. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/mips/syscallent.h: Include them. * Makefile.am (EXTRA_DIST): Add them.
/external/strace/linux/mips/syscallent-o32.h
|