From: Eugene Syromyatnikov Date: Fri, 31 Aug 2018 07:08:08 +0000 (+0200) Subject: xlat: provide fallback definitions for open_access_modes constants X-Git-Tag: v4.25~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5918bf7e6b1ff8283f78814216ce29177205dbb;p=strace xlat: provide fallback definitions for open_access_modes constants * xlat/open_access_modes.in: Add fallback values. --- diff --git a/xlat/open_access_modes.in b/xlat/open_access_modes.in index 423a29b5..45dcd737 100644 --- a/xlat/open_access_modes.in +++ b/xlat/open_access_modes.in @@ -1,4 +1,5 @@ -O_RDONLY -O_WRONLY -O_RDWR -O_ACCMODE +#value_indexed +O_RDONLY 0 +O_WRONLY 1 +O_RDWR 2 +O_ACCMODE 3