Commit Graph

4989 Commits

Author SHA1 Message Date
ef54d3d838 execve: change address argument type from long to kernel_ureg_t
* execve.c (printargv, printargc): Change address argument type
from long to kernel_ureg_t.
2016-12-25 11:32:44 +00:00
96512c4d78 dirent: change address argument type from long to kernel_ureg_t
* dirent.c (print_old_dirent): Change address argument type from long
to kernel_ureg_t.
2016-12-25 11:32:44 +00:00
c96d9f17b1 bpf: change address argument type from long to kernel_ureg_t
* bpf.c (bpf_map_create, bpf_map_update_elem, bpf_map_delete_elem,
bpf_map_io, bpf_prog_load, SYS_FUNC(bpf)): Change address argument
type from long to kernel_ureg_t.
2016-12-25 11:32:44 +00:00
cdf05fb392 dump*: change address argument type from long to kernel_ureg_t
* defs.h (dumpiov_in_msghdr, dumpiov_in_mmsghdr, dumpiov_upto, dumpstr):
Change address argument type from long to kernel_ureg_t.
* mmsghdr.c (dumpiov_in_mmsghdr): Likewise.
* msghdr.c (fetch_msghdr_namelen, decode_msghdr, dumpiov_in_msghdr):
Likewise.
* util.c (dumpiov_upto, dumpstr): Likewise.
2016-12-25 11:32:44 +00:00
0aa9cf807e print_sigset_addr_len: change address argument type from long to kernel_ureg_t
* defs.h (print_sigset_addr_len) Change address argument type from long
to kernel_ureg_t.
* signal.c (print_sigset_addr_len_limit, print_sigset_addr_len,
decode_old_sigaction, decode_new_sigaction): Likewise.
2016-12-25 11:32:44 +00:00
3106adf4af decode_sockaddr: change address argument type from long to kernel_ureg_t
* defs.h (decode_sockaddr) Change tracee address argument type from long
to kernel_ureg_t.
* sockaddr.c (decode_sockaddr): Likewise.
2016-12-25 11:32:43 +00:00
4e80a2087d print_struct_statfs*: change address argument type from long to kernel_ureg_t
* defs.h (print_struct_statfs, print_struct_statfs64): Change address
argument type from long to kernel_ureg_t.
* print_statfs.c (print_struct_statfs, print_struct_statfs64): Likewise.
* fetch_struct_statfs.c (fetch_struct_statfs, fetch_struct_statfs64):
Likewise.
2016-12-25 11:32:43 +00:00
ce27e2acf4 fetch_struct_flock: change address argument type from long to kernel_ureg_t
* fetch_struct_flock.c (fetch_struct_flock, fetch_struct_flock64):
Change address argument type from long to kernel_ureg_t.
2016-12-25 11:32:43 +00:00
0544f49daf fetch_seccomp_fprog: change address argument type from long to kernel_ureg_t
* fetch_seccomp_fprog.c (fetch_seccomp_fprog): Change address argument
type from long to kernel_ureg_t.
2016-12-25 11:32:43 +00:00
bf20786de2 printnum_*, printpair_*: change address argument type from long to kernel_ureg_t
* defs.h (DECL_PRINTNUM, DECL_PRINTPAIR, printnum_long_int): Change
address argument type from long to kernel_ureg_t.
* util.c (DEF_PRINTNUM, DEF_PRINTPAIR, printnum_long_int): Likewise.
2016-12-25 11:32:43 +00:00
78b02c928a printpath*: change address argument type from long to kernel_ureg_t
* defs.h (printpath, printpathn): Change address argument type
from long to kernel_ureg_t.
* util.c (printpath, printpathn): Likewise.
2016-12-25 11:32:43 +00:00
5e4019c3bc printstr*: change address argument type from long to kernel_ureg_t
* defs.h (printstr_ex, printstr_ex): Change address argument type
from long to kernel_ureg_t.
* util.c (printstr_ex): Likewise.
2016-12-25 11:32:43 +00:00
956e3a34a3 umove*: change tracee address argument type from long to kernel_ureg_t
* defs.h (umovestr, umoven, umoven_or_printaddr,
umoven_or_printaddr_ignore_syserror): Change tracee address argument
type from long to kernel_ureg_t.
(print_array): Change the type of tracee address argument of umoven_func
from long to kernel_ureg_t.
* util.c (vm_read_mem, umovestr, umoven, umoven_or_printaddr,
umoven_or_printaddr_ignore_syserror): Change tracee address argument
type from long to kernel_ureg_t.
(print_array): Change the type of tracee address argument of umoven_func
from long to kernel_ureg_t.
* desc.c (umove_kulong_array_or_printaddr): Change tracee address
argument type from long to kernel_ureg_t.
* mmsghdr.c (fetch_struct_mmsghdr_or_printaddr): Likewise.
2016-12-25 11:32:43 +00:00
daa81a8612 futex: change address type from long to kernel_ureg_t
* futex.c (SYS_FUNC(futex)): Change address type from long
to kernel_ureg_t.
2016-12-25 11:32:43 +00:00
cce907a428 file_handle: change address type from long to kernel_ureg_t
* file_handle.c (SYS_FUNC(name_to_handle_at),
SYS_FUNC(open_by_handle_at)): Change address type from long
to kernel_ureg_t.
2016-12-25 11:32:43 +00:00
fc543e0637 printsiginfo: cast pointers to kernel_ureg_t instead of unsigned long
* printsiginfo.c (printsigval): Cast siginfo.si_ptr pointer
to kernel_ureg_t instead of unsigned long.
(print_si_info): Cast siginfo.si_addr and siginfo.si_call_addr pointers
to kernel_ureg_t instead of unsigned long.
2016-12-25 11:32:43 +00:00
3b213e9074 sigaltstack: cast pointers and sizes to kernel_ureg_t instead of unsigned long
* sigaltstack.c (print_stack_t): Cast sigaltstack.ss_sp pointer
and sigaltstack.ss_size to kernel_ureg_t instead of unsigned long.
2016-12-25 11:32:43 +00:00
e0c3675c37 v4l2: cast pointers to kernel_ureg_t instead of long
* v4l2.c (print_v4l2_ext_control): Cast v4l2_ext_control.string pointer
to kernel_ureg_t instead of long.
2016-12-25 02:19:17 +00:00
1b7b6b9002 v4l2: cast pointers to kernel_ureg_t instead of unsigned long
* v4l2.c (print_v4l2_buffer): Remove redundant cast.
(print_v4l2_framebuffer): Cast v4l2_framebuffer.base pointer
to kernel_ureg_t instead of unsigned long.
(print_v4l2_ext_controls): Cast v4l2_ext_controls.controls pointer
to kernel_ureg_t instead of unsigned long.
2016-12-25 02:19:17 +00:00
17ec19d2a9 sysctl: cast pointers to kernel_ureg_t instead of size_t
* sysctl.c (SYS_FUNC(sysctl)): Cast __sysctl_args.oldval and
__sysctl_args.newval pointers to kernel_ureg_t instead of size_t.
2016-12-24 14:58:42 +00:00
a8631ca4bc sysctl: cast pointers to kernel_ureg_t instead of long
* sysctl.c (SYS_FUNC(sysctl)): Cast __sysctl_args.oldlenp pointer
to kernel_ureg_t instead of long.
2016-12-24 14:58:42 +00:00
4d5523527b block: cast pointers to kernel_ureg_t instead of long
* block.c (print_blkpg_req): Cast blkpg_ioctl_arg.data pointer
to kernel_ureg_t instead of long.
2016-12-24 14:58:42 +00:00
23cbf90c18 dumpiov_upto: cast pointers to kernel_ureg_t instead of long
* util.c  (dumpiov_upto): Cast iovec.iov_base pointer to kernel_ureg_t
instead of long.
2016-12-24 14:58:42 +00:00
aa350a2b97 msghdr: cast pointers to kernel_ureg_t instead of long
* msghdr.c (print_struct_msghdr): Cast msghdr.msg_name pointer
to kernel_ureg_t instead of long.
(dumpiov_in_msghdr): Cast msghdr.msg_iov pointer to kernel_ureg_t
instead of long.
2016-12-24 14:58:41 +00:00
4d9a785bfd mmsghdr: cast pointers to kernel_ureg_t instead of long
* mmsghdr.c (dumpiov_in_mmsghdr): Cast msghdr.msg_iov pointer
to kernel_ureg_t instead of long.
2016-12-24 14:58:41 +00:00
857398e779 Remove redundant casts of ptrace arguments
* strace.c (maybe_switch_tcbs, trace): Do not cast ptrace 4th argument
from pointer to long type.
2016-12-24 14:58:41 +00:00
0868093228 ptrace_restart: cleanup
* strace.c (ptrace_restart): Replace the sequence of "if" statements
with a "switch" statement.
2016-12-24 14:58:39 +00:00
5691f4e23a ptrace_restart: change types of integer arguments to unsigned
* strace.c (ptrace_restart): Change types of "op" and "sig"
from int to unsigned int.
2016-12-24 14:58:29 +00:00
5ff0633279 process: remove redundant syserror checks
* process.c (SYS_FUNC(ptrace)): Remove syserror checks as both
print_siginfo_array and print_seccomp_fprog do the right thing
by using umoven_or_printaddr.
2016-12-24 14:58:29 +00:00
2808523085 sparc64: remove redundant casts
* linux/sparc64/get_syscall_args.c (get_syscall_args): Remove
redundant casts from uint32_t to long.
2016-12-24 14:58:29 +00:00
ef0d6e4699 numa: change address argument type from unsigned long to kernel_ureg_t
* numa.c (print_nodemask): Change address argument type from
unsigned long to kernel_ureg_t.
2016-12-23 22:24:23 +00:00
d7f98585ef net: change address argument type from unsigned long to kernel_ureg_t
* net.c (fetch_socklen): Change address argument type from
unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
657ab73f3a mem: change tracee address type from unsigned long to kernel_ureg_t
* mem.c (print_mmap, SYS_FUNC(remap_file_pages),
SYS_FUNC(subpage_prot)): Change the type of variables containing tracee
addresses from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
aa5e08eac5 kexec: change address argument type from unsigned long to kernel_ureg_t
* kexec.c (print_kexec_segments): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
b89258dcdd poll: change counter type from unsigned long to unsigned int
* poll.c (decode_poll_exiting): Change the type of printed and
max_printed counters from unsigned long to unsigned int.
2016-12-23 19:26:58 +00:00
8dbcedef30 xattr: change address argument type from unsigned long to kernel_ureg_t
* xattr.c (print_xattr_val, print_xattr_list): Change address
argument type from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
6f3abb076c uid: change address argument type from unsigned long to kernel_ureg_t
* uid.c (print_groups): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
c9e380bb6c stat64: change address argument type from unsigned long to kernel_ureg_t
* stat64.c (decode_struct_stat64): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
6f6d3e4c60 stat: change address argument type from unsigned long to kernel_ureg_t
* stat.c (decode_struct_stat): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
cc6ef2f922 sigaltstack: change address argument type from unsigned long to kernel_ureg_t
* sigaltstack.c (print_stack_t): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
831feaf212 resource: change address argument type from unsigned long to kernel_ureg_t
* resource.c (print_rlimit64, print_rlimit32, decode_rlimit): Change
address argument type from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
a011ab10af printsiginfo: change address argument type from unsigned long to kernel_ureg_t
* printsiginfo.c (print_siginfo_array): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
30d13975a4 poll: change tracee address type from unsigned long to kernel_ureg_t
* poll.c (decode_poll_entering, decode_poll_exiting): Change the type
all tracee address variables from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
c15071b535 perf: change address argument type from unsigned long to kernel_ureg_t
* perf.c (fetch_perf_event_attr, print_perf_event_attr): Change
address argument type from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
5d0e737d00 pathtrace: change tracee address type from unsigned long to kernel_ureg_t
* pathtrace.c (upathmatch): Change address argument type
from unsigned long to kernel_ureg_t.
(pathtrace_match): Change the type of all tracee address variables
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
4c7a353896 scsi: change address argument type from unsigned long to kernel_ureg_t
* scsi.c (print_sg_io_buffer): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
f070096094 dm: change address argument type from unsigned long to kernel_ureg_t
* dm.c (dm_decode_dm_target_spec, dm_decode_dm_target_deps,
dm_decode_dm_name_list, dm_decode_dm_target_versions,
dm_decode_dm_target_msg, dm_decode_string): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
173164923e oldstat: change address argument type from unsigned long to kernel_ureg_t
* oldstat.c (print_old_kernel_stat): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
edfeca944a capability: change address argument type from unsigned long to kernel_ureg_t
* capability.c (get_cap_header, print_cap_header, print_cap_data):
Change address argument type from unsigned long to kernel_ureg_t.
2016-12-23 19:26:58 +00:00
5615c15036 btrfs: change address argument type from unsigned long to kernel_ureg_t
* btrfs.c (btrfs_print_qgroup_inherit): Change address argument type
from unsigned long to kernel_ureg_t.
2016-12-23 19:26:57 +00:00