File: ceccomp.pot

package info (click to toggle)
ceccomp 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,604 kB
  • sloc: ansic: 6,470; python: 1,039; makefile: 248; sh: 145
file content (443 lines) | stat: -rw-r--r-- 10,213 bytes parent folder | download | duplicates (2)
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-06 20:03+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../include/config.h:11
#, c-format
msgid ""
"ceccomp %s\n"
"Tag at %s\n"
"Build by %s\n"
msgstr ""

#: ../include/help.h:5
msgid "Usage: ceccomp <subcommand> <args> <options>\n"
msgstr ""

#: ../include/help.h:25
msgid ""
"asm      -- Assemble bpf text to raw bytes\n"
"disasm   -- Disassemble raw bytes to bpf text\n"
"emu      -- Emulate bpf program with given syscall and bpf text\n"
"help     -- Display ceccomp help information\n"
"probe    -- Trace the program for the first filter and emulate common "
"syscalls\n"
"trace    -- Run program or trace pid, extract bpf filter and then print to "
"text\n"
"version  -- Display ceccomp version\n"
msgstr ""

#: ../include/help.h:36
msgid ""
"Options:\n"
"-a, --arch (x86_64|aarch64|...)  Which architecture to resolve syscall_nr, "
"read or write bytestream by the byteorder of arch, default as your arch\n"
"-f, --fmt (hexline|hexfmt|raw)   Output format, default as hexline\n"
"-p, --pid system_process_id      Extract bpf filters from process and print "
"with bpf text form; CAP_SYS_ADMIN is needed to work\n"
"-o, --output file                Print to file to avoid mixing ceccomp "
"output and tracee program output, default as stderr\n"
"-q, --quiet                      Print emulate result only or suppress the "
"process info message in trace and probe\n"
"-s, --seize                      Follow process to trace load-filter "
"operation\n"
"-c, --color (auto|always|never)  When to print in color, default as auto\n"
"syscall_nr                       System call number or name (e.g. 0|read)\n"
"args[0-5], ip                    args and ip (instruction pointer) used for "
"emulation, default as 0\n"
"raw, text                        File with BPF RAW or BPF TEXT, see docs for "
"detail, default as stdin\n"
msgstr ""

#: ../include/utils/error.h:7
msgid "Found errors when assembling BPF from trace"
msgstr ""

#: ../include/utils/error.h:8
#, c-format
msgid "Failed to request a temporary file: %s"
msgstr ""

#: ../include/utils/error.h:12
msgid "Found errors when assembling text before emulating"
msgstr ""

#: ../include/utils/error.h:13
msgid "Please input syscall_nr (syscall name or number)"
msgstr ""

#: ../include/utils/error.h:14
msgid "Invalid syscall_nr"
msgstr ""

#: ../include/utils/error.h:17
msgid "Found errors when assembling"
msgstr ""

#: ../include/utils/error.h:18
msgid "Input file has more than 1024 statements!"
msgstr ""

#: ../include/utils/error.h:21
msgid "Found fatal errors when disassembling"
msgstr ""

#: ../include/utils/error.h:22
msgid "The input is empty"
msgstr ""

#: ../include/utils/error.h:24
msgid "The input is larger than 1024 filters! Perhaps inputting a wrong file?"
msgstr ""

#: ../include/utils/error.h:27
#, c-format
msgid "%d byte(s) at the end of input could not fit into a filter"
msgstr ""

#: ../include/utils/error.h:30
#, c-format
msgid "Start tracing process %d"
msgstr ""

#: ../include/utils/error.h:31
#, c-format
msgid "Peekdata failed at %p"
msgstr ""

#: ../include/utils/error.h:32
msgid "Failed to execute new program"
msgstr ""

#: ../include/utils/error.h:33
#, c-format
msgid "Process %d spawned a new pid %d"
msgstr ""

#: ../include/utils/error.h:34
#, c-format
msgid "Process %d exited"
msgstr ""

