]> granicus.if.org Git - strace/commit
Add unique syscall entry numbers (SENs)
authorElvira Khabirova <lineprinter0@gmail.com>
Fri, 10 Jul 2015 19:24:54 +0000 (22:24 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 12 Jul 2015 22:31:49 +0000 (22:31 +0000)
commit28e32df56f4df8de8668c80cc13fd5359d90ed9d
tree3c40ed6229ab786acbf60e4b6981f48aa458371f
parent140ecf876686d49085c6eb3a2306e2ea6ea641bc
Add unique syscall entry numbers (SENs)

* Makefile.am (BUILT_SOURCES, CLEANFILES): Add sen.h.
(syscallent_names, syscallent_patterns, syscallent_files): New variables.
(sen.h): New rule.
* defs.h (struct sysent): Add sen field.
* generate_sen.sh: New file.
* linux/syscall.h: Include "sen.h".
* syscall.c (SEN_NAME): New temporary macro.
(SEN): Use it to prepend syscall entry number.
Makefile.am
defs.h
generate_sen.sh [new file with mode: 0755]
linux/syscall.h
syscall.c