History log of /external/strace/fanotify.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e381c67fd234fb04b3e20ab465cb713c819393f 16-May-2016 Dmitry V. Levin <ldv@altlinux.org> Fix printing of fanotify_mark mask argument

* fanotify.c (SYS_FUNC(fanotify_mark)): Print mask using printflags64.
/external/strace/fanotify.c
38a34c9349267c99ce1ddbd0b6e985147415d355 17-Dec-2015 Dmitry V. Levin <ldv@altlinux.org> Add copyright headers to some files which lack them

Before this change, all files that exist since 20th century had
copyright headers, while most files that appeared later didn't. This
change fixes the inconsistency by adding missing copyright headers.

It doesn't mean that copyright headers became maintained. In my view,
git history provides much better information on this subject and is much
more accurate than copyright headers.
/external/strace/fanotify.c
5d22f0742a3a5df57780ffafd5315897935fa525 02-Aug-2015 Dmitry V. Levin <ldv@altlinux.org> fanotify_init: mark return code with RVAL_FD flag

* fanotify.c (sys_fanotify_init): Set RVAL_FD flag in the return code.
/external/strace/fanotify.c
a3a7ffee587a159593fccffa6f692fc0dcaeacd1 20-Jul-2015 Dmitry V. Levin <ldv@altlinux.org> fanotify.c: make use of RVAL_DECODED

* fanotify.c (sys_fanotify_init, sys_fanotify_mark): Update
for RVAL_DECODED.
/external/strace/fanotify.c
a0bd3749fc6fdf6364c1e269a4c02e8c153eb84b 07-Apr-2015 Dmitry V. Levin <ldv@altlinux.org> Declare syscall parsers using SYS_FUNC macro

Introduce SYS_FUNC macro to declare and define all syscall parsers.

* Makefile.am (BUILT_SOURCES, CLEANFILES): Add sys_func.h.
(sys_func.h): New rule.
* defs.h (SYS_FUNC_NAME, SYS_FUNC): New macros.
* linux/syscall.h: Include "sys_func.h".
[NEED_UID16_PARSERS]: Use SYS_FUNC to declare uid16 syscall parsers.
Remove other declarations.
* linux/alpha/syscallent.h (160, 161): Add sys_ prefix to osf_statfs
and osf_fstatfs syscall parsers.
* *.c: Use SYS_FUNC to define syscall parsers.
/external/strace/fanotify.c
28e3d6fd1ce422b40d6eb689f7b0a1b1a0640fd8 26-Feb-2015 Mike Frysinger <vapier@gentoo.org> hppa: fix fanotify_mark decoding

The parisc kernel has some legacy baggage here and decodes the 64bit
field in the reverse order. Handle it in strace too.

* fanotify.c [HPPA] (sys_fanotify_mark): Reverse the mask bits.
/external/strace/fanotify.c
34bbcc6270c7c1adc1687e4115aa64a265850730 19-Feb-2015 Dmitry V. Levin <ldv@altlinux.org> Remove linux/fanotify.h

* linux/fanotify.h: Remove.
* Makefile.am (EXTRA_DIST): Remove it.
* fanotify.c: Do not include <linux/fanotify.h>.
* xlat/fan_classes.in: Add default values.
* xlat/fan_event_flags.in: Likewise.
* xlat/fan_init_flags.in: Likewise.
* xlat/fan_mark_flags.in: Likewise.
/external/strace/fanotify.c
1ea64735fc2cdd4d2814a6455b50f6989c7f1d34 10-Jan-2015 Dmitry V. Levin <ldv@altlinux.org> Fix fanotify_mark decoding on 32-bit architectures

The fanotify_mark syscall takes a 64-bit mask, and on 32-bit
architectures it is split up into two syscall arguments.

* configure.ac (AC_CHECK_FUNCS): Add fanotify_mark.
(AC_CHECK_HEADERS): Add sys/fanotify.h.
* defs.h (getllval): New prototype.
* util.c (getllval): New function based on printllval.
(printllval): Use getllval.
* fanotify.c (sys_fanotify_mark): Use getllval to properly decode
64-bit mask and two syscall arguments followed by it.
* tests/fanotify_mark.c: New file.
* tests/fanotify_mark.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add fanotify_mark.
(TESTS): Add fanotify_mark.test.
* tests/.gitignore: Add fanotify_mark.
/external/strace/fanotify.c
d35bdcad13caac3e167735e1f0fc50355b2f9523 26-Apr-2014 Dmitry V. Levin <ldv@altlinux.org> Compress blank lines

Suppress empty lines left after automated xlat conversion.
/external/strace/fanotify.c
0ed617bd66624cec6138102545d73b2e2346f1f6 26-Apr-2014 Dmitry V. Levin <ldv@altlinux.org> Generate xlat/*.in files

Automatically convert xlat structures from *.c files to xlat/*.in files
using "./generate_xlat_in.sh *.c" command.
/external/strace/fanotify.c
99db95dd039d8fd700e7759bf4969abb55b979b9 05-Feb-2014 Dmitry V. Levin <ldv@altlinux.org> 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.
/external/strace/fanotify.c