#: ../include/utils/error.h:35
#, c-format
msgid "Parsing seccomp filter loaded in process %d"
msgstr ""

#: ../include/utils/error.h:36
#, c-format
msgid "Process %d failed to load seccomp filter"
msgstr ""

#: ../include/utils/error.h:37
msgid "Procfs not accessible, unable to perform"
msgstr ""

#: ../include/utils/error.h:38
msgid "Found unresolvable non-classic BPF, skipping"
msgstr ""

#: ../include/utils/error.h:39
msgid "Kernel thread can not be seized"
msgstr ""

#: ../include/utils/error.h:40
#, c-format
msgid "No seccomp filters found in process %d"
msgstr ""

#: ../include/utils/error.h:42
#, c-format
msgid "Target process is already being traced by process %d"
msgstr ""

#: ../include/utils/error.h:44
#, c-format
msgid ""
"Process %d loaded strict seccomp mode, which only allows read, write, "
"exit_group and sigreturn!"
msgstr ""

#: ../include/utils/error.h:46
#, c-format
msgid "Unknown error when get filter: %s"
msgstr ""

#: ../include/utils/error.h:47
#, c-format
msgid "Unknown error when seizing process: %s"
msgstr ""

#: ../include/utils/error.h:48
msgid "The process to seize does not exist"
msgstr ""

#: ../include/utils/error.h:54
msgid "perhaps seizing kthread or lacking CAP_SYS_PTRACE"
msgstr ""

#: ../include/utils/error.h:56
msgid "Run with CAP_SYS_ADMIN capability to fetch seccomp filters"
msgstr ""

#: ../include/utils/error.h:58
msgid "Run with CAP_SYS_PTRACE capability to seize a foreign process"
msgstr ""

#: ../include/utils/error.h:60
msgid "32-bit tracer can not ptrace 64-bit tracee"
msgstr ""

#: ../include/utils/error.h:62
#, c-format
msgid "libseccomp does not support the tracee's arch (%#x)"
msgstr ""

#: ../include/utils/error.h:64
msgid "perhaps lacking CAP_SYS_ADMIN or ceccomp is in seccomp mode"
msgstr ""

#: ../include/utils/error.h:66
msgid "PTRACE_GET_SECCOMP_FILTER is not supported on your system"
msgstr ""

#: ../include/utils/error.h:68
msgid ""
"Ceccomp is in seccomp mode, fetching seccomp filters of other process is not "
"permitted"
msgstr ""

#: ../include/utils/error.h:71
msgid ""
"perhaps PTRACE_GET_SECCOMP_FILTER is not supported or no seccomp filter in "
"target process"
msgstr ""

#: ../include/utils/error.h:75
msgid "Invalid color mode"
msgstr ""

#: ../include/utils/error.h:76
msgid "Invalid format mode"
msgstr ""

#: ../include/utils/error.h:77
msgid "Invalid number"
msgstr ""

#: ../include/utils/error.h:78
#, c-format
msgid "Unable to open file %s: %s"
msgstr ""

#: ../include/utils/error.h:81
#, c-format
msgid "Reading input failed: %s"
msgstr ""

#: ../include/utils/error.h:83
#, c-format
msgid "Found '\\0' at file offset %lu, perhaps it's not a text file?"
msgstr ""

#: ../include/utils/error.h:85
msgid "No line break in source file, perhaps it's not a text file?"
msgstr ""

#: ../include/utils/error.h:87
#, c-format
msgid "Line %u has more than %u bytes, perhaps the input is not a text file?"
msgstr ""

#: ../include/utils/error.h:88
msgid "The input file is greater than 1 MiB!"
msgstr ""

#: ../include/utils/error.h:90
msgid "Found more than 4096 lines of text, perhaps it's not for ceccomp?"
msgstr ""

#: ../include/utils/error.h:93
msgid "Can not find label declaration"
msgstr ""

