]> granicus.if.org Git - strace/commit
Alias sys_mkdir and sys_mkdirat to sys_chmod and sys_fchmodat
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 1 Dec 2014 18:24:55 +0000 (18:24 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 1 Dec 2014 19:52:26 +0000 (19:52 +0000)
commit6355a1f8677857f613a8b3bbd209506d1634c73f
tree43cd5d3d44eb288e42dff9ec774d3767f5024127
parent681452b0f854833d4bd443fcd9bb0bab2b46339f
Alias sys_mkdir and sys_mkdirat to sys_chmod and sys_fchmodat

Special parsers for mkdir and mkdirat are redundant because
sys_chmod and sys_fchmodat implement the same decoding.

* file.c (decode_mkdir, sys_mkdir, sys_mkdirat): Remove.
* linux/dummy.h (sys_mkdir): Alias to sys_chmod.
(sys_mkdirat): Alias to sys_fchmodat.
* linux/syscall.h (sys_mkdir, sys_mkdirat): Remove.
* pathtrace.c (pathtrace_match): Do not check for sys_mkdirat.
file.c
linux/dummy.h
linux/syscall.h
pathtrace.c