-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerated.go
202 lines (135 loc) · 5.64 KB
/
generated.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
package exitcode_go
const (
// Success - Generic success code. (from libc)
Success = 0
// Failure - Generic failure or unspecified error. (from libc)
Failure = 1
// InvalidArgument - Invalid or excess arguments. (from LSB)
InvalidArgument = 2
// NotImplemented - Unimplemented feature. (from LSB)
NotImplemented = 3
// NoPermission - The user has insufficient privileges. (from LSB)
NoPermission = 4
// NotInstalled - The program is not installed. (from LSB)
NotInstalled = 5
// NotConfigured - The program is not configured. (from LSB)
NotConfigured = 6
// NotRunning - The program is not running. (from LSB)
NotRunning = 7
// Usage - Command line usage error (from BSD)
Usage = 64
// DataErr - Data format error (from BSD)
DataErr = 65
// NoInput - Cannot open input (from BSD)
NoInput = 66
// NoUser - Addressee unknown (from BSD)
NoUser = 67
// NoHost - Host name unknown (from BSD)
NoHost = 68
// Unavailable - Service unavailable (from BSD)
Unavailable = 69
// Software - internal software error (from BSD)
Software = 70
// OSErr - System error (e.g., can't fork) (from BSD)
OSErr = 71
// OSFile - Critical OS file missing (from BSD)
OSFile = 72
// CantCreat - Can't create (user) output file (from BSD)
CantCreat = 73
// IOErr - Input/output error (from BSD)
IOErr = 74
// TempFail - Temporary failure; user is invited to retry (from BSD)
TempFail = 75
// Protocol - Remote error in protocol (from BSD)
Protocol = 76
// NoPermBSD - Permission denied (from BSD)
NoPermBSD = 77
// ConfigBSD - Configuration error (from BSD)
ConfigBSD = 78
// Chdir - Changing to the requested working directory failed. (from systemd)
Chdir = 200
// Nice - Failed to set up process scheduling priority (nice level). (from systemd)
Nice = 201
// Fds - Failed to close unwanted file descriptors, or to adjust passed file descriptors. (from systemd)
Fds = 202
// Exec - The actual process execution failed (specifically, the execve(2) system call). Most likely this is caused by a missing or non-accessible executable file. (from systemd)
Exec = 203
// Memory - Failed to perform an action due to memory shortage. (from systemd)
Memory = 204
// Limits - Failed to adjust resource limits. (from systemd)
Limits = 205
// OomAdjust - Failed to adjust the OOM setting. (from systemd)
OomAdjust = 206
// SignalMask - Failed to set process signal mask. (from systemd)
SignalMask = 207
// Stdin - Failed to set up standard input. (from systemd)
Stdin = 208
// Stdout - Failed to set up standard output. (from systemd)
Stdout = 209
// Chroot - Failed to change root directory (chroot(2)). (from systemd)
Chroot = 210
// Ioprio - Failed to set up IO scheduling priority. (from systemd)
Ioprio = 211
// TimerSlack - Failed to set up timer slack. (from systemd)
TimerSlack = 212
// SecureBits - Failed to set process secure bits. (from systemd)
SecureBits = 213
// SetScheduler - Failed to set up CPU scheduling. (from systemd)
SetScheduler = 214
// CPUAffinity - Failed to set up CPU affinity. (from systemd)
CPUAffinity = 215
// Group - Failed to determine or change group credentials. (from systemd)
Group = 216
// User - Failed to determine or change user credentials, or to set up user namespacing. (from systemd)
User = 217
// Capabilities - Failed to drop capabilities, or apply ambient capabilities. (from systemd)
Capabilities = 218
// CGroup - Setting up the service control group failed. (from systemd)
CGroup = 219
// SetSID - Failed to create new process session. (from systemd)
SetSID = 220
// Confirm - Execution has been cancelled by the user. See the systemd.confirm_spawn= kernel command line setting on kernel-command-line(7) for details. (from systemd)
Confirm = 221
// StdErr - Failed to set up standard error output. (from systemd)
StdErr = 222
// PAM - Failed to set up PAM session. (from systemd)
PAM = 224
// Network - Failed to set up network namespacing. (from systemd)
Network = 225
// Namespace - Failed to set up mount, UTS, or IPC namespacing. (from systemd)
Namespace = 226
// NoNewPrivileges - Failed to disable new privileges. (from systemd)
NoNewPrivileges = 227
// Seccomp - Failed to apply system call filters. (from systemd)
Seccomp = 228
// SELinuxContext - Determining or changing SELinux context failed. (from systemd)
SELinuxContext = 229
// Personality - Failed to set up an execution domain (personality). (from systemd)
Personality = 230
// AppArmorProfile - Failed to prepare changing AppArmor profile. (from systemd)
AppArmorProfile = 231
// AddressFamilies - Failed to restrict address families. (from systemd)
AddressFamilies = 232
// RuntimeDirectory - Setting up runtime directory failed. (from systemd)
RuntimeDirectory = 233
// Chown - Failed to adjust socket ownership. Used for socket units only. (from systemd)
Chown = 235
// SmackProcessLabel - Failed to set SMACK label. (from systemd)
SmackProcessLabel = 236
// Keyring - Failed to set up kernel keyring. (from systemd)
Keyring = 237
// StateDirectory - Failed to set up unit's state directory. (from systemd)
StateDirectory = 238
// CacheDirectory - Failed to set up unit's cache directory. (from systemd)
CacheDirectory = 239
// LogsDirectory - Failed to set up unit's logging directory. (from systemd)
LogsDirectory = 240
// ConfigurationDirectory - Failed to set up unit's configuration directory. (from systemd)
ConfigurationDirectory = 241
// NUMAPolicy - Failed to set up unit's NUMA memory policy. (from systemd)
NUMAPolicy = 242
// Credentials - Failed to set up unit's credentials. (from systemd)
Credentials = 243
// BPF - Failed to apply BPF restrictions. (from systemd)
BPF = 245
)