2998 Commits

Author SHA1 Message Date
7c53e984ac prctl.c: use printaddr and umove_or_printaddr
* prctl.c (prctl_exit): Use printaddr and umove_or_printaddr.
2015-07-18 00:01:40 +00:00
14446ebcf6 process.c: use printaddr
* process.c (sys_ptrace): Use printaddr.
2015-07-18 00:01:40 +00:00
684c9e9d3d process_vm.c: make use of RVAL_DECODED
* process_vm.c (sys_process_vm_writev): Update for RVAL_DECODED.
2015-07-18 00:01:40 +00:00
66a344c006 process_vm.c: use printaddr
* process_vm.c (sys_process_vm_readv): Use printaddr.
2015-07-18 00:01:40 +00:00
307945d4d9 reboot.c: make use of RVAL_DECODED
* reboot.c (sys_reboot): Update for RVAL_DECODED.
2015-07-18 00:01:40 +00:00
0564623abf Enhance quotactl decoding
* quota.c (decode_cmd_data): Use umove_or_printaddr.
(sys_quotactl): Do not disable the parser in verbose mode.
Decode all "set" commands on entering syscall.
2015-07-18 00:01:40 +00:00
8ef8a4c095 readahead.c: make use of RVAL_DECODED
* readahead.c (sys_readahead.c): Update for RVAL_DECODED.
2015-07-18 00:01:40 +00:00
8e0a18fa7f readlink.c: use printaddr
* readlink.c (decode_readlink): Use printaddr.
2015-07-18 00:01:40 +00:00
fe62e3312b renameat.c: make use of RVAL_DECODED
* renameat.c (sys_renameat, sys_renameat2): Update for RVAL_DECODED.
2015-07-18 00:01:40 +00:00
2b15a5848e resource.c: make use of RVAL_DECODED
* resource.c (sys_setrlimit, sys_getpriority, sys_setpriority):
Update for RVAL_DECODED.
2015-07-18 00:01:39 +00:00
7cc79b4137 resource.c: use umove_or_printaddr
* resource.c (print_rlimit64, print_rlimit32, printrusage32,
printrusage, sys_times): Use umove_or_printaddr.
(decode_rlimit64): Remove.
(decode_rlimit): Remove redundant checks.
[defined(current_wordsize) && current_wordsize != 4] (decode_rlimit):
Define to print_rlimit64.
(sys_prlimit64): Replace decode_rlimit64 with print_rlimit64.
2015-07-18 00:01:39 +00:00
10c408acea sched.c: make use of RVAL_DECODED
* sched.c (sys_sched_setscheduler, sys_sched_setparam,
sys_sched_get_priority_min): Update for RVAL_DECODED.
2015-07-18 00:01:39 +00:00
f8bf1d5633 sched.c: use printnum_int and printaddr
* sched.c (sys_sched_setscheduler, sys_sched_getparam,
sys_sched_setparam): Use printnum_int for sched_param decoding.
(sched_rr_get_interval): Use printaddr.
2015-07-18 00:01:39 +00:00
8277ec9c60 scsi.c: use printaddr
* scsi.c (print_sg_io_buffer): Use printaddr.
2015-07-18 00:01:39 +00:00
1252d26db8 seccomp.c: make use of RVAL_DECODED
* seccomp.c (sys_seccomp): Update for RVAL_DECODED.
2015-07-17 01:16:16 +00:00
931ebbfd92 seccomp.c: use printaddr and umove_or_printaddr
* seccomp.c (decode_fprog, decode_seccomp_set_mode_strict):
Use printaddr.
(print_seccomp_filter): Use umove_or_printaddr.
2015-07-17 01:16:16 +00:00
401295ea32 sigaltstack.c: use printaddr and umove_or_printaddr
* sigaltstack.c (print_stack_t): Use umove_or_printaddr and printaddr.
2015-07-17 01:16:16 +00:00
0e45b50ce6 signal.c: make use of RVAL_DECODED
* signal.c (sys_sigsuspend, sys_kill, sys_tgkill, sys_rt_sigsuspend,
sys_rt_sigqueueinfo, sys_rt_tgsigqueueinfo, sys_restart_syscall,
do_signalfd): Update for RVAL_DECODED.
2015-07-17 00:54:55 +00:00
735843e23a signal.c: use printaddr and umove_or_printaddr
* signal.c (print_sigset_addr_len, decode_old_sigaction):
Use printaddr and umove_or_printaddr.
(sys_signal): Use printaddr.
(sys_sigprocmask, sys_sigpending, sys_rt_sigprocmask,
sys_rt_sigpending): Remove redundant checks for syserror.
(decode_new_sigaction): Use umove_or_printaddr.
2015-07-17 00:54:55 +00:00
490d58c394 sram_alloc.c: make use of RVAL_DECODED
* sram_alloc.c [BFIN] (sys_sram_alloc): Update for RVAL_DECODED.
2015-07-16 23:44:57 +00:00
fd55b54112 statfs.c: use umove_or_printaddr
* statfs.c (printstatfs, printstatfs64, printcompat_statfs64):
Use umove_or_printaddr.
2015-07-16 23:44:57 +00:00
9afb4d06c0 swapon.c: make use of RVAL_DECODED
* swapon.c (sys_swapon): Update for RVAL_DECODED.
2015-07-16 23:44:57 +00:00
63bae232d2 swapon.c: move fallback definitions of swap options to xlat/
* swapon.c: Move definitions of SWAP_FLAG_* flags ...
* xlat/swap_flags.in: ... here.
2015-07-16 23:44:57 +00:00
69c1c4e46a sync_file_range2: fix typo in flags decoding
* sync_file_range.c (sys_sync_file_range2): Fix typo in flags decoding.
2015-07-16 23:44:57 +00:00
d6ed7948f7 sync_file_range.c: make use of RVAL_DECODED
* sync_file_range.c (sys_sync_file_range, sys_sync_file_range2): Update
for RVAL_DECODED.
2015-07-16 23:44:57 +00:00
5717e7af0d syslog.c: use umove_or_printaddr and RVAL_DECODED
* sysctl.c (sys_sysctl): Use umove_or_printaddr and RVAL_DECODED.
2015-07-16 23:44:57 +00:00
be6d79146c sysinfo.c: use umove_or_printaddr
* sysinfo.c (sys_sysinfo): Use umove_or_printaddr.
2015-07-16 22:58:12 +00:00
279df2cc75 syslog.c: make use of RVAL_DECODED
* syslog.c (sys_syslog): Update for RVAL_DECODED.
2015-07-16 22:58:12 +00:00
aa06f46d01 syslog.c: use printaddr
* syslog.c (sys_syslog): Use printaddr.
2015-07-16 22:58:12 +00:00
040de57477 sysmips.c: cleanup
* sysmips.c [MIPS] (sys_sysmips): Use switch statement.  Use printaddr.
Fix misprinted ", " delimiter.
2015-07-16 22:58:12 +00:00
034f98e10d sysmips.c: make use of RVAL_DECODED
* sysmips.c [MIPS] (sys_sysmips): Update for RVAL_DECODED.
2015-07-16 22:58:12 +00:00
76c8f66c4d time.c: make use of RVAL_DECODED
* time.c (sys_settimeofday, sys_osf_settimeofday, sys_clock_settime,
sys_timerfd, sys_timerfd_create, sys_timerfd_settime): Update
for RVAL_DECODED.
(timerfd_gettime): Decode struct itimerspec argument on exiting syscall.
2015-07-16 22:58:12 +00:00
7117835861 time.c: use printaddr, printnum_int, and umoven_or_printaddr
* time.c (sys_nanosleep): Use printaddr.
(printitv_bitness, tprint_timex32, tprint_timex, printsigevent32,
printsigevent): Use umoven_or_printaddr.
(sys_timer_create): Use printnum_int.
(sys_getitimer, sys_osf_getitimer, sys_setitimer, sys_osf_setitimer,
do_adjtimex, sys_timer_settime, sys_timer_gettime): Remove
redundant checks for syserror.
2015-07-16 22:58:12 +00:00
9f7027371c sprinttv: do not fetch data in case of syserror
* time.c (sprinttv): Do not fetch data in case syserror.
Print address instead of {...} in case of umove failure.
(sys_gettimeofday, sys_osf_gettimeofday, sys_adjtime, sys_clock_gettime,
clock_nanosleep): Remove now redundant checks for syserror.
2015-07-16 22:58:12 +00:00
927f026d4c truncate.c: make use of RVAL_DECODED
* truncate.c (sys_truncate, sys_truncate64, sys_ftruncate,
sys_ftruncate64): Update for RVAL_DECODED.
2015-07-16 22:58:12 +00:00
ff235c89ea umask.c: make use of RVAL_DECODED
* umask.c (sys_umask): Update for RVAL_DECODED.
2015-07-16 22:58:12 +00:00
c1f37f6e7a umount.c: make use of RVAL_DECODED
* umount.c (sys_umount2): Update for RVAL_DECODED.
2015-07-16 22:58:12 +00:00
c9a199278b utimes.c: make use of RVAL_DECODED
* utimes.c (decode_utimes): Change to return void.
Update for RVAL_DECODED.
(sys_utimes, sys_futimesat, sys_utimensat, sys_osf_utimes):
Update callers.  Update for RVAL_DECODED.
2015-07-16 22:57:52 +00:00
8ef543929a tests/uid.test: adopt for alpha
Make the test work on alpha that has getxuid syscall instead of getuid.

