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/dummy.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/dummy.h
|
a7c4ee41ff52f9971c32203e4112467fdd608250 |
|
24-Aug-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Mpersify parsers of struct stat and struct stat64 On many architectures that support multiple personalities, struct stat differ between personalities. While old code could handle these differences, there are some architectures, e.g. sparc64, that also have different struct stat64. Rewrite parsers using mpers functionality to fix these issues. * fetch_struct_stat.c: New file. * fetch_struct_stat64.c: Likewise. * print_struct_stat.c: Likewise. * oldstat.c: Likewise. * stat.c: Likewise. * stat.h: Likewise. * stat64.c: Likewise. * file.c: Remove. * printstat.h: Likewise. * linux/aarch64/stat32.h: Likewise. * linux/powerpc64/stat32.h: Likewise. * linux/riscv/stat32.h: Likewise. * linux/sparc64/stat32.h: Likewise. * linux/tile/stat32.h: Likewise. * linux/x32/stat32.h: Likewise. * linux/x86_64/stat32.h: Likewise. * Makefile.am (strace_SOURCES): Add fetch_struct_stat.c, fetch_struct_stat64.c, print_struct_stat.c, oldstat.c, stat.c, stat.h, and stat64.c. Remove file.c, printstat.h, linux/aarch64/stat32.h, linux/powerpc64/stat32.h, linux/riscv/stat32.h, linux/sparc64/stat32.h, linux/tile/stat32.h, linux/x32/stat32.h, and linux/x86_64/stat32.h. * configure.ac (AC_CHECK_MEMBERS): Add struct stat64.st_mtime_nsec. * defs.h (struct strace_stat): New declaration. (print_struct_stat): New prototype. * linux/dummy.h (sys_fstatat64): Remove.
/external/strace/linux/dummy.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/dummy.h
|
3c8149a0f2eec2d1407aaca180b8ff0291a84595 |
|
05-Aug-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
linux: add #include guards * linux/dummy.h: Add #include guard. * linux/inet_diag.h: Likewise. * linux/netlink_diag.h: Likewise. * linux/sock_diag.h: Likewise. * linux/syscall.h: Likewise. * linux/unix_diag.h: Likewise.
/external/strace/linux/dummy.h
|
b412d75f747b3cd25300b76d536365b00096bd5e |
|
22-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix corner cases of ipc syscall decoding * xlat/ipccalls.in: New file. * ipc.c: New file. * Makefile.am (libstrace_a_SOURCES): Add it. * linux/dummy.h (sys_ipc): Remove stub alias. * syscall.c (decode_ipc_subcall): Treat 1st argument of ipc syscall as "unsigned int". [S390 || S390X]: Skip ipc cubcalls that have non-zero version. [SPARC64]: Likewise, for the native personality. Save ipc cubcall version for later use by specific ipc parsers. * ipc_msg.c (SYS_FUNC(msgrcv)): Handle non-zero ipc subcall version. [SPARC64]: Handle non-ipc_kludge case for the native personality. * linux/subcall.h (msgrcv): Change nargs from 4 to 5. * linux/s390/syscallent.h (ipc): Change nargs from 6 to 5. * linux/s390x/syscallent.h (ipc): Likewise.
/external/strace/linux/dummy.h
|
e0a0d89bc522d931d83caec184d965ac94af6b0f |
|
20-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix corner cases of socketcall syscall * xlat/socketcalls.in: New file. * socketcall.c: New file. * Makefile.am (libstrace_a_SOURCES): Add it. * linux/dummy.h (sys_socketcall): Remove stub alias. * syscall.c (decode_socket_subcall): Treat 1st argument of socketcall as "int". Do not substitute syscall until all socketcall arguments have been fetched successfully.
/external/strace/linux/dummy.h
|
126464566d84d5bc2203681a98c58ba79d5f7fe6 |
|
20-Apr-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove parser of unimplemented timerfd syscall timerfd syscall was introduced in v2.6.22-rc1, but in v2.6.25-rc1 it was replaced by timerfd_* syscall family. * linux/avr32/syscallent.h (timerfd): Fix nargs. * linux/dummy.h (sys_timerfd): Add stub alias. * time.c (SYS_FUNC(timerfd)): Remove.
/external/strace/linux/dummy.h
|
1ab6e25585c0b4aeac129fe5397ff0b94453d549 |
|
14-Feb-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Replace printargs_lu and printargs_ld with printargs_u and printargs_d * defs.h (printargs_lu): Rename to printargs_u. (printargs_ld): Rename to printargs_d. * syscall.c (printargs_lu): Rename to printargs_u. Replace %lu with %u. (printargs_ld): Rename to printargs_d. Replace %ld with %d. * linux/dummy.h (sys_getpgrp): Change to printargs. (sys_alarm): Change to printargs_u. (sys_getpgid, sys_getsid, sys_nice, sys_setpgid, sys_setpgrp, sys_timer_delete, sys_timer_getoverrun): Change to printargs_d.
/external/strace/linux/dummy.h
|
606fcd08780e54718956d6b4e9f769f0fd837350 |
|
13-Jan-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
mips o32: alias sys_syscall to printargs * linux/dummy.h (sys_syscall): Alias to printargs. * syscall.c [LINUX_MIPSO32] (SYS_FUNC(syscall)): Remove.
/external/strace/linux/dummy.h
|
fbec5102979275bf742e3de7caa3a564c4e4181e |
|
08-Jan-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
alpha: alias getdtablesize to printargs * linux/dummy.h [ALPHA] (sys_getdtablesize): Alias to printargs. * desc.c [ALPHA] (SYS_FUNC(getdtablesize)): Remove.
/external/strace/linux/dummy.h
|
a56a81c1ec0495b4f644d901ddaa2b54cb3122fe |
|
24-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove parsers of getpmsg and putpmsg syscalls These system calls are not implemented in the Linux kernel. * linux/dummy.h(getpmsg, putpmsg): Move to the list of deprecated syscalls. * Makefile.am (strace_SOURCES): Remove stream.c. * stream.c: Remove. * xlat/pmsgflags.in: Remove.
/external/strace/linux/dummy.h
|
aae525f94edb1f797159e86685798e4681d51756 |
|
24-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove parser of query_module syscall Since query_module syscall is present only in kernels before Linux 2.6 and strace does not support those kernels, there is no use to keep this parser any longer. * bjm.c: Do not include <sys/*>, "xlat/qm_which.h", and "xlat/modflags.h". (MOD_*, QM_*, module_symbol, module_info, SYS_FUNC(query_module)): Remove. * linux/dummy.h (sys_query_module): Add stub alias. * xlat/modflags.in: Remove. * xlat/qm_which.in: Remove.
/external/strace/linux/dummy.h
|
10bd3157b884c1ec7d07008d907d3f9723a8a39f |
|
24-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Move sysfs syscall to deprecated category * linux/dummy.h (sys_sysfs): Move to the list of deprecated syscalls.
/external/strace/linux/dummy.h
|
4b3a1703bde75259457a9c4f0e888439ca849ab9 |
|
22-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement name_to_handle_at and open_by_handle_at syscalls decoding * file_handle.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_name_to_handle_at, sys_open_by_handle_at): Remove stub aliases. * pathtrace.c (pathtrace_match): Add SEN_name_to_handle_at. * tests/file_handle.c: New file. * tests/file_handle.test: New test. * tests/Makefile.am (check_PROGRAMS): Add file_handle. (TESTS): Add file_handle.test. * tests/.gitignore: Add file_handle.
/external/strace/linux/dummy.h
|
60d752409019d5e2db990757d036244850196219 |
|
22-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement lookup_dcookie syscall decoding * lookup_dcookie.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_lookup_dcookie): Remove stub alias.
/external/strace/linux/dummy.h
|
ea1970500ed1b5a1888de3ff6347471c822182fa |
|
22-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement kexec_file_load syscall decoding * xlat/kexec_file_load_flags.in: New file. * kexec.c: Include "xlat/kexec_file_load_flags.h". (SYS_FUNC(kexec_file_load)): New function. * linux/dummy.h (sys_kexec_file_load): Remove stub alias. * pathtrace.c (pathtrace_match): Add SEN_kexec_file_load.
/external/strace/linux/dummy.h
|
7aa9c0d2999671aa018172e41d52a55ddeac1723 |
|
22-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement kcmp syscall decoding * kcmp.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_kcmp): Remove stub alias. * xlat/kcmp_types.in: New file.
/external/strace/linux/dummy.h
|
dcd00c39435387c3634e53375d4c47aaed8743fe |
|
22-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement iopl syscall decoding * iopl.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_iopl): Remove stub alias.
/external/strace/linux/dummy.h
|
2aa180e36a39385a251640a37c14166db8893767 |
|
22-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement ioperm syscall decoding * ioperm.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_ioperm): Remove stub alias.
/external/strace/linux/dummy.h
|
b36d132907088b878fe77c25a7e8a9c85bf379f0 |
|
19-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Assume that libc provides sendmsg Starting with commit v4.6-281-g7af9f35, we implicitly assume that HAVE_SENDMSG is always defined. Therefore, the check for sendmsg availability is redundant and could be safely removed. * configure.ac (AC_CHECK_FUNCS): Remove sendmsg. * linux/dummy.h [!HAVE_SENDMSG] (sys_recvmsg, sys_sendmsg): Remove stub aliases. * net.c [HAVE_SENDMSG]: Define unconditionally. * syscall.c (dumpio) [HAVE_SENDMSG]: Likewise.
/external/strace/linux/dummy.h
|
0d0a50aa2511f7fd0b32af41e6b18e34e37e6345 |
|
15-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement mlock2 syscall decoding * mem.c: Include "xlat/mlock_flags.h". (SYS_FUNC(mlock2)): New function. * xlat/mlock_flags.in: New file. * xlat/mlockall_flags.in: Add MCL_ONFAULT, add default values. * linux/dummy.h (mlock2): Remove. * tests/mlock2.c: New file. * tests/mlock2.test: New test. * tests/Makefile.am (check_PROGRAMS): Add mlock2. (TESTS): Add mlock2.test. * tests/.gitignore Add mlock2.
/external/strace/linux/dummy.h
|
2aec1e67dfe78eea06db48a76adbd392d8ec5a31 |
|
15-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement membarrier syscall decoding * membarrier.c: New file. * Makefile.am (strace_SOURCES): Add it. * xlat/membarrier_cmds.in: New file. * linux/dummy.h (membarrier): Remove. * tests/membarrier.c: New file. * tests/membarrier.test: New test. * tests/Makefile.am (check_PROGRAMS): Add membarrier. (TESTS): Add membarrier.test. * tests/.gitignore: Add membarrier.
/external/strace/linux/dummy.h
|
a6ebdb149edadac7ddb793448778bd8643003d27 |
|
15-Nov-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement userfaultfd syscall decoding * userfaultfd.c: New file. * Makefile.am (strace_SOURCES): Add it. * xlat/uffd_flags.in: New file. * linux/dummy.h (userfaultfd): Remove. * tests/userfaultfd.c: New file. * tests/userfaultfd.test: New test. * tests/Makefile.am (check_PROGRAMS): Add userfaultfd. (TESTS): Add userfaultfd.test. * tests/.gitignore: Add userfaultfd.
/external/strace/linux/dummy.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/dummy.h
|
baaa41c97ab1dc2cd2ab3a553a2624079c560939 |
|
02-Aug-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix epoll_create syscall decoding * epoll.c (sys_epoll_create): New function. * linux/dummy.h (sys_epoll_create): Remove.
/external/strace/linux/dummy.h
|
3456bcca6732829c00b66745743325fc6162322f |
|
29-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement sched_getattr and sched_setattr syscalls decoding * xlat/sched_flags.in: New file. * sched.c: Include "xlat/sched_flags.h". (print_sched_attr, sys_sched_setattr, sys_sched_getattr): New functions. * linux/dummy.h (sys_sched_getattr, sys_sched_setattr): Remove. * tests/sched_xetattr.c: New file. * tests/sched_xetattr.test: New test. * tests/Makefile.am (check_PROGRAMS): Add sched_xetattr. (TESTS): Add sched_xetattr.test. * tests/.gitignore: Add sched_xetattr.
/external/strace/linux/dummy.h
|
95b84ea641e724dff6e0f9b7d66a8a00b75c196a |
|
29-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement memfd_create syscall decoding * memfd_create.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_memfd_create): Remove. * pathtrace.c (pathtrace_match): Add SEN_memfd_create. * xlat/memfd_create_flags.in: New file. * tests/memfd_create.c: New file. * tests/memfd_create.expected: Likewise. * tests/memfd_create.test: New test. * tests/Makefile.am: (check_PROGRAMS): Add memfd_create. (TESTS): Add memfd_create.test. (EXTRA_DIST): Add memfd_create.expected. * tests/.gitignore: Add memfd_create.
/external/strace/linux/dummy.h
|
7c2210190a26e9dee80aac76fa7f06adf1c21701 |
|
26-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement execveat syscall decoding * execve.c (decode_execve): New function. (sys_execve): Use it. (sys_execveat): New function. * linux/dummy.h (sys_execveat): Remove. * tests/execveat.c: New file. * tests/execveat.expected: Likewise. * tests/execveat-v.expected: Likewise. * tests/execveat.test: New test. * tests/Makefile.am (check_PROGRAMS): Add execveat. (TESTS): Add execveat.test. (EXTRA_DIST): Add execveat.expected and execveat-v.expected. * tests/.gitignore: Add execveat.
/external/strace/linux/dummy.h
|
ddb53dd142ea6702afbc1ff238840969183a709d |
|
26-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement bpf syscall decoding * bpf.c: New file. * Makefile.am (strace_SOURCES): Add it. * configure.ac (AC_CHECK_HEADERS): Add linux/bpf.h. * linux/dummy.h (sys_bpf): Remove. * pathtrace.c (pathtrace_match): Add SEN_bpf. * xlat/bpf_commands.in: New file. * xlat/bpf_map_types.in: New file. * xlat/bpf_map_update_elem_flags.in: New file. * xlat/bpf_prog_types.in: New file. * tests/bpf.c: New file. * tests/bpf.test: New test. * tests/Makefile.am (check_PROGRAMS): Add bpf. (TESTS): Add bpf.test. * tests/.gitignore: Add bpf.
/external/strace/linux/dummy.h
|
cbabaf9141316a3c7d1c488d814c67230fe8f093 |
|
20-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_epoll_create to printargs_ld * desc.c (sys_epoll_create): Remove. * linux/dummy.h (sys_epoll_create): Alias to printargs_ld.
/external/strace/linux/dummy.h
|
771c2a4651633319fedd92774eaf479f9acf2a58 |
|
20-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_connect to sys_bind * linux/dummy.h (sys_connect): Alias to sys_bind. * net.c (sys_connect): Remove.
/external/strace/linux/dummy.h
|
483c15f4bec9c28c34fdf9cd5ffd86ff7f43b928 |
|
10-Jul-2015 |
Elvira Khabirova <lineprinter0@gmail.com> |
Change comparisons with function pointers to comparisons with SENs * pathtrace.c (pathtrace_match): Change all comparisons with function pointers to a single SEN based switch. * syscall.c (dumpio, trace_syscall_entering): Change all comparisons with function pointers to comparisons with SENs. * ipc.c (sys_ipc): Remove. * sock.c (sys_socketcall): Likewise. * linux/dummy.h (sys_ipc, sys_socketcall): New aliases.
/external/strace/linux/dummy.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/dummy.h
|
2af6903f456b549fd57ba8beceddec961803cb3d |
|
05-Feb-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement seccomp decoding * configure.ac (AC_CHECK_HEADERS): Add linux/filter.h and linux/seccomp.h. * defs.h (print_seccomp_filter): New prototype. * linux/dummy.h (sys_seccomp): Remove. * linux/syscall.h (sys_seccomp): New prototype. * prctl.c: Include <linux/seccomp.h>. (sys_prctl): Decode PR_SET_SECCOMP. * seccomp.c: New file. * Makefile.am (strace_SOURCES): Add it. * xlat/bpf_class.in: New file. * xlat/bpf_miscop.in: Likewise. * xlat/bpf_mode.in: Likewise. * xlat/bpf_op_alu.in: Likewise. * xlat/bpf_op_jmp.in: Likewise. * xlat/bpf_rval.in: Likewise. * xlat/bpf_size.in: Likewise. * xlat/bpf_src.in: Likewise. * xlat/seccomp_filter_flags.in: Likewise. * xlat/seccomp_mode.in: Likewise. * xlat/seccomp_ops.in: Likewise. * xlat/seccomp_ret_action.in: Likewise.
/external/strace/linux/dummy.h
|
fef09070d6f7788ac02aaca82ec4af6367787628 |
|
04-Feb-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement getrandom syscall decoding * getrandom.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_getrandom): Remove. * linux/syscall.h (sys_getrandom): New prototype. * xlat/getrandom_flags.in: New file. * tests/getrandom.c: New file. * tests/getrandom.awk: New file. * tests/getrandom.test: New test. * tests/Makefile.am (check_PROGRAMS): Add getrandom. (TESTS): Add getrandom.test. (EXTRA_DIST): Add getrandom.awk. * tests/.gitignore: Add getrandom.
/external/strace/linux/dummy.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/dummy.h
|
80f7db1fedefedb01cd2ce3107dfc264eab50601 |
|
13-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls Define two sets of parsers on architectures that support (either directly or via multiarch) 16-bit and 32-bit uid/gid syscalls simultaneously. Since the code in these two sets is essentially the same and the key difference between them is the size of uid_t, implement it by parametrizing uid_t and names of parser functions. * defs.h (NEED_UID16_PARSERS): New macro. * linux/syscall.h [NEED_UID16_PARSERS] (sys_chown16, sys_fchown16, sys_getresuid16, sys_getuid16, sys_setfsuid16, sys_setresuid16, sys_setreuid16, sys_setuid16): New prototypes. * linux/dummy.h (sys_geteuid16): Alias to sys_getuid16. (sys_getegid16, sys_getgid16, sys_getresgid16, sys_setfsgid16, sys_setgid16, sys_setregid16, sys_setresgid16): Alias to corresponding sys_*uid16 functions. * uid.c: Stop including <asm/posix_types.h>. Parametrize uid_t and names of all exported functions. (get_print_uid): New function. (sys_getresuid): Use it. (printuid): Check for (uid_t) -1. * uid16.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/arm/syscallent.h: Use sys_chown16, sys_fchown16, sys_getegid16, sys_geteuid16, sys_getgid16, sys_getresgid16, sys_getresuid16, sys_getuid16, sys_setfsgid16, sys_setfsuid16, sys_setgid16, sys_setregid16, sys_setresgid16, sys_setresuid16, sys_setreuid16, and sys_setuid16 parsers for *chown and [gs]et*[gu]id syscall entries. * linux/bfin/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * tests/uid16.c: New file. * tests/uid16.test: New test. * tests/Makefile.am (CHECK_PROGRAMS): Add uid16. (TESTS): Add uid16.test. * tests/.gitignore: Add uid16.
/external/strace/linux/dummy.h
|
907df1e1576ce31e9216335c9ee35cae8f89beb5 |
|
02-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_setdomainname to sys_sethostname Since parsers for setdomainname and sethostname syscalls are identical, replace sys_setdomainname with an alias to sys_sethostname. * linux/dummy.h (sys_setdomainname): Alias to sys_sethostname. * linux/syscall.h (sys_setdomainname): Remove. * process.c (sys_setdomainname): Remove.
/external/strace/linux/dummy.h
|
37548c4afc768cfc37866d77fb141f43823d9010 |
|
02-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_getpeername to sys_getsockname Since parsers for getpeername and getsockname syscalls are identical, replace sys_getpeername with an alias to sys_getsockname. * linux/dummy.h (sys_getpeername): Alias to sys_getsockname. * linux/syscall.h (sys_getpeername): Remove. * net.c (sys_getpeername): Remove.
/external/strace/linux/dummy.h
|
8238590c1dee40229ce987c2e855fc868fa923eb |
|
02-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_stime to sys_time Since parsers for stime and time syscalls are identical, replace sys_stime with an alias to sys_time. * linux/dummy.h (sys_stime): Alias to sys_time. * linux/syscall.h (sys_stime): Remove. * time.c (sys_stime): Remove.
/external/strace/linux/dummy.h
|
6355a1f8677857f613a8b3bbd209506d1634c73f |
|
01-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_mkdir and sys_mkdirat to sys_chmod and sys_fchmodat Special parsers for mkdir and mkdirat are redundant because sys_chmod and sys_fchmodat implement the same decoding. * file.c (decode_mkdir, sys_mkdir, sys_mkdirat): Remove. * linux/dummy.h (sys_mkdir): Alias to sys_chmod. (sys_mkdirat): Alias to sys_fchmodat. * linux/syscall.h (sys_mkdir, sys_mkdirat): Remove. * pathtrace.c (pathtrace_match): Do not check for sys_mkdirat.
/external/strace/linux/dummy.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/dummy.h
|
64aa1b1e2dd14c5259bd349270f4d1e29d4fb421 |
|
04-Jun-2014 |
Zubin Mithra <zubin.mithra@gmail.com> |
Decode paths associated with file descriptors returned by syscalls * defs.h (RVAL_FD): New macro. (RVAL_MASK, RVAL_STR, RVAL_NONE): Update. * desc.c (sys_dup, sys_delete_module): New functions. (do_dup2, decode_open, sys_creat): Change return value to RVAL_FD. * linux/dummy.h (sys_delete_module, sys_dup): Remove. * linux/syscall.h (sys_delete_module, sys_dup): New prototypes. * syscall.c (trace_syscall_exiting): Handle RVAL_FD. Signed-off-by: Zubin Mithra <zubin.mithra@gmail.com>
/external/strace/linux/dummy.h
|
b2ede14797b729659b0397431b28f34e57b5c4e7 |
|
13-May-2014 |
Masatake YAMATO <yamato@redhat.com> |
Enhance setns syscall decoding * process.c (sys_setns): New function. Decode the 2nd syscall argument using clone_flags. * linux/syscall.h (sys_setns): New prototype. * linux/dummy.h (sys_setns): Remove. Signed-off-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
/external/strace/linux/dummy.h
|
6556315493082df9a24dbce9dadea4d6673e9965 |
|
12-May-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_vfork to sys_fork * process.c (sys_vfork): Remove. * linux/syscall.h (sys_vfork): Likewise. * linux/dummy.h (sys_vfork): Alias to sys_fork. * linux/alpha/syscallent.h: Fix vfork entry. * util.c (setbpt): Do not check for sys_vfork. * syscall.c (syscall_fixup_for_fork_exec): Likewise.
/external/strace/linux/dummy.h
|
15bc2812698431b17b414fa98b972146102cb8c0 |
|
09-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
mips: enable decoding of set_thread_area * linux/dummy.h [MIPS]: Do not redirect sys_set_thread_area to printargs. * mem.c [MIPS] (sys_set_thread_area): Define.
/external/strace/linux/dummy.h
|
662221cab36826a502588279aaab4f3b9f942a60 |
|
09-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
x86_64, x32: enable decoding of modify_ldt, get_thread_area, and set_thread_area * linux/dummy.h [X86_64 || X32]: Do not redirect sys_modify_ldt, sys_get_thread_area, and sys_set_thread_area to printargs.
/external/strace/linux/dummy.h
|
3acf4035ea020f54a5fcfd203952e04c4dad48c3 |
|
05-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement add_key, keyctl, and request_key decoding * keyctl.c: New file. * linux/keyctl.h: Likewise. * Makefile.am (strace_SOURCES): Add keyctl.c. (EXTRA_DIST): Add linux/keyctl.h. * linux/dummy.h (sys_add_key, sys_keyctl, sys_request_key): Remove. * linux/syscall.h (sys_add_key, sys_keyctl, sys_request_key): New prototypes.
/external/strace/linux/dummy.h
|
fc4727de60fa79b0f638a2c78a3edf865dc75943 |
|
05-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement ioprio_get and ioprio_set decoding * ioprio.c: New file. * Makefile.am (strace_SOURCES): Add ioprio.c. * linux/dummy.h (sys_ioprio_get, sys_ioprio_set): Remove. * linux/syscall.h (sys_ioprio_get, sys_ioprio_set): New prototypes.
/external/strace/linux/dummy.h
|
f67502e4045393fb46d73e876128dfd539a63b04 |
|
05-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement finit_module decoding * bjm.c (module_init_flags): New xlat structure. (sys_finit_module): New function. * linux/dummy.h (sys_finit_module): Remove. * linux/syscall.h (sys_finit_module): New prototype.
/external/strace/linux/dummy.h
|
90aa9f4d72e26581ea0a39c02db625d7bd4e2962 |
|
05-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement kexec_load decoding * kexec.c: New file. * linux/kexec.h: Likewise. * Makefile.am (strace_SOURCES): Add kexec.c. (EXTRA_DIST): Add linux/kexec.h. * linux/dummy.h (sys_kexec_load): Remove. * linux/syscall.h (sys_kexec_load): New prototype.
/external/strace/linux/dummy.h
|
99db95dd039d8fd700e7759bf4969abb55b979b9 |
|
05-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement fanotify_init and fanotify_mark decoding * fanotify.c: New file. * linux/fanotify.h: Likewise. * Makefile.am (strace_SOURCES): Add fanotify.c. (EXTRA_DIST): Add linux/fanotify.h. * defs.h (print_dirfd): New prototype. * file.c (print_dirfd): Export. * linux/dummy.h (sys_fanotify_init, sys_fanotify_mark): Remove. * linux/syscall.h (sys_fanotify_init, sys_fanotify_mark): New prototypes. * pathtrace.c (pathtrace_match): Handle sys_fanotify_init and sys_fanotify_mark.
/external/strace/linux/dummy.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/dummy.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/dummy.h
|
44f0ed1ca560cad60194ae0542b9e223bdeff92b |
|
01-May-2013 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_*lstat* syscall printing functions * file.c (sys_lstat, sys_lstat64, sys_oldlstat): Remove. * linux/dummy.h: Move !HAVE_STRUCT___OLD_KERNEL_STAT aliases forward. (sys_lstat): Alias to sys_stat. (sys_lstat64): Alias to sys_stat64. (sys_oldlstat): Alias to sys_oldstat. * linux/syscall.h (sys_lstat, sys_lstat64, sys_oldlstat): Remove. * linux/x32/syscallent1.h (sys_lstat64): Remove.
/external/strace/linux/dummy.h
|
cc90291f4b4e6b042e977e2e58fb002a61189abe |
|
05-Mar-2013 |
Denys Vlasenko <vda.linux@googlemail.com> |
Disable STREAMS syscalls for non-SPARC text data bss dec hex filename 3002 0 1024 4026 fba stream.o.old 1729 0 1024 2753 ac1 stream.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/external/strace/linux/dummy.h
|
88eafd81ab061ff217c0b56f02b07c16cbd29ff4 |
|
04-Feb-2013 |
Ben Noordhuis <info@bnoordhuis.nl> |
Improve perf_event_open argument decoding * configure.ac (AC_CHECK_HEADERS): Add linux/perf_event.h. * desc.c [HAVE_LINUX_PERF_EVENT_H]: Include <linux/perf_event.h>. (perf_event_open_flags): New xlat structure. (sys_perf_event_open): New function. * linux/dummy.h (sys_perf_event_open): Remove. * linux/syscall.h (sys_perf_event_open): New prototype. Signed-off-by: Ben Noordhuis <info@bnoordhuis.nl> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
/external/strace/linux/dummy.h
|
b468f2320a8b8e245b481c78b58431ac56505849 |
|
16-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement prlimit64 decoding, rewrite [gs]etrlimit decoding * configure.ac: Remove AC_RLIM_T_IS_LONG_LONG call. Define SIZEOF_RLIM_T. * m4/long_long.m4 (AC_RLIM_T_IS_LONG_LONG): Remove. * linux/dummy.h (sys_prlimit64): Remove. * linux/syscall.h (sys_prlimit64): New prototype. * resource.c (resources): Reindent, add RLIMIT_RTTIME. (sprintrlim, print_rlimit32, sys_getrlimit, sys_setrlimit): Remove. [HAVE_LONG_LONG_RLIM_T]: Remove dead code. [_LFS64_LARGEFILE || HAVE_LONG_LONG_RLIM_T]: Likewise. (sprint_rlim64, print_rlimit64, decode_rlimit64, sprint_rlim32, print_rlimit32, decode_rlimit, sys_getrlimit, sys_setrlimit, sys_prlimit64): New functions.
/external/strace/linux/dummy.h
|
a6d91ded3f2d5401e09a9c2fa442aabfbfe593a8 |
|
16-Mar-2012 |
Denys Vlasenko <vda.linux@googlemail.com> |
Tidy up includes and copyright notices, fix indentation The files not mentioned in changelog below had only copyright notices fixes and indentation fixes. * defs.h: Include <stdint.h> and <inttypes.h>. * file.c: Do not include <inttypes.h>. Move struct kernel_dirent declaration below top include block. * block.c: Do not include <stdint.h> and <inttypes.h>. * quota.c: Likewise. * desc.c: Likewise. * signal.c: Likewise. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/external/strace/linux/dummy.h
|
297632be5cfba5d51fc027e518ad91cb40e71d0b |
|
13-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement sys_rt_tgsigqueueinfo syscall decoder * linux/dummy.h (sys_rt_tgsigqueueinfo): Remove. * linux/syscall.h (sys_rt_tgsigqueueinfo): New prototype. * signal.c (print_sigqueueinfo): New function, based on sys_rt_sigqueueinfo. (sys_rt_sigqueueinfo): Use print_sigqueueinfo. (sys_rt_tgsigqueueinfo): New function.
/external/strace/linux/dummy.h
|
ee3c22ce55bdca3c4a96ffaeddb0f67c4e4ee6d3 |
|
13-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement syslog syscall decoder * linux/dummy.h (sys_syslog): Remove. * linux/syscall.h (sys_syslog): New prototype. * system.c (syslog_action_type): New xlat structure. (sys_syslog): New function.
/external/strace/linux/dummy.h
|
7af9f35001af19e2844b3e9fb3c672ee696be17b |
|
12-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement sendmmsg syscall decoder * linux/dummy.h (sys_sendmmsg): Remove. * linux/syscall.h (sys_sendmmsg): New prototype. * net.c (printmmsghdr): Add index argument specifying the element in mmsghdr array to print. (decode_mmsg): New function, prints the whole mmsghdr array, its length and message flags. (sys_sendmmsg): New function. (sys_recvmmsg): Use decode_mmsg to fix mmsghdr array decoding.
/external/strace/linux/dummy.h
|
1ff463d15412de77fcf5b8ca1cf43c63dce1dbe1 |
|
12-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement sched_rr_get_interval syscall decoder * linux/dummy.h (sys_sched_rr_get_interval): Remove. * linux/syscall.h (sys_sched_rr_get_interval): New prototype. * process.c (sys_sched_rr_get_interval): New function.
/external/strace/linux/dummy.h
|
64d0e71f8b1f671e11915096fc634977650f1739 |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement migrate_pages syscall decoder * linux/dummy.h (sys_migrate_pages): Remove. * linux/syscall.h (sys_migrate_pages): New prototype. * mem.c (sys_migrate_pages): New function.
/external/strace/linux/dummy.h
|
1b0bae2969abe21c388144761bc52e3ae9d1a043 |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement get_robust_list syscall decoder * linux/dummy.h (sys_get_robust_list): Remove. * linux/syscall.h (sys_get_robust_list): New prototype. * process.c (sys_get_robust_list): New function.
/external/strace/linux/dummy.h
|
1e8ed076ceebb1558de5952c6d79e5155145fde3 |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Define sys_set_robust_list as an alias to sys_munmap * linux/dummy.h (sys_set_robust_list): Redefine to sys_munmap.
/external/strace/linux/dummy.h
|
73215473cea2bc53a520b5285775be84501b1f2d |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement clock_adjtime syscall decoder * linux/dummy.h (sys_clock_adjtime): Remove. * linux/syscall.h (sys_clock_adjtime): New prototype. * time.c (do_adjtimex): New function, based on sys_adjtimex. (sys_adjtimex): Use it. (sys_clock_adjtime): New function.
/external/strace/linux/dummy.h
|
51dba35d387153c8a2310b92296ba30518df4f88 |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Define sys_setns as an alias to sys_inotify_rm_watch * linux/dummy.h (sys_setns): Redefine to sys_inotify_rm_watch.
/external/strace/linux/dummy.h
|
6bbe69609bf59aa69e59436e1a7bdd99b667cb09 |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Sort definitions of dummy parsers. No code changes * linux/dummy.h: Sort definitions of parsers implemented as aliases.
/external/strace/linux/dummy.h
|
531af48779ce2c0d38437fd04ca9cf38a3324e5d |
|
11-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Alias sys_fsync to sys_close * file.c (sys_fsync): Remove. * linux/syscall.h (sys_fsync): Likewise. * linux/dummy.h (sys_fsync): Alias to sys_close. * linux/m68k/syscallent.h: Add TD flag to fsync entry. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent.h: Likewise.
/external/strace/linux/dummy.h
|
882936565463ff895e6d50efc5c7c80521e7add8 |
|
09-Mar-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
swapon: decode swap flags * file.c: Include <sys/swap.h>. (swap_flags): New xlat structure. (sys_swapon): New function. * linux/dummy.h (sys_swapon): Remove. * linux/syscall.h (sys_swapon): New declaration.
/external/strace/linux/dummy.h
|
aea4b876c842081829b5174f5d07331e2bccf6a6 |
|
28-Feb-2012 |
Denys Vlasenko <vda.linux@googlemail.com> |
Remove stray sys_swapon() declaration * linux/syscall.h: Remove stray sys_swapon() declaration. * linux/mips/syscallent.h: Include dummy.h with correct relative path. * linux/dummy.h: Tweak one place where spaces are used instead of tabs. * linux/dummy_check.sh: New script. It helps in finding stray syscall handler declarations. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/external/strace/linux/dummy.h
|
72879c6a35cd5afa7f58ee7bc32e4dcd8e65bd9a |
|
27-Feb-2012 |
Denys Vlasenko <vda.linux@googlemail.com> |
Alias a few more syscall printing functions text data bss dec hex filename 237384 672 19044 257100 3ec4c strace.before 236448 672 19044 256164 3e8a4 strace * defs.h: Declare new functions printargs_lu(), printargs_ld() which simply print syscall all args as unsigned or signed longs. * desc.c (sys_epoll_create): Call printargs_ld() instead of open-coding it. * linux/syscall.h: Remove declarations of the following functions: sys_alarm, sys_getresgid, sys_getsid, sys_nice, sys_setgid, sys_setpgid, sys_setpgrp, sys_setregid, sys_setresgid. * process.c (sys_setgid): Delete this function: now aliased to sys_setuid(). (sys_getresgid): Delete this function: now aliased to sys_getresuid(). (sys_setregid): Delete this function: now aliased to sys_setreuid(). (sys_setresgid): Delete this function: now aliased to sys_setresuid(). (sys_setpgrp): Delete this function: now aliased to printargs_lu(). (sys_getsid): Likewise. (sys_setpgid): Likewise. (sys_alarm): Likewise. (sys_getpgrp): Delete this function: was unused - was already shadowed by a define in linux/dummy.h. (sys_setsid): Likewise. (sys_getpgid): Likewise. * resource.c (sys_nice): Delete this function: now aliased to printargs_ld(). * linux/dummy.h: Define new aliases (see above for the list). * syscall.c (printargs_lu): New function. (printargs_ld): New function. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/external/strace/linux/dummy.h
|
b5e88d43a80dad1c7af987d40edef14f69cff8ed |
|
20-Feb-2012 |
Dmitry V. Levin <ldv@altlinux.org> |
Do not use SYS_ipc and SYS_socketcall * linux/dummy.h (sys_ipc, sys_socketcall): Remove redirections to printargs. * linux/ia64/syscallent.h: Likewise. * linux/i386/syscallent.h: Remove native_scno initialization for "ipc" and "socketcall". * linux/syscall.h (sys_ipc, sys_socketcall): New prototypes. (SYS_ipc, SYS_socketcall): Remove no longer used constants. [IA64]: Remove undefining of ipc and socket SYS_* constants. [SPARC || SPARC64]: Remove unused ipc SYS_* constants. * ipc.c (sys_ipc): New function. * sock.c (sys_socketcall): Likewise. * syscall.c (trace_syscall_entering): Use sys_func to check for ipc and socket subcalls.
/external/strace/linux/dummy.h
|
ad178c0dc050a0bd68179ca60f3aebe0ff6ddd89 |
|
28-Nov-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove redundant parsers * desc.c (sys_dup): Remove. * file.c (sys_pivotroot, sys_rmdir, sys_fchdir, sys_chroot, sys_fchroot, sys_unlink, sys_symlink, sys_rename): Remove. * linux/syscall.h (sys_chroot, sys_dup, sys_fchdir, sys_pivotroot, sys_rename, sys_rmdir, sys_symlink, sys_unlink): Remove. * linux/dummy.h: Add aliases for sys_chroot, sys_dup, sys_pivotroot, sys_rename, sys_rmdir, sys_symlink, sys_unlink. * pathtrace.c (pathtrace_match): Update. * sunos4/dummy.h: Add aliases for sys_chroot, sys_dup, sys_fchdir, sys_fchroot, sys_rename, sys_rmdir, sys_symlink, sys_unlink. * svr4/dummy.h: Likewise. * sunos4/syscall.h (sys_chroot, sys_dup, sys_fchdir, sys_fchroot, sys_rename, sys_rmdir, sys_symlink, sys_unlink): Remove. * svr4/syscall.h (sys_chroot, sys_dup, sys_fchdir, sys_fchroot, sys_rename, sys_rmdir, sys_symlink, sys_unlink): Remove.
/external/strace/linux/dummy.h
|
f33ee91888caf1c8351c0b9628e45b5204a0add6 |
|
28-Nov-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Reflect the fact that nfsservctl syscall was removed from linux kernels linux/dummy.h: Move nfsservctl to "unimplemented" section.
/external/strace/linux/dummy.h
|
00ebeeece06eec2ae5532c48621936c0e1d2b1dc |
|
27-Nov-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Add syscall entries for new linux syscalls * linux/dummy.h: Add printargs parsers for new syscalls. * linux/arm/syscallent.h: Add entries for sys_clock_adjtime, sys_name_to_handle_at, sys_open_by_handle_at, sys_sendmmsg, sys_setns and sys_syncfs. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/mips/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/alpha/syscallent.h: Add entries for sys_clock_adjtime, sys_name_to_handle_at, sys_open_by_handle_at, sys_setns and sys_syncfs. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/avr32/syscallent.h: Add entry for sys_setns. * linux/bfin/syscallent.h: Add entries for sys_sendmmsg and sys_setns. * linux/hppa/syscallent.h: Add entries for sys_clock_adjtime, fanotify_init, fanotify_mark, sys_name_to_handle_at, sys_open_by_handle_at, sys_sendmmsg, sys_setns and sys_syncfs.
/external/strace/linux/dummy.h
|
7f3aca1af90809a17d975aa76cd932ba0e92e14f |
|
13-Oct-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove useless and obsolete "#if DONE" sections. No code changes * linux/dummy.h: Remove "#if DONE" section. * linux/sparc/dummy2.h: Likewise. * linux/sparc64/dummy2.h: Likewise. * sunos4/dummy.h: Likewise. * svr4/dummy.h: Likewise.
/external/strace/linux/dummy.h
|
b9e897d6aa535651b400d44080e48d88ab708da2 |
|
12-Oct-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Add names for dummy parsers. No code changes * linux/dummy.h: Add aliases to printargs() for those of dummy parsers that had no own names before. * linux/*/syscallent.h: Use these new names instead of printargs.
/external/strace/linux/dummy.h
|
9e38484d497d66532f4e424c4699e5ddcad7eea6 |
|
12-Oct-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Sort definitions of dummy parsers. No code changes * linux/dummy.h: Sort definitions of parsers implemented as aliases to printargs().
/external/strace/linux/dummy.h
|
50a218d4ac83e6adf6f44785037dd25bd8037921 |
|
18-Jan-2011 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix decoding of get[ug]id, gete[ug]id and setfs[ug]id return values * defs.h (SYSCALL_NEVER_FAILS): New syscall flag. * linux/dummy.h: Change redirection for sys_get[ug]id, sys_gete[ug]id and setfs[ug]id. * linux/*/syscallent.h: Set SYSCALL_NEVER_FAILS flag for get[ug]id, gete[ug]id and setfs[ug]id syscalls. * process.c [LINUX] (sys_getuid, sys_setfsuid): New functions. * syscall.c (NF): New shorthand macro for use in syscallent.h files. (get_error): Check SYSCALL_NEVER_FAILS flag. Reported by Марк Коренберг <socketpair@gmail.com>.
/external/strace/linux/dummy.h
|
587432273982c136809a6e9182e8ecf674648706 |
|
28-May-2010 |
Andreas Schwab <schwab@linux-m68k.org> |
Decode TLS syscalls on m68k * linux/m68k/syscallent.h: Add entries for get_thread_area, set_thread_area, atomic_comxchg_32, atomic_barrier. * linux/dummy.h (sys_get_thread_area, sys_set_thread_area) [M68K]: Don't redefine. * mem.c (sys_get_thread_area, sys_set_thread_area) [LINUX && M68K]: New.
/external/strace/linux/dummy.h
|
2e55ff4562e87f8361f0c1db5a42ee6e9ac0cc56 |
|
03-Sep-2008 |
Dmitry V. Levin <ldv@altlinux.org> |
2008-04-19 Dmitry V. Levin <ldv@altlinux.org> * syscall.c (is_restart_error): New function. * defs.h (is_restart_error): Declare it. * linux/dummy.h (sys_nanosleep): Uncouple from sys_adjtime(). * time.c (sys_nanosleep): New function, based on is_restart_error().
/external/strace/linux/dummy.h
|
6e2612785d30e876d74ba592a008941caf8ba116 |
|
05-Jul-2007 |
Roland McGrath <roland@redhat.com> |
2007-07-05 Roland McGrath <roland@redhat.com> * linux/syscallent.h: Fix sys_delete_module arg count. * linux/alpha/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/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/sparc64/syscallent.h: Likewise. * linux/sparc64/syscallent2.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/dummy.h (sys_delete_module): Use sys_open. From Johannes Stezenbach <js@linuxtv.org>.
/external/strace/linux/dummy.h
|
d4c85ebbc64b1eb141b310a4634c6ca37fd352c1 |
|
16-Apr-2004 |
Roland McGrath <roland@redhat.com> |
2004-04-16 Roland McGrath <roland@redhat.com> * linux/syscall.h: Support new mq_* syscalls on Linux. * linux/syscallent.h: Likewise. * linux/dummy.h: Likewise. * ipc.c: Likewise. * time.c (printsigevent): Handle SIGEV_THREAD. From Ulrich Drepper <drepper@redhat.com>. Fixes RH#120701.
/external/strace/linux/dummy.h
|
279d378b14e9f7283b0e0dc09509343f19b37b19 |
|
01-Mar-2004 |
Roland McGrath <roland@redhat.com> |
2004-03-01 Roland McGrath <roland@redhat.com> * linux/dummy.h (sys_sched_getscheduler, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler, sys_sched_get_priority_max, sys_sched_get_priority_min): Remove macros. * process.c [LINUX] (sys_sched_getscheduler, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler, sys_sched_get_priority_min): New functions. From Ulrich Drepper <drepper@redhat.com>.
/external/strace/linux/dummy.h
|
5ef24abf005145b7e30e475e23c0fa2e8b0f4e13 |
|
20-Feb-2004 |
Roland McGrath <roland@redhat.com> |
Revert jhughes commits.
/external/strace/linux/dummy.h
|
d535306ce2d61de87a29764cd94fd81b87d07a8b |
|
05-Feb-2004 |
John Hughes <john@Calva.COM> |
Better output for sys_migrate
/external/strace/linux/dummy.h
|
ae259337730f2d7a2b47bfbfb33aad1db0b65fba |
|
29-Jan-2004 |
John Hughes <john@Calva.COM> |
port SSI clustering mods to OpenSSI on Linux
/external/strace/linux/dummy.h
|
79db8af77790f9c3d0f5e426763f353797774446 |
|
27-Jun-2003 |
Roland McGrath <roland@redhat.com> |
2003-06-27 Roland McGrath <roland@redhat.com> * configure.ac: Check for type `struct __old_kernel_stat'. * file.c (convertoldstat, printoldstat): Define under [LINUX && HAVE_STRUCT___OLD_KERNEL_STAT] rather than a list of archs. (sys_oldstat, sys_oldfstat, sys_oldlstat): Likewise. * linux/dummy.h [! HAVE_STRUCT___OLD_KERNEL_STAT] (sys_oldstat, sys_oldfstat, sys_oldlstat): #define to printargs.
/external/strace/linux/dummy.h
|
1e35679bbb8c840bd0b107c68cb187feeb3e3282 |
|
31-Mar-2003 |
Roland McGrath <roland@redhat.com> |
2003-03-30 Roland McGrath <roland@redhat.com> * time.c [LINUX]: Handle new Linux 2.5 clock/timer syscalls. * linux/syscall.h, linux/syscallent.h, linux/dummy.h: Likewise. From Ulrich Drepper <drepper@redhat.com>.
/external/strace/linux/dummy.h
|
8bcf35765dba20e83bf0667ea787cc6b89afab97 |
|
24-Jan-2003 |
Roland McGrath <roland@redhat.com> |
2003-01-23 Roland McGrath <roland@redhat.com> * linux/dummy.h [! SYS_getpmsg] (sys_getpmsg): #define to printargs. [! SYS_putpmsg] (sys_putpmsg): Likewise.
/external/strace/linux/dummy.h
|
67ecd63d02c1b692477f8006b7ee0c0165df332b |
|
16-Dec-2002 |
Roland McGrath <roland@redhat.com> |
2002-12-15 Roland McGrath <roland@redhat.com> * linux/ia64/syscallent.h: Remove macros for sys_delete_module, sys_nanosleep, both already in linux/dummy.h. * mem.c: Add sys_{get,set}_thread_area. * linux/syscall.h: Declare them. * linux/syscallent.h: Update the table for these. * linux/dummy.h (sys_modify_ldt): Define only #ifndef I386. (sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.
/external/strace/linux/dummy.h
|
5ae21ead9f83597452f9a0517e8a51fa4823f921 |
|
01-May-2000 |
Wichert Akkerman <wichert@deephackmode.org> |
The `too much stuff, just check the ChangeLog' update
/external/strace/linux/dummy.h
|
c792698a99b640e7d256e8692c992bd967f0c5b2 |
|
11-Apr-2000 |
Wichert Akkerman <wichert@deephackmode.org> |
README-linux: updated to note that strace might not compile with development kernels bjm.c: sys_query_module: check if malloc succeeds system.c: sys_cap[gs]et(): check if malloc succeeds, only malloc once linux/syscallent.h: updated for 2.3.99pre3 linux/alpha/syscallent.h: updated for 2.3.99pre3, add all osf syscalls even though Linux doesn't implement them syscall.c: add global variables for MIPS registers as well syscall.c: move global variables to before get_scno since that uses them util.c: oops, misspelled defined process.c: fix ptrace calls in change_syscall mem.c: decode sys_madvise Merge patch from Topi Miettinen <Topi.Miettinen@nic.fi> + add support for quotactl, fdatasync, mlock, mlockall, munlockall & acct + small fix for RLIMIT_* and RUSAGE_BOTH + enhace support for capget and capset
/external/strace/linux/dummy.h
|
8b1b40cd8b49151374d0ac2a5b1a4b459f9e0ae5 |
|
03-Feb-2000 |
Wichert Akkerman <wichert@deephackmode.org> |
Merge Trillian patches (Linux ia64)
/external/strace/linux/dummy.h
|
527a80589d5df0bca150eed9e9748151acddc533 |
|
15-Jul-1999 |
Wichert Akkerman <wichert@deephackmode.org> |
Update sys_createmodule and sys_initmodule
/external/strace/linux/dummy.h
|
22fe9d2b99a12e1b778ce0481473ed67aa53f628 |
|
27-May-1999 |
Wichert Akkerman <wichert@deephackmode.org> |
added `a bit of sysctl support', patch from Ulrich Drepper
/external/strace/linux/dummy.h
|
2e2553a534f532a1546ea2b2f3dc3cd2276d020d |
|
09-May-1999 |
Wichert Akkerman <wichert@deephackmode.org> |
Merged in a bunch of patches that I got as reaction to the 3.99 release. See the ChangeLog for details
/external/strace/linux/dummy.h
|
328c5e7fd8ae6fbe2e384e8068c878084d6f80e8 |
|
16-Apr-1999 |
Wichert Akkerman <wichert@deephackmode.org> |
Added support for old*stat syscalls for Linux Changed referenced to LINUX to linux in file.c Fix include for ldt.h in mem.c while we're at it
/external/strace/linux/dummy.h
|
76baf7c9f6dd61a15524ad43c1b690c252cf5b7c |
|
19-Feb-1999 |
Wichert Akkerman <wichert@deephackmode.org> |
Initial revision
/external/strace/linux/dummy.h
|