From: Eugene Syromyatnikov Date: Thu, 13 Oct 2016 07:50:40 +0000 (+0300) Subject: xlat: use IN_* prefix for inotify_init1 flag constants X-Git-Tag: v4.15~213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f86e786f14e64dd0157ba00c846cc1b81b169c1;p=strace xlat: use IN_* prefix for inotify_init1 flag constants * xlat/inotify_init_flags.in: Replace O_* prefix with IN_* prefix for O_NONBLOCK and O_CLOEXEC constants, provide fallback definitions. --- diff --git a/xlat/inotify_init_flags.in b/xlat/inotify_init_flags.in index fb0338bc..163fb8f7 100644 --- a/xlat/inotify_init_flags.in +++ b/xlat/inotify_init_flags.in @@ -1,2 +1,4 @@ -O_NONBLOCK -O_CLOEXEC +IN_NONBLOCK O_NONBLOCK +#if defined IN_CLOEXEC || defined O_CLOEXEC +IN_CLOEXEC O_CLOEXEC +#endif