summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-02-27 14:18:02 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-02-27 14:18:02 +0100
commit72879c6a35cd5afa7f58ee7bc32e4dcd8e65bd9a (patch)
treedac4cb5f2ed67842aca65af1fef03b8094c98bd6 /file.c
parentb237b1b20da4ff40efb919f9d4a6458a05f375ca (diff)
downloadstrace-72879c6a35cd5afa7f58ee7bc32e4dcd8e65bd9a.tar.gz
strace-72879c6a35cd5afa7f58ee7bc32e4dcd8e65bd9a.tar.bz2
strace-72879c6a35cd5afa7f58ee7bc32e4dcd8e65bd9a.tar.xz
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>
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions