]> granicus.if.org Git - strace/commit
Declare syscall parsers using SYS_FUNC macro
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 7 Apr 2015 01:36:50 +0000 (01:36 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 7 Apr 2015 11:22:49 +0000 (11:22 +0000)
commita0bd3749fc6fdf6364c1e269a4c02e8c153eb84b
treed4a8cf7e8b95d626a6c916c4a325dfa23e89a52d
parentcc59f14fb8eb951f41c8d823ba35c3b636092cd4
Declare syscall parsers using SYS_FUNC macro

Introduce SYS_FUNC macro to declare and define all syscall parsers.

* Makefile.am (BUILT_SOURCES, CLEANFILES): Add sys_func.h.
(sys_func.h): New rule.
* defs.h (SYS_FUNC_NAME, SYS_FUNC): New macros.
* linux/syscall.h: Include "sys_func.h".
[NEED_UID16_PARSERS]: Use SYS_FUNC to declare uid16 syscall parsers.
Remove other declarations.
* linux/alpha/syscallent.h (160, 161): Add sys_ prefix to osf_statfs
and osf_fstatfs syscall parsers.
* *.c: Use SYS_FUNC to define syscall parsers.
78 files changed:
Makefile.am
access.c
affinity.c
aio.c
bjm.c
cacheflush.c
capability.c
chdir.c
chmod.c
clone.c
defs.h
desc.c
dirent.c
execve.c
exit.c
fadvise.c
fallocate.c
fanotify.c
fchownat.c
file.c
futex.c
get_robust_list.c
getcpu.c
getcwd.c
getrandom.c
hostname.c
inotify.c
io.c
ioprio.c
ipc.c
kexec.c
keyctl.c
ldt.c
link.c
linux/alpha/syscallent.h
linux/syscall.h
lseek.c
mem.c
mknod.c
mount.c
net.c
open.c
or1k_atomic.c
personality.c
prctl.c
process.c
process_vm.c
quota.c
readahead.c
readlink.c
reboot.c
renameat.c
resource.c
sched.c
seccomp.c
sigaltstack.c
signal.c
sigreturn.c
sock.c
sram_alloc.c
statfs.c
stream.c
swapon.c
sync_file_range.c
sysctl.c
sysinfo.c
syslog.c
sysmips.c
time.c
truncate.c
uid.c
umask.c
umount.c
uname.c
utime.c
utimes.c
wait.c
xattr.c