* tests/uid.awk (BEGIN): Update getuid regexp to match both getuid
and getxuid syscalls.
* tests/uid.c (main): Allow __NR_getxuid as an alternative
to __NR_getuid.
* tests/uid.test: If getuid syscall is not available, probe for
getxuid syscall.
2015-07-16 22:13:56 +00:00
14278620c9 uid.c: make use of RVAL_DECODED
* uid.c (sys_setuid, sys_setreuid, sys_setresuid, sys_chown, sys_fchown,
sys_setgroups): Update for RVAL_DECODED.
2015-07-16 01:36:55 +00:00
288a87049c uid.c: use printaddr and umoven_or_printaddr
* uid.c (get_print_uid): Use umoven_or_printaddr.
(sys_getresuid): Do not check for syserror, get_print_uid now does
the right thing.
(sys_setgroups, sys_getgroups): Add const qualifier to local variables
that are assigned once.  Use printaddr.
2015-07-16 01:36:55 +00:00
fdd0fce3d3 ia64: wire up utimensat syscall
* linux/ia64/syscallent.h (utimensat): New entry.
2015-07-16 01:36:55 +00:00
e5fe1400c0 decode_utimes: enclose timespec array in square brackets
* utimes.c (decode_utimes): enclose timespec array in square brackets
instead of curly brackets.
2015-07-16 01:36:55 +00:00
9809e3ab0a uname.c: use umove_or_printaddr
* uname.c (sys_uname): Use umove_or_printaddr.
2015-07-16 01:36:55 +00:00
d27cccaeff tests: add utime.test
* tests/utime.c: New file.
* tests/utime.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add utime.
(TESTS): Add utime.test.
* tests/.gitignore: Add utime.
2015-07-16 01:36:47 +00:00
8d51f43946 utime.c: make use of RVAL_DECODED
* utime.c (sys_utime): Update for RVAL_DECODED.
2015-07-16 01:35:27 +00:00
cec41dd2b3 utime.c: use umoven_or_printaddr
* utime.c (sys_utime): Use umoven_or_printaddr.
2015-07-16 01:35:27 +00:00
90cfe8fbff wait.c: use printaddr and umove_or_printaddr
* wait.c (waitid): Do not check for NULL the address passed
to printrusage.
(printwaitn): Likewise.
Use printaddr and umove_or_printaddr for fetching wait status.
2015-07-15 00:49:27 +00:00
f6026b6e65 wait: move fallback definitions of wait options to xlat/
* wait.c: Move definitions of __W* flags ...
* xlat/wait4_options.in: ... here.
2015-07-15 00:33:20 +00:00
b60b2a5aa3 tests: add xattr.test
* tests/xattr.c: New file.
* tests/xattr.expected: Likewise.
* tests/xattr.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add xattr.
(TESTS): Add xattr.test.
(EXTRA_DIST): Add xattr.expected.
* tests/.gitignore: Add xattr.
2015-07-15 00:09:08 +00:00