Hook up inotify_init1 open mode flags printer
* file.c [LINUX] (sys_inotify_init1): New function. * linux/syscall.h: Declare new sys_inotify_init1 handler. * linux/bfin/syscallent.h: Hook up new handler. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise.
This commit is contained in:
parent
360986bacd
commit
bab8940674
8
file.c
8
file.c
@ -2884,6 +2884,14 @@ sys_inotify_rm_watch(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sys_inotify_init1(struct tcb *tcp)
|
||||
{
|
||||
if (entering(tcp))
|
||||
printflags(open_mode_flags, tcp->u_arg[0], "O_???");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sys_fallocate(struct tcb *tcp)
|
||||
{
|
||||
|
@ -393,7 +393,7 @@
|
||||
{ 1, 0, printargs, "epoll_create1" }, /* 362 */
|
||||
{ 3, TD, printargs, "dup3" }, /* 363 */
|
||||
{ 2, TD, printargs, "pipe2" }, /* 364 */
|
||||
{ 1, TD, printargs, "inotify_init1" }, /* 365 */
|
||||
{ 1, TD, sys_inotify_init1, "inotify_init1" }, /* 365 */
|
||||
{ 5, TD, printargs, "preadv" }, /* 366 */
|
||||
{ 5, TD, printargs, "pwritev" }, /* 367 */
|
||||
{ 4, TP|TS, printargs, "rt_tgsigqueueinfo" }, /* 368 */
|
||||
|
@ -319,7 +319,7 @@
|
||||
{ 1, 0, printargs, "epoll_create1" }, /* 311 */
|
||||
{ 3, TD, printargs, "dup3" }, /* 312 */
|
||||
{ 2, TD, printargs, "pipe2" }, /* 313 */
|
||||
{ 1, TD, printargs, "inotify_init1" }, /* 314 */
|
||||
{ 1, TD, sys_inotify_init1, "inotify_init1" }, /* 314 */
|
||||
{ 5, TD, printargs, "preadv" }, /* 315 */
|
||||
{ 5, TD, printargs, "pwritev" }, /* 316 */
|
||||
{ 4, TP|TS, printargs, "rt_tgsigqueueinfo" }, /* 317 */
|
||||
|
@ -362,7 +362,7 @@
|
||||
{ 1, 0, sys_epoll_create1, "epoll_create1" }, /* 329 */
|
||||
{ 3, TD, sys_dup3, "dup3" }, /* 330 */
|
||||
{ 2, TD, sys_pipe2, "pipe2" }, /* 331 */
|
||||
{ 1, TD, printargs, "inotify_init1" }, /* 332 */
|
||||
{ 1, TD, sys_inotify_init1, "inotify_init1" }, /* 332 */
|
||||
{ 5, 0, printargs, "SYS_333" }, /* 333 */
|
||||
{ 5, 0, printargs, "SYS_334" }, /* 334 */
|
||||
{ 5, 0, printargs, "SYS_335" }, /* 335 */
|
||||
|
@ -135,6 +135,7 @@ int sys_poll();
|
||||
int sys_mincore();
|
||||
int sys_inotify_add_watch();
|
||||
int sys_inotify_rm_watch();
|
||||
int sys_inotify_init1();
|
||||
int sys_pselect6();
|
||||
int sys_ppoll();
|
||||
int sys_unshare();
|
||||
|
@ -292,4 +292,4 @@
|
||||
{ 1, 0, sys_epoll_create1, "epoll_create1" }, /* 291 */
|
||||
{ 3, TD, sys_dup3, "dup3" }, /* 292 */
|
||||
{ 2, TD, sys_pipe2, "pipe2" }, /* 293 */
|
||||
{ 1, TD, printargs, "inotify_init1" }, /* 294 */
|
||||
{ 1, TD, sys_inotify_init1, "inotify_init1" }, /* 294 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user