]> granicus.if.org Git - strace/commit
Remove initialization of native_scno field for most of syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 10 Feb 2012 22:33:36 +0000 (22:33 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 20 Feb 2012 00:36:01 +0000 (00:36 +0000)
commit9aa25abb2e74b05872c8d141776ced5c77b29dcf
treefd25aea9a0909b635338b232e79a1216c5d2b62b
parent612659e41e2f41490ea5ae2926f5e002bb398334
Remove initialization of native_scno field for most of syscalls

The native_scno field is not so much used in the code than before.
In many cases sys_func is checked instead, and for most of syscall
entries there is no need to initialize native_scno.

* linux/i386/syscallent.h: Remove native_scno initialization for
_exit, read, write, waitpid, execve, wait4, sysfs, readv, writev,
pread64, pwrite64, exit_group, waitid, send, recv, sendto and
recvfrom syscall entries.
* linux/syscall.h: Do not define no longer used SYS_waitid and
SYS_sub_* constants.
[IA64]: Do not define SYS_waitpid and SYS32_* constants.
* defs.h: Do not define no longer used  __NR_exit_group constant.
* strace.c [USE_PROCFS] (proc_open): Use sys_func to check for execve.
defs.h
linux/i386/syscallent.h
linux/syscall.h
strace.c