#: ../include/utils/error.h:96
msgid "Unexpected token"
msgstr ""

#: ../include/utils/error.h:97
msgid "Found duplicated label declaration"
msgstr ""

#: ../include/utils/error.h:98
msgid "Input number exceeds 32-bit range"
msgstr ""

#: ../include/utils/error.h:100
msgid "Expect operator"
msgstr ""

#: ../include/utils/error.h:101
msgid "Expect rvalue"
msgstr ""

#: ../include/utils/error.h:102
msgid "Expect return value"
msgstr ""

#: ../include/utils/error.h:104
msgid "Expect number"
msgstr ""

#: ../include/utils/error.h:105
msgid "Expect parenthesis"
msgstr ""

#: ../include/utils/error.h:106
msgid "Expect bracket"
msgstr ""

#: ../include/utils/error.h:107
msgid "Expect comparator"
msgstr ""

#: ../include/utils/error.h:108
msgid "Expect label"
msgstr ""

#: ../include/utils/error.h:109
msgid "Expect valid syscall name"
msgstr ""

#: ../include/utils/error.h:111
msgid ""
"Architecture token does not match any libseccomp arch, perhaps system "
"libseccomp is too old"
msgstr ""

#: ../include/utils/error.h:115
msgid "Expect 'goto'"
msgstr ""

#: ../include/utils/error.h:116
msgid "Expect '$A'"
msgstr ""

#: ../include/utils/error.h:117
msgid "Expect 'else'"
msgstr ""

#: ../include/utils/error.h:120
msgid "Rvalue should be '$A'"
msgstr ""

#: ../include/utils/error.h:121
msgid "Rvalue can not be '$A'"
msgstr ""

#: ../include/utils/error.h:122
msgid "Rvalue can not be '$X'"
msgstr ""

#: ../include/utils/error.h:124
msgid "Rvalue should be '$A' or '$X'"
msgstr ""

#: ../include/utils/error.h:125
msgid "Rvalue should be '$X' or number"
msgstr ""

#: ../include/utils/error.h:126
msgid "Operator should be '='"
msgstr ""

#: ../include/utils/error.h:127
msgid "Lvalue should be '$A'"
msgstr ""

#: ../include/utils/error.h:129
msgid "seccomp_data load offset must be 4-byte aligned"
msgstr ""

#: ../include/utils/error.h:131
msgid "seccomp_data load offset greater than the struct"
msgstr ""

#: ../include/utils/error.h:133
msgid "Args index out of range (0-5)"
msgstr ""

#: ../include/utils/error.h:134
msgid "Mem index out of range (0-15)"
msgstr ""

#: ../include/utils/error.h:135
msgid "Accessing uninitialized mem"
msgstr ""

#: ../include/utils/error.h:136
msgid "Dividing by zero"
msgstr ""

#: ../include/utils/error.h:137
msgid "Left or right shifting more than 32 bits"
msgstr ""

#: ../include/utils/error.h:139
msgid "Data carried by return motion exceeds 0xffff"
msgstr ""

#: ../include/utils/error.h:140
msgid "JT is larger than 0xff"
msgstr ""

#: ../include/utils/error.h:141
msgid "JT must be positive"
msgstr ""

#: ../include/utils/error.h:142
msgid "JF is larger than 0xff"
msgstr ""

#: ../include/utils/error.h:143
msgid "JF must be positive"
msgstr ""

#: ../include/utils/error.h:144
msgid "JT out of filters"
msgstr ""

#: ../include/utils/error.h:145
msgid "JF out of filters"
msgstr ""

#: ../include/utils/error.h:146
msgid "JA out of filters"
msgstr ""

#: ../include/utils/error.h:148
msgid "BPF filters must end with return"
msgstr ""

#: ../include/utils/error.h:149
msgid "The input does not contain any valid statement"
msgstr ""

#: ../include/utils/error.h:151
msgid "Invalid or unknown operation"
msgstr ""