This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
auditconstant_string.go
239 lines (234 loc) · 12.8 KB
/
auditconstant_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
// Code generated by "stringer -type=auditConstant audit_constant.go"; DO NOT EDIT.
package libaudit
import "fmt"
const _auditConstant_name = "AUDIT_COMPARE_UID_TO_OBJ_UIDAUDIT_COMPARE_GID_TO_OBJ_GIDAUDIT_COMPARE_EUID_TO_OBJ_UIDAUDIT_COMPARE_EGID_TO_OBJ_GIDAUDIT_COMPARE_AUID_TO_OBJ_UIDAUDIT_COMPARE_SUID_TO_OBJ_UIDAUDIT_COMPARE_SGID_TO_OBJ_GIDAUDIT_COMPARE_FSUID_TO_OBJ_UIDAUDIT_COMPARE_FSGID_TO_OBJ_GIDAUDIT_COMPARE_UID_TO_AUIDAUDIT_COMPARE_UID_TO_EUIDAUDIT_COMPARE_UID_TO_FSUIDAUDIT_COMPARE_UID_TO_SUIDAUDIT_COMPARE_AUID_TO_FSUIDAUDIT_COMPARE_AUID_TO_SUIDAUDIT_COMPARE_AUID_TO_EUIDAUDIT_COMPARE_EUID_TO_SUIDAUDIT_COMPARE_EUID_TO_FSUIDAUDIT_COMPARE_SUID_TO_FSUIDAUDIT_COMPARE_GID_TO_EGIDAUDIT_COMPARE_GID_TO_FSGIDAUDIT_COMPARE_GID_TO_SGIDAUDIT_COMPARE_EGID_TO_FSGIDAUDIT_COMPARE_EGID_TO_SGIDAUDIT_COMPARE_SGID_TO_FSGIDAUDIT_GETAUDIT_SETAUDIT_LISTAUDIT_ADDAUDIT_DELAUDIT_USERAUDIT_LOGINAUDIT_WATCH_INSAUDIT_WATCH_REMAUDIT_WATCH_LISTAUDIT_SIGNAL_INFOAUDIT_ADD_RULEAUDIT_DEL_RULEAUDIT_LIST_RULESAUDIT_TRIMAUDIT_MAKE_EQUIVAUDIT_TTY_GETAUDIT_TTY_SETAUDIT_SET_FEATUREAUDIT_GET_FEATUREAUDIT_FIRST_USER_MSGAUDIT_USER_ACCTAUDIT_USER_MGMTAUDIT_CRED_ACQAUDIT_CRED_DISPAUDIT_USER_STARTAUDIT_USER_ENDAUDIT_USER_AVCAUDIT_USER_CHAUTHTOKAUDIT_USER_ERRAUDIT_CRED_REFRAUDIT_USYS_CONFIGAUDIT_USER_LOGINAUDIT_USER_LOGOUTAUDIT_ADD_USERAUDIT_DEL_USERAUDIT_ADD_GROUPAUDIT_DEL_GROUPAUDIT_DAC_CHECKAUDIT_CHGRP_IDAUDIT_TESTAUDIT_TRUSTED_APPAUDIT_USER_SELINUX_ERRAUDIT_USER_CMDAUDIT_USER_TTYAUDIT_CHUSER_IDAUDIT_GRP_AUTHAUDIT_SYSTEM_BOOTAUDIT_SYSTEM_SHUTDOWNAUDIT_SYSTEM_RUNLEVELAUDIT_SERVICE_STARTAUDIT_SERVICE_STOPAUDIT_GRP_MGMTAUDIT_GRP_CHAUTHTOKAUDIT_MAC_CHECKAUDIT_ACCT_LOCKAUDIT_ACCT_UNLOCKAUDIT_LAST_USER_MSGAUDIT_FIRST_DAEMONA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ROLE_MODIFYAUDIT_USER_MAC_CONFIG_CHANGEAUDIT_LAST_USER_LSPP_MSGAUDIT_FIRST_CRYPTO_MSGAUDIT_CRYPTO_PARAM_CHANGE_USERAUDIT_CRYPTO_LOGINAUDIT_CRYPTO_LOGOUTAUDIT_CRYPTO_KEY_USERAUDIT_CRYPTO_FAILURE_USERAUDIT_CRYPTO_REPLAY_USERAUDIT_CRYPTO_SESSIONAUDIT_CRYPTO_IKE_SAAUDIT_CRYPTO_IPSEC_SAAUDIT_LAST_CRYPTO_MSGAUDIT_FIRST_VIRT_MSGAUDIT_VIRT_RESOURCEAUDIT_VIRT_MACHINE_IDAUDIT_LAST_VIRT_MSGAUDIT_LAST_USER_MSG2"
var _auditConstant_map = map[auditConstant]string{
1: _auditConstant_name[0:28],
2: _auditConstant_name[28:56],
3: _auditConstant_name[56:85],
4: _auditConstant_name[85:114],
5: _auditConstant_name[114:143],
6: _auditConstant_name[143:172],
7: _auditConstant_name[172:201],
8: _auditConstant_name[201:231],
9: _auditConstant_name[231:261],
10: _auditConstant_name[261:286],
11: _auditConstant_name[286:311],
12: _auditConstant_name[311:337],
13: _auditConstant_name[337:362],
14: _auditConstant_name[362:389],
15: _auditConstant_name[389:415],
16: _auditConstant_name[415:441],
17: _auditConstant_name[441:467],
18: _auditConstant_name[467:494],
19: _auditConstant_name[494:521],
20: _auditConstant_name[521:546],
21: _auditConstant_name[546:572],
22: _auditConstant_name[572:597],
23: _auditConstant_name[597:624],
24: _auditConstant_name[624:650],
25: _auditConstant_name[650:677],
1000: _auditConstant_name[677:686],
1001: _auditConstant_name[686:695],
1002: _auditConstant_name[695:705],
1003: _auditConstant_name[705:714],
1004: _auditConstant_name[714:723],
1005: _auditConstant_name[723:733],
1006: _auditConstant_name[733:744],
1007: _auditConstant_name[744:759],
1008: _auditConstant_name[759:774],
1009: _auditConstant_name[774:790],
1010: _auditConstant_name[790:807],
1011: _auditConstant_name[807:821],
1012: _auditConstant_name[821:835],
1013: _auditConstant_name[835:851],
1014: _auditConstant_name[851:861],
1015: _auditConstant_name[861:877],
1016: _auditConstant_name[877:890],
1017: _auditConstant_name[890:903],
1018: _auditConstant_name[903:920],
1019: _auditConstant_name[920:937],
1100: _auditConstant_name[937:957],
1101: _auditConstant_name[957:972],
1102: _auditConstant_name[972:987],
1103: _auditConstant_name[987:1001],
1104: _auditConstant_name[1001:1016],
1105: _auditConstant_name[1016:1032],
1106: _auditConstant_name[1032:1046],
1107: _auditConstant_name[1046:1060],
1108: _auditConstant_name[1060:1080],
1109: _auditConstant_name[1080:1094],
1110: _auditConstant_name[1094:1109],
1111: _auditConstant_name[1109:1126],
1112: _auditConstant_name[1126:1142],
1113: _auditConstant_name[1142:1159],
1114: _auditConstant_name[1159:1173],
1115: _auditConstant_name[1173:1187],
1116: _auditConstant_name[1187:1202],
1117: _auditConstant_name[1202:1217],
1118: _auditConstant_name[1217:1232],
1119: _auditConstant_name[1232:1246],
1120: _auditConstant_name[1246:1256],
1121: _auditConstant_name[1256:1273],
1122: _auditConstant_name[1273:1295],
1123: _auditConstant_name[1295:1309],
1124: _auditConstant_name[1309:1323],
1125: _auditConstant_name[1323:1338],
1126: _auditConstant_name[1338:1352],
1127: _auditConstant_name[1352:1369],
1128: _auditConstant_name[1369:1390],
1129: _auditConstant_name[1390:1411],
1130: _auditConstant_name[1411:1430],
1131: _auditConstant_name[1430:1448],
1132: _auditConstant_name[1448:1462],
1133: _auditConstant_name[1462:1481],
1134: _auditConstant_name[1481:1496],
1135: _auditConstant_name[1496:1511],
1136: _auditConstant_name[1511:1528],
1199: _auditConstant_name[1528:1547],
1200: _auditConstant_name[1547:1565],
1203: _auditConstant_name[1565:1584],
1204: _auditConstant_name[1584:1605],
1205: _auditConstant_name[1605:1624],
1206: _auditConstant_name[1624:1643],
1207: _auditConstant_name[1643:1662],
1208: _auditConstant_name[1662:1680],
1299: _auditConstant_name[1680:1697],
1300: _auditConstant_name[1697:1710],
1302: _auditConstant_name[1710:1720],
1303: _auditConstant_name[1720:1729],
1304: _auditConstant_name[1729:1745],
1305: _auditConstant_name[1745:1764],
1306: _auditConstant_name[1764:1778],
1307: _auditConstant_name[1778:1787],
1309: _auditConstant_name[1787:1799],
1311: _auditConstant_name[1799:1817],
1312: _auditConstant_name[1817:1830],
1313: _auditConstant_name[1830:1847],
1314: _auditConstant_name[1847:1862],
1315: _auditConstant_name[1862:1881],
1316: _auditConstant_name[1881:1899],
1317: _auditConstant_name[1899:1912],
1318: _auditConstant_name[1912:1925],
1319: _auditConstant_name[1925:1934],
1320: _auditConstant_name[1934:1943],
1321: _auditConstant_name[1943:1959],
1322: _auditConstant_name[1959:1971],
1323: _auditConstant_name[1971:1981],
1324: _auditConstant_name[1981:2000],
1325: _auditConstant_name[2000:2019],
1326: _auditConstant_name[2019:2032],
1327: _auditConstant_name[2032:2047],
1328: _auditConstant_name[2047:2067],
1399: _auditConstant_name[2067:2083],
1400: _auditConstant_name[2083:2092],
1401: _auditConstant_name[2092:2109],
1402: _auditConstant_name[2109:2123],
1403: _auditConstant_name[2123:2144],
1404: _auditConstant_name[2144:2160],
1405: _auditConstant_name[2160:2183],
1406: _auditConstant_name[2183:2204],
1407: _auditConstant_name[2204:2225],
1408: _auditConstant_name[2225:2246],
1409: _auditConstant_name[2246:2263],
1410: _auditConstant_name[2263:2280],
1411: _auditConstant_name[2280:2301],
1412: _auditConstant_name[2301:2322],
1413: _auditConstant_name[2322:2344],
1414: _auditConstant_name[2344:2366],
1415: _auditConstant_name[2366:2387],
1416: _auditConstant_name[2387:2409],
1417: _auditConstant_name[2409:2431],
1499: _auditConstant_name[2431:2449],
1500: _auditConstant_name[2449:2469],
1501: _auditConstant_name[2469:2489],
1502: _auditConstant_name[2489:2511],
1503: _auditConstant_name[2511:2532],
1504: _auditConstant_name[2532:2549],
1505: _auditConstant_name[2549:2570],
1506: _auditConstant_name[2570:2590],
1599: _auditConstant_name[2590:2609],
1600: _auditConstant_name[2609:2636],
1699: _auditConstant_name[2636:2662],
1700: _auditConstant_name[2662:2684],
1701: _auditConstant_name[2684:2700],
1702: _auditConstant_name[2700:2715],
1799: _auditConstant_name[2715:2739],
1800: _auditConstant_name[2739:2764],
1801: _auditConstant_name[2764:2788],
1802: _auditConstant_name[2788:2810],
1803: _auditConstant_name[2810:2830],
1804: _auditConstant_name[2830:2849],
1805: _auditConstant_name[2849:2869],
1899: _auditConstant_name[2869:2894],
2000: _auditConstant_name[2894:2906],
2100: _auditConstant_name[2906:2926],
2101: _auditConstant_name[2926:2947],
2102: _auditConstant_name[2947:2972],
2103: _auditConstant_name[2972:2993],
2104: _auditConstant_name[2993:3018],
2105: _auditConstant_name[3018:3036],
2106: _auditConstant_name[3036:3054],
2107: _auditConstant_name[3054:3074],
2108: _auditConstant_name[3074:3094],
2109: _auditConstant_name[3094:3124],
2110: _auditConstant_name[3124:3146],
2111: _auditConstant_name[3146:3166],
2112: _auditConstant_name[3166:3181],
2113: _auditConstant_name[3181:3199],
2114: _auditConstant_name[3199:3218],
2115: _auditConstant_name[3218:3237],
2116: _auditConstant_name[3237:3256],
2117: _auditConstant_name[3256:3277],
2199: _auditConstant_name[3277:3296],
2200: _auditConstant_name[3296:3317],
2201: _auditConstant_name[3317:3333],
2202: _auditConstant_name[3333:3353],
2203: _auditConstant_name[3353:3375],
2204: _auditConstant_name[3375:3397],
2205: _auditConstant_name[3397:3423],
2206: _auditConstant_name[3423:3451],
2207: _auditConstant_name[3451:3471],
2208: _auditConstant_name[3471:3491],
2209: _auditConstant_name[3491:3508],
2210: _auditConstant_name[3508:3523],
2211: _auditConstant_name[3523:3540],
2212: _auditConstant_name[3540:3555],
2299: _auditConstant_name[3555:3575],
2300: _auditConstant_name[3575:3600],
2301: _auditConstant_name[3600:3617],
2302: _auditConstant_name[3617:3634],
2303: _auditConstant_name[3634:3654],
2304: _auditConstant_name[3654:3678],
2305: _auditConstant_name[3678:3703],
2306: _auditConstant_name[3703:3730],
2307: _auditConstant_name[3730:3745],
2308: _auditConstant_name[3745:3762],
2309: _auditConstant_name[3762:3778],
2310: _auditConstant_name[3778:3804],
2311: _auditConstant_name[3804:3821],
2312: _auditConstant_name[3821:3849],
2399: _auditConstant_name[3849:3873],
2400: _auditConstant_name[3873:3895],
2401: _auditConstant_name[3895:3925],
2402: _auditConstant_name[3925:3943],
2403: _auditConstant_name[3943:3962],
2404: _auditConstant_name[3962:3983],
2405: _auditConstant_name[3983:4008],
2406: _auditConstant_name[4008:4032],
2407: _auditConstant_name[4032:4052],
2408: _auditConstant_name[4052:4071],
2409: _auditConstant_name[4071:4092],
2499: _auditConstant_name[4092:4113],
2500: _auditConstant_name[4113:4133],
2501: _auditConstant_name[4133:4152],
2502: _auditConstant_name[4152:4173],
2599: _auditConstant_name[4173:4192],
2999: _auditConstant_name[4192:4212],
}
func (i auditConstant) String() string {
if str, ok := _auditConstant_map[i]; ok {
return str
}
return fmt.Sprintf("auditConstant(%d)", i)
}