(root)/
strace-6.5/
src/
xlat/
cap_mask0.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/cap_mask0.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #undef XLAT_PREV_VAL
       7  
       8  #ifndef XLAT_MACROS_ONLY
       9  
      10  # ifdef IN_MPERS
      11  
      12  #  error static const struct xlat cap_mask0 in mpers mode
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data cap_mask0_xdata[] = {
      18   XLAT_PAIR(1ULL<<CAP_CHOWN, "1<<CAP_CHOWN"),
      19   #define XLAT_VAL_0 ((unsigned) (1ULL<<CAP_CHOWN))
      20   #define XLAT_STR_0 "1<<CAP_CHOWN"
      21   XLAT_PAIR(1ULL<<CAP_DAC_OVERRIDE, "1<<CAP_DAC_OVERRIDE"),
      22   #define XLAT_VAL_1 ((unsigned) (1ULL<<CAP_DAC_OVERRIDE))
      23   #define XLAT_STR_1 "1<<CAP_DAC_OVERRIDE"
      24   XLAT_PAIR(1ULL<<CAP_DAC_READ_SEARCH, "1<<CAP_DAC_READ_SEARCH"),
      25   #define XLAT_VAL_2 ((unsigned) (1ULL<<CAP_DAC_READ_SEARCH))
      26   #define XLAT_STR_2 "1<<CAP_DAC_READ_SEARCH"
      27   XLAT_PAIR(1ULL<<CAP_FOWNER, "1<<CAP_FOWNER"),
      28   #define XLAT_VAL_3 ((unsigned) (1ULL<<CAP_FOWNER))
      29   #define XLAT_STR_3 "1<<CAP_FOWNER"
      30   XLAT_PAIR(1ULL<<CAP_FSETID, "1<<CAP_FSETID"),
      31   #define XLAT_VAL_4 ((unsigned) (1ULL<<CAP_FSETID))
      32   #define XLAT_STR_4 "1<<CAP_FSETID"
      33   XLAT_PAIR(1ULL<<CAP_KILL, "1<<CAP_KILL"),
      34   #define XLAT_VAL_5 ((unsigned) (1ULL<<CAP_KILL))
      35   #define XLAT_STR_5 "1<<CAP_KILL"
      36   XLAT_PAIR(1ULL<<CAP_SETGID, "1<<CAP_SETGID"),
      37   #define XLAT_VAL_6 ((unsigned) (1ULL<<CAP_SETGID))
      38   #define XLAT_STR_6 "1<<CAP_SETGID"
      39   XLAT_PAIR(1ULL<<CAP_SETUID, "1<<CAP_SETUID"),
      40   #define XLAT_VAL_7 ((unsigned) (1ULL<<CAP_SETUID))
      41   #define XLAT_STR_7 "1<<CAP_SETUID"
      42   XLAT_PAIR(1ULL<<CAP_SETPCAP, "1<<CAP_SETPCAP"),
      43   #define XLAT_VAL_8 ((unsigned) (1ULL<<CAP_SETPCAP))
      44   #define XLAT_STR_8 "1<<CAP_SETPCAP"
      45   XLAT_PAIR(1ULL<<CAP_LINUX_IMMUTABLE, "1<<CAP_LINUX_IMMUTABLE"),
      46   #define XLAT_VAL_9 ((unsigned) (1ULL<<CAP_LINUX_IMMUTABLE))
      47   #define XLAT_STR_9 "1<<CAP_LINUX_IMMUTABLE"
      48   XLAT_PAIR(1ULL<<CAP_NET_BIND_SERVICE, "1<<CAP_NET_BIND_SERVICE"),
      49   #define XLAT_VAL_10 ((unsigned) (1ULL<<CAP_NET_BIND_SERVICE))
      50   #define XLAT_STR_10 "1<<CAP_NET_BIND_SERVICE"
      51   XLAT_PAIR(1ULL<<CAP_NET_BROADCAST, "1<<CAP_NET_BROADCAST"),
      52   #define XLAT_VAL_11 ((unsigned) (1ULL<<CAP_NET_BROADCAST))
      53   #define XLAT_STR_11 "1<<CAP_NET_BROADCAST"
      54   XLAT_PAIR(1ULL<<CAP_NET_ADMIN, "1<<CAP_NET_ADMIN"),
      55   #define XLAT_VAL_12 ((unsigned) (1ULL<<CAP_NET_ADMIN))
      56   #define XLAT_STR_12 "1<<CAP_NET_ADMIN"
      57   XLAT_PAIR(1ULL<<CAP_NET_RAW, "1<<CAP_NET_RAW"),
      58   #define XLAT_VAL_13 ((unsigned) (1ULL<<CAP_NET_RAW))
      59   #define XLAT_STR_13 "1<<CAP_NET_RAW"
      60   XLAT_PAIR(1ULL<<CAP_IPC_LOCK, "1<<CAP_IPC_LOCK"),
      61   #define XLAT_VAL_14 ((unsigned) (1ULL<<CAP_IPC_LOCK))
      62   #define XLAT_STR_14 "1<<CAP_IPC_LOCK"
      63   XLAT_PAIR(1ULL<<CAP_IPC_OWNER, "1<<CAP_IPC_OWNER"),
      64   #define XLAT_VAL_15 ((unsigned) (1ULL<<CAP_IPC_OWNER))
      65   #define XLAT_STR_15 "1<<CAP_IPC_OWNER"
      66   XLAT_PAIR(1ULL<<CAP_SYS_MODULE, "1<<CAP_SYS_MODULE"),
      67   #define XLAT_VAL_16 ((unsigned) (1ULL<<CAP_SYS_MODULE))
      68   #define XLAT_STR_16 "1<<CAP_SYS_MODULE"
      69   XLAT_PAIR(1ULL<<CAP_SYS_RAWIO, "1<<CAP_SYS_RAWIO"),
      70   #define XLAT_VAL_17 ((unsigned) (1ULL<<CAP_SYS_RAWIO))
      71   #define XLAT_STR_17 "1<<CAP_SYS_RAWIO"
      72   XLAT_PAIR(1ULL<<CAP_SYS_CHROOT, "1<<CAP_SYS_CHROOT"),
      73   #define XLAT_VAL_18 ((unsigned) (1ULL<<CAP_SYS_CHROOT))
      74   #define XLAT_STR_18 "1<<CAP_SYS_CHROOT"
      75   XLAT_PAIR(1ULL<<CAP_SYS_PTRACE, "1<<CAP_SYS_PTRACE"),
      76   #define XLAT_VAL_19 ((unsigned) (1ULL<<CAP_SYS_PTRACE))
      77   #define XLAT_STR_19 "1<<CAP_SYS_PTRACE"
      78   XLAT_PAIR(1ULL<<CAP_SYS_PACCT, "1<<CAP_SYS_PACCT"),
      79   #define XLAT_VAL_20 ((unsigned) (1ULL<<CAP_SYS_PACCT))
      80   #define XLAT_STR_20 "1<<CAP_SYS_PACCT"
      81   XLAT_PAIR(1ULL<<CAP_SYS_ADMIN, "1<<CAP_SYS_ADMIN"),
      82   #define XLAT_VAL_21 ((unsigned) (1ULL<<CAP_SYS_ADMIN))
      83   #define XLAT_STR_21 "1<<CAP_SYS_ADMIN"
      84   XLAT_PAIR(1ULL<<CAP_SYS_BOOT, "1<<CAP_SYS_BOOT"),
      85   #define XLAT_VAL_22 ((unsigned) (1ULL<<CAP_SYS_BOOT))
      86   #define XLAT_STR_22 "1<<CAP_SYS_BOOT"
      87   XLAT_PAIR(1ULL<<CAP_SYS_NICE, "1<<CAP_SYS_NICE"),
      88   #define XLAT_VAL_23 ((unsigned) (1ULL<<CAP_SYS_NICE))
      89   #define XLAT_STR_23 "1<<CAP_SYS_NICE"
      90   XLAT_PAIR(1ULL<<CAP_SYS_RESOURCE, "1<<CAP_SYS_RESOURCE"),
      91   #define XLAT_VAL_24 ((unsigned) (1ULL<<CAP_SYS_RESOURCE))
      92   #define XLAT_STR_24 "1<<CAP_SYS_RESOURCE"
      93   XLAT_PAIR(1ULL<<CAP_SYS_TIME, "1<<CAP_SYS_TIME"),
      94   #define XLAT_VAL_25 ((unsigned) (1ULL<<CAP_SYS_TIME))
      95   #define XLAT_STR_25 "1<<CAP_SYS_TIME"
      96   XLAT_PAIR(1ULL<<CAP_SYS_TTY_CONFIG, "1<<CAP_SYS_TTY_CONFIG"),
      97   #define XLAT_VAL_26 ((unsigned) (1ULL<<CAP_SYS_TTY_CONFIG))
      98   #define XLAT_STR_26 "1<<CAP_SYS_TTY_CONFIG"
      99   XLAT_PAIR(1ULL<<CAP_MKNOD, "1<<CAP_MKNOD"),
     100   #define XLAT_VAL_27 ((unsigned) (1ULL<<CAP_MKNOD))
     101   #define XLAT_STR_27 "1<<CAP_MKNOD"
     102   XLAT_PAIR(1ULL<<CAP_LEASE, "1<<CAP_LEASE"),
     103   #define XLAT_VAL_28 ((unsigned) (1ULL<<CAP_LEASE))
     104   #define XLAT_STR_28 "1<<CAP_LEASE"
     105   XLAT_PAIR(1ULL<<CAP_AUDIT_WRITE, "1<<CAP_AUDIT_WRITE"),
     106   #define XLAT_VAL_29 ((unsigned) (1ULL<<CAP_AUDIT_WRITE))
     107   #define XLAT_STR_29 "1<<CAP_AUDIT_WRITE"
     108   XLAT_PAIR(1ULL<<CAP_AUDIT_CONTROL, "1<<CAP_AUDIT_CONTROL"),
     109   #define XLAT_VAL_30 ((unsigned) (1ULL<<CAP_AUDIT_CONTROL))
     110   #define XLAT_STR_30 "1<<CAP_AUDIT_CONTROL"
     111   XLAT_PAIR(1ULL<<CAP_SETFCAP, "1<<CAP_SETFCAP"),
     112   #define XLAT_VAL_31 ((unsigned) (1ULL<<CAP_SETFCAP))
     113   #define XLAT_STR_31 "1<<CAP_SETFCAP"
     114  };
     115  static
     116  const struct xlat cap_mask0[1] = { {
     117   .data = cap_mask0_xdata,
     118   .size = ARRAY_SIZE(cap_mask0_xdata),
     119   .type = XT_NORMAL,
     120   .flags_mask = 0
     121  #  ifdef XLAT_VAL_0
     122    | XLAT_VAL_0
     123  #  endif
     124  #  ifdef XLAT_VAL_1
     125    | XLAT_VAL_1
     126  #  endif
     127  #  ifdef XLAT_VAL_2
     128    | XLAT_VAL_2
     129  #  endif
     130  #  ifdef XLAT_VAL_3
     131    | XLAT_VAL_3
     132  #  endif
     133  #  ifdef XLAT_VAL_4
     134    | XLAT_VAL_4
     135  #  endif
     136  #  ifdef XLAT_VAL_5
     137    | XLAT_VAL_5
     138  #  endif
     139  #  ifdef XLAT_VAL_6
     140    | XLAT_VAL_6
     141  #  endif
     142  #  ifdef XLAT_VAL_7
     143    | XLAT_VAL_7
     144  #  endif
     145  #  ifdef XLAT_VAL_8
     146    | XLAT_VAL_8
     147  #  endif
     148  #  ifdef XLAT_VAL_9
     149    | XLAT_VAL_9
     150  #  endif
     151  #  ifdef XLAT_VAL_10
     152    | XLAT_VAL_10
     153  #  endif
     154  #  ifdef XLAT_VAL_11
     155    | XLAT_VAL_11
     156  #  endif
     157  #  ifdef XLAT_VAL_12
     158    | XLAT_VAL_12
     159  #  endif
     160  #  ifdef XLAT_VAL_13
     161    | XLAT_VAL_13
     162  #  endif
     163  #  ifdef XLAT_VAL_14
     164    | XLAT_VAL_14
     165  #  endif
     166  #  ifdef XLAT_VAL_15
     167    | XLAT_VAL_15
     168  #  endif
     169  #  ifdef XLAT_VAL_16
     170    | XLAT_VAL_16
     171  #  endif
     172  #  ifdef XLAT_VAL_17
     173    | XLAT_VAL_17
     174  #  endif
     175  #  ifdef XLAT_VAL_18
     176    | XLAT_VAL_18
     177  #  endif
     178  #  ifdef XLAT_VAL_19
     179    | XLAT_VAL_19
     180  #  endif
     181  #  ifdef XLAT_VAL_20
     182    | XLAT_VAL_20
     183  #  endif
     184  #  ifdef XLAT_VAL_21
     185    | XLAT_VAL_21
     186  #  endif
     187  #  ifdef XLAT_VAL_22
     188    | XLAT_VAL_22
     189  #  endif
     190  #  ifdef XLAT_VAL_23
     191    | XLAT_VAL_23
     192  #  endif
     193  #  ifdef XLAT_VAL_24
     194    | XLAT_VAL_24
     195  #  endif
     196  #  ifdef XLAT_VAL_25
     197    | XLAT_VAL_25
     198  #  endif
     199  #  ifdef XLAT_VAL_26
     200    | XLAT_VAL_26
     201  #  endif
     202  #  ifdef XLAT_VAL_27
     203    | XLAT_VAL_27
     204  #  endif
     205  #  ifdef XLAT_VAL_28
     206    | XLAT_VAL_28
     207  #  endif
     208  #  ifdef XLAT_VAL_29
     209    | XLAT_VAL_29
     210  #  endif
     211  #  ifdef XLAT_VAL_30
     212    | XLAT_VAL_30
     213  #  endif
     214  #  ifdef XLAT_VAL_31
     215    | XLAT_VAL_31
     216  #  endif
     217    ,
     218   .flags_strsz = 0
     219  #  ifdef XLAT_STR_0
     220    + sizeof(XLAT_STR_0)
     221  #  endif
     222  #  ifdef XLAT_STR_1
     223    + sizeof(XLAT_STR_1)
     224  #  endif
     225  #  ifdef XLAT_STR_2
     226    + sizeof(XLAT_STR_2)
     227  #  endif
     228  #  ifdef XLAT_STR_3
     229    + sizeof(XLAT_STR_3)
     230  #  endif
     231  #  ifdef XLAT_STR_4
     232    + sizeof(XLAT_STR_4)
     233  #  endif
     234  #  ifdef XLAT_STR_5
     235    + sizeof(XLAT_STR_5)
     236  #  endif
     237  #  ifdef XLAT_STR_6
     238    + sizeof(XLAT_STR_6)
     239  #  endif
     240  #  ifdef XLAT_STR_7
     241    + sizeof(XLAT_STR_7)
     242  #  endif
     243  #  ifdef XLAT_STR_8
     244    + sizeof(XLAT_STR_8)
     245  #  endif
     246  #  ifdef XLAT_STR_9
     247    + sizeof(XLAT_STR_9)
     248  #  endif
     249  #  ifdef XLAT_STR_10
     250    + sizeof(XLAT_STR_10)
     251  #  endif
     252  #  ifdef XLAT_STR_11
     253    + sizeof(XLAT_STR_11)
     254  #  endif
     255  #  ifdef XLAT_STR_12
     256    + sizeof(XLAT_STR_12)
     257  #  endif
     258  #  ifdef XLAT_STR_13
     259    + sizeof(XLAT_STR_13)
     260  #  endif
     261  #  ifdef XLAT_STR_14
     262    + sizeof(XLAT_STR_14)
     263  #  endif
     264  #  ifdef XLAT_STR_15
     265    + sizeof(XLAT_STR_15)
     266  #  endif
     267  #  ifdef XLAT_STR_16
     268    + sizeof(XLAT_STR_16)
     269  #  endif
     270  #  ifdef XLAT_STR_17
     271    + sizeof(XLAT_STR_17)
     272  #  endif
     273  #  ifdef XLAT_STR_18
     274    + sizeof(XLAT_STR_18)
     275  #  endif
     276  #  ifdef XLAT_STR_19
     277    + sizeof(XLAT_STR_19)
     278  #  endif
     279  #  ifdef XLAT_STR_20
     280    + sizeof(XLAT_STR_20)
     281  #  endif
     282  #  ifdef XLAT_STR_21
     283    + sizeof(XLAT_STR_21)
     284  #  endif
     285  #  ifdef XLAT_STR_22
     286    + sizeof(XLAT_STR_22)
     287  #  endif
     288  #  ifdef XLAT_STR_23
     289    + sizeof(XLAT_STR_23)
     290  #  endif
     291  #  ifdef XLAT_STR_24
     292    + sizeof(XLAT_STR_24)
     293  #  endif
     294  #  ifdef XLAT_STR_25
     295    + sizeof(XLAT_STR_25)
     296  #  endif
     297  #  ifdef XLAT_STR_26
     298    + sizeof(XLAT_STR_26)
     299  #  endif
     300  #  ifdef XLAT_STR_27
     301    + sizeof(XLAT_STR_27)
     302  #  endif
     303  #  ifdef XLAT_STR_28
     304    + sizeof(XLAT_STR_28)
     305  #  endif
     306  #  ifdef XLAT_STR_29
     307    + sizeof(XLAT_STR_29)
     308  #  endif
     309  #  ifdef XLAT_STR_30
     310    + sizeof(XLAT_STR_30)
     311  #  endif
     312  #  ifdef XLAT_STR_31
     313    + sizeof(XLAT_STR_31)
     314  #  endif
     315    ,
     316  } };
     317  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
     318  
     319  #  undef XLAT_STR_0
     320  #  undef XLAT_VAL_0
     321  #  undef XLAT_STR_1
     322  #  undef XLAT_VAL_1
     323  #  undef XLAT_STR_2
     324  #  undef XLAT_VAL_2
     325  #  undef XLAT_STR_3
     326  #  undef XLAT_VAL_3
     327  #  undef XLAT_STR_4
     328  #  undef XLAT_VAL_4
     329  #  undef XLAT_STR_5
     330  #  undef XLAT_VAL_5
     331  #  undef XLAT_STR_6
     332  #  undef XLAT_VAL_6
     333  #  undef XLAT_STR_7
     334  #  undef XLAT_VAL_7
     335  #  undef XLAT_STR_8
     336  #  undef XLAT_VAL_8
     337  #  undef XLAT_STR_9
     338  #  undef XLAT_VAL_9
     339  #  undef XLAT_STR_10
     340  #  undef XLAT_VAL_10
     341  #  undef XLAT_STR_11
     342  #  undef XLAT_VAL_11
     343  #  undef XLAT_STR_12
     344  #  undef XLAT_VAL_12
     345  #  undef XLAT_STR_13
     346  #  undef XLAT_VAL_13
     347  #  undef XLAT_STR_14
     348  #  undef XLAT_VAL_14
     349  #  undef XLAT_STR_15
     350  #  undef XLAT_VAL_15
     351  #  undef XLAT_STR_16
     352  #  undef XLAT_VAL_16
     353  #  undef XLAT_STR_17
     354  #  undef XLAT_VAL_17
     355  #  undef XLAT_STR_18
     356  #  undef XLAT_VAL_18
     357  #  undef XLAT_STR_19
     358  #  undef XLAT_VAL_19
     359  #  undef XLAT_STR_20
     360  #  undef XLAT_VAL_20
     361  #  undef XLAT_STR_21
     362  #  undef XLAT_VAL_21
     363  #  undef XLAT_STR_22
     364  #  undef XLAT_VAL_22
     365  #  undef XLAT_STR_23
     366  #  undef XLAT_VAL_23
     367  #  undef XLAT_STR_24
     368  #  undef XLAT_VAL_24
     369  #  undef XLAT_STR_25
     370  #  undef XLAT_VAL_25
     371  #  undef XLAT_STR_26
     372  #  undef XLAT_VAL_26
     373  #  undef XLAT_STR_27
     374  #  undef XLAT_VAL_27
     375  #  undef XLAT_STR_28
     376  #  undef XLAT_VAL_28
     377  #  undef XLAT_STR_29
     378  #  undef XLAT_VAL_29
     379  #  undef XLAT_STR_30
     380  #  undef XLAT_VAL_30
     381  #  undef XLAT_STR_31
     382  #  undef XLAT_VAL_31
     383  # endif /* !IN_MPERS */
     384  
     385  #endif /* !XLAT_MACROS_ONLY */