diff options
| author | Dmitry V. Levin <ldv@altlinux.org> | 2014-04-25 23:30:54 +0000 |
|---|---|---|
| committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-05-30 21:40:03 +0000 |
| commit | 0ed617bd66624cec6138102545d73b2e2346f1f6 (patch) | |
| tree | 84a94dad39acc0f8b8283eaf86fd7bdfcef0b5d2 /inotify.c | |
| parent | 297b59401c998a2154b2fd1af7b234e2fa3a9305 (diff) | |
| download | android_external_strace-0ed617bd66624cec6138102545d73b2e2346f1f6.tar.gz android_external_strace-0ed617bd66624cec6138102545d73b2e2346f1f6.tar.bz2 android_external_strace-0ed617bd66624cec6138102545d73b2e2346f1f6.zip | |
Generate xlat/*.in files
Automatically convert xlat structures from *.c files to xlat/*.in files
using "./generate_xlat_in.sh *.c" command.
Diffstat (limited to 'inotify.c')
| -rw-r--r-- | inotify.c | 33 |
1 files changed, 2 insertions, 31 deletions
@@ -2,38 +2,9 @@ #include <fcntl.h> #include <linux/inotify.h> -static const struct xlat inotify_flags[] = { - XLAT(IN_ACCESS), - XLAT(IN_MODIFY), - XLAT(IN_ATTRIB), - XLAT(IN_CLOSE), - XLAT(IN_CLOSE_WRITE), - XLAT(IN_CLOSE_NOWRITE), - XLAT(IN_OPEN), - XLAT(IN_MOVE), - XLAT(IN_MOVED_FROM), - XLAT(IN_MOVED_TO), - XLAT(IN_CREATE), - XLAT(IN_DELETE), - XLAT(IN_DELETE_SELF), - XLAT(IN_MOVE_SELF), - XLAT(IN_UNMOUNT), - XLAT(IN_Q_OVERFLOW), - XLAT(IN_IGNORED), - XLAT(IN_ONLYDIR), - XLAT(IN_DONT_FOLLOW), - XLAT(IN_EXCL_UNLINK), - XLAT(IN_MASK_ADD), - XLAT(IN_ISDIR), - XLAT(IN_ONESHOT), - XLAT_END -}; +#include "xlat/inotify_flags.h" -static const struct xlat inotify_init_flags[] = { - XLAT(O_NONBLOCK), - XLAT(O_CLOEXEC), - XLAT_END -}; +#include "xlat/inotify_init_flags.h" int sys_inotify_add_watch(struct tcb *tcp) |
