diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 04:13:18 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 04:55:21 +0000 |
commit | 99db95dd039d8fd700e7759bf4969abb55b979b9 (patch) | |
tree | 80c0c685dbf3a064a9455628f76fd4d86b9c3116 /defs.h | |
parent | 594527353359d9a6aad516992e09c393e11f3bd2 (diff) | |
download | strace-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |