summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2014-02-05 04:13:18 +0000
committerDmitry V. Levin <ldv@altlinux.org>2014-02-05 04:55:21 +0000
commit99db95dd039d8fd700e7759bf4969abb55b979b9 (patch)
tree80c0c685dbf3a064a9455628f76fd4d86b9c3116 /defs.h
parent594527353359d9a6aad516992e09c393e11f3bd2 (diff)
downloadstrace-99db95dd039d8fd700e7759bf4969abb55b979b9.tar.gz
strace-99db95dd039d8fd700e7759bf4969abb55b979b9.tar.bz2
strace-99db95dd039d8fd700e7759bf4969abb55b979b9.tar.xz
Implement fanotify_init and fanotify_mark decoding
* fanotify.c: New file. * linux/fanotify.h: Likewise. * Makefile.am (strace_SOURCES): Add fanotify.c. (EXTRA_DIST): Add linux/fanotify.h. * defs.h (print_dirfd): New prototype. * file.c (print_dirfd): Export. * linux/dummy.h (sys_fanotify_init, sys_fanotify_mark): Remove. * linux/syscall.h (sys_fanotify_init, sys_fanotify_mark): New prototypes. * pathtrace.c (pathtrace_match): Handle sys_fanotify_init and sys_fanotify_mark.
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/defs.h b/defs.h
index b0a9144..f457d30 100644
--- a/defs.h
+++ b/defs.h
@@ -678,6 +678,7 @@ extern void printsiginfo(siginfo_t *, int);
extern void printsiginfo_at(struct tcb *tcp, long addr);
#endif
extern void printfd(struct tcb *, int);
+extern void print_dirfd(struct tcb *, int);
extern void printsock(struct tcb *, long, int);
extern void print_sock_optmgmt(struct tcb *, long, int);
extern void printrusage(struct tcb *, long);