Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/pr_cap_ambient.in; do not edit. */
      2 #if !(defined(PR_CAP_AMBIENT_IS_SET) || (defined(HAVE_DECL_PR_CAP_AMBIENT_IS_SET) && HAVE_DECL_PR_CAP_AMBIENT_IS_SET))
      3 # define PR_CAP_AMBIENT_IS_SET 1
      4 #endif
      5 #if !(defined(PR_CAP_AMBIENT_RAISE) || (defined(HAVE_DECL_PR_CAP_AMBIENT_RAISE) && HAVE_DECL_PR_CAP_AMBIENT_RAISE))
      6 # define PR_CAP_AMBIENT_RAISE 2
      7 #endif
      8 #if !(defined(PR_CAP_AMBIENT_LOWER) || (defined(HAVE_DECL_PR_CAP_AMBIENT_LOWER) && HAVE_DECL_PR_CAP_AMBIENT_LOWER))
      9 # define PR_CAP_AMBIENT_LOWER 3
     10 #endif
     11 #if !(defined(PR_CAP_AMBIENT_CLEAR_ALL) || (defined(HAVE_DECL_PR_CAP_AMBIENT_CLEAR_ALL) && HAVE_DECL_PR_CAP_AMBIENT_CLEAR_ALL))
     12 # define PR_CAP_AMBIENT_CLEAR_ALL 4
     13 #endif
     14 
     15 #ifdef IN_MPERS
     16 
     17 # error static const struct xlat pr_cap_ambient in mpers mode
     18 
     19 #else
     20 
     21 static
     22 const struct xlat pr_cap_ambient[] = {
     23  XLAT(PR_CAP_AMBIENT_IS_SET),
     24  XLAT(PR_CAP_AMBIENT_RAISE),
     25  XLAT(PR_CAP_AMBIENT_LOWER),
     26  XLAT(PR_CAP_AMBIENT_CLEAR_ALL),
     27  XLAT_END
     28 };
     29 
     30 #endif /* !IN_MPERS */
     31