Debian Codegraph @

po/zh_CN.po

raw
1 # localization for ceccomp in Chinese simplified.
2 # Copyright (C) 2025-present ceccomp contributors
3 # This file is distributed under the same license as the ceccomp package.
4 # SPDX-FileCopyrightText: 2025 dbgbgtf 1
5 #
6 # SPDX-FileCopyrightText: 2025-2026 RocketDev <[email protected]>
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: ceccomp 4.2\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2026-05-19 23:55+0800\n"
12 "PO-Revision-Date: 2026-05-19 23:55+0800\n"
13 "Last-Translator: RocketDev <[email protected]>\n"
14 "Language-Team: Chinese <[email protected]>\n"
15 "Language: zh_CN\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=1; plural=0;\n"
20 "X-Generator: Poedit 3.8\n"
21
22 #: ../include/config.h:11
23 #, c-format
24 msgid ""
25 "ceccomp %s\n"
26 "Tagged on %s\n"
27 "Built by %s\n"
28 msgstr ""
29 "ceccomp %s\n"
30 "在 %s 发布\n"
31 "由 %s 构建\n"
32
33 #: ../include/help.h:5
34 msgid "Usage: ceccomp <subcommand> <args> <options>\n"
35 msgstr "用法: ceccomp <子命令> <参数> <选项>\n"
36
37 #: ../include/help.h:25
38 msgid ""
39 "asm -- Assemble bpf text to raw bytes\n"
40 "disasm -- Disassemble raw bytes to bpf text\n"
41 "emu -- Emulate bpf program with given syscall and bpf text\n"
42 "help -- Display ceccomp help information\n"
43 "probe -- Trace the program for the first filter and emulate common "
44 "syscalls\n"
45 "trace (dump) -- Run program or trace pid, extract bpf filter and then print "
46 "to text\n"
47 "version -- Display ceccomp version\n"
48 msgstr ""
49 "asm -- 把 bpf text 编译为 raw bytes\n"
50 "disasm -- 把 raw bytes 编译为 bpf text\n"
51 "emu -- 在给定的 syscall 和 bpf text 下模拟 bpf 程序的结果\n"
52 "help -- 显示帮助信息\n"
53 "probe -- trace 程序,对程序中出现的第一个 filter 模拟常见的 syscall\n"
54 "trace (dump) -- 运行程序或追踪指定 pid,提取 bpf 过滤器,并打印 text 结果\n"
55 "version -- 显示 ceccomp 版本\n"
56 "\n"
57
58 #: ../include/help.h:36
59 msgid ""
60 "Options:\n"
61 "-a, --arch (x86_64|aarch64|...) Which architecture to resolve syscall_nr, "
62 "read or write bytestream by the byteorder of arch, default as your arch\n"
63 "-f, --fmt (hexline|hexfmt|raw) Output format, default as hexline\n"
64 "-p, --pid system_process_id Extract bpf filters from process and print "
65 "with bpf text form; CAP_SYS_ADMIN is needed to work\n"
66 "-o, --output file Print to file to avoid mixing ceccomp "
67 "output and tracee program output, default as stderr\n"
68 "-q, --quiet Print emulate result only or suppress the "
69 "process info message in trace and probe\n"
70 "-s, --seize Follow process to trace load-filter "
71 "operation\n"
72 "-c, --color (auto|always|never) When to print in color, default as auto\n"
73 "syscall_nr System call number or name (e.g. 0|read)\n"
74 "args[0-5], ip args and ip (instruction pointer) used for "
75 "emulation, default as 0\n"
76 "raw, text File with BPF RAW or BPF TEXT, see docs for "
77 "detail, default as stdin\n"
78 msgstr ""
79 "选项:\n"
80 "-a, --arch (x86_64|aarch64|...) 选择哪一个架构来解析 syscall_nr,默认为你的"
81 "架构\n"
82 "-f, --fmt (hexline|hexfmt|raw) 输出格式, 默认为 hexline\n"
83 "-p, --pid system_process_id 从进程中提取 bpf 过滤器,并打印为 text 格"
84 "式; 需要 CAP_SYS_ADMIN 来运作\n"
85 "-o, --output file 将结果打印到文件来避免混淆 ceccomp 输出和 "
86 "tracee 程序输出,默认打印至 stderr\n"
87 "-q, --quiet 只打印 emulate 结果或在 trace 和 probe 时抑"
88 "制进程的 INFO 消息\n"
89 "-s, --seize 追踪进程以分析加载过滤器的操作\n"
90 "-c, --color (auto|always|never) 指定何时使用彩色输出, 默认为 auto\n"
91 "syscall_nr 系统调用号或系统调用名 (示例 0|read)\n"
92 "args[0-5], ip 用来模拟的系统调用的参数和 ip (instruction "
93 "pointer),默认为 0\n"
94 "raw, text raw 或 text 文件,默认为 stdin。更多细节请查"
95 "阅文档\n"
96
97 #: ../include/utils/error.h:6
98 #, c-format
99 msgid "Architecture name %s is not supported"
100 msgstr "不支持名为 %s 的架构"
101
102 #: ../include/utils/error.h:8
103 msgid "Found errors when assembling BPF from trace"
104 msgstr "当汇编从 trace 取得的 BPF 时发现错误"
105
106 #: ../include/utils/error.h:9
107 #, c-format
108 msgid "Failed to request a temporary file: %s"
109 msgstr "无法申请临时文件:%s"
110
111 #: ../include/utils/error.h:13
112 msgid "Found errors when assembling text before emulating"
113 msgstr "在模拟前汇编 text 时发现错误"
114
115 #: ../include/utils/error.h:14
116 msgid "Please input syscall_nr (syscall name or number)"
117 msgstr "请输入 syscall_nr(syscall 名字或数字)"
118
119 #: ../include/utils/error.h:15
120 msgid "Invalid syscall_nr"
121 msgstr "无效的系统调用号"
122
123 #: ../include/utils/error.h:18
124 msgid "Found errors when assembling"
125 msgstr "汇编时发现错误"
126
127 #: ../include/utils/error.h:19
128 msgid "Input file has more than 4096 statements!"
129 msgstr "输入包含超过 4096 行伪代码!"
130
131 #: ../include/utils/error.h:22
132 msgid "Found fatal errors when disassembling"
133 msgstr "反汇编时发现致命错误"
134
135 #: ../include/utils/error.h:23
136 msgid "The input is empty"
137 msgstr "输入为空"
138
139 #: ../include/utils/error.h:25
140 msgid "The input is larger than 4096 filters! Perhaps inputting a wrong file?"
141 msgstr "输入大小超过了 4096 个过滤器的大小!可能输入了错误的文件?"
142
143 #: ../include/utils/error.h:28
144 #, c-format
145 msgid "%u byte(s) at the end of input could not fit into a filter"
146 msgstr "输入末尾的 %u 个字节无法放入一个过滤器中"
147
148 #: ../include/utils/error.h:31
149 #, c-format
150 msgid "Start tracing process %d"
151 msgstr "开始追踪进程 %d"
152
153 #: ../include/utils/error.h:32
154 #, c-format
155 msgid "Peekdata failed at %p"
156 msgstr "无法在 %p peekdata"
157
158 #: ../include/utils/error.h:33
159 msgid "Failed to execute new program"
160 msgstr "无法执行新程序"
161
162 #: ../include/utils/error.h:34
163 #, c-format
164 msgid "Process %d spawned a new pid %d"
165 msgstr "进程 %d 派生了新进程 %d"
166
167 #: ../include/utils/error.h:35
168 #, c-format
169 msgid "Process %d exited"
170 msgstr "进程 %d 退出"
171
172 #: ../include/utils/error.h:36
173 #, c-format
174 msgid "Parsing seccomp filter loaded in process %d"
175 msgstr "正在解析进程 %d 加载的 seccomp 过滤器"
176
177 #: ../include/utils/error.h:37
178 #, c-format
179 msgid "Process %d failed to load seccomp filter: %s"
180 msgstr "进程 %d 加载 seccomp 过滤器失败:%s"
181
182 #: ../include/utils/error.h:38
183 msgid "Unknown reason"
184 msgstr "未知的原因"
185
186 #: ../include/utils/error.h:39
187 msgid "Procfs not accessible, unable to perform"
188 msgstr "Procfs 无法访问,无法执行"
189
190 #: ../include/utils/error.h:40
191 msgid "Found unresolvable non-classic BPF, skipping"
192 msgstr "发现无法解析的非经典 BPF,跳过"
193
194 #: ../include/utils/error.h:41
195 msgid "Kernel thread can not be seized"
196 msgstr "内核线程不能被附加"
197
198 #: ../include/utils/error.h:42
199 #, c-format
200 msgid "No seccomp filters found in process %d"
201 msgstr "在进程 %d 中没有找到 seccomp 过滤器"
202
203 #: ../include/utils/error.h:44
204 #, c-format
205 msgid "Target process is already being traced by process %d"
206 msgstr "目标进程已经被进程 %d 追踪"
207
208 #: ../include/utils/error.h:46
209 #, c-format
210 msgid ""
211 "Process %d loaded strict seccomp mode, which only allows read, write, "
212 "exit_group and sigreturn!"
213 msgstr ""
214 "进程 %d 加载了严格 seccomp 模式,只有 read, write, exit_group 和 sigreturn 被"
215 "允许!"
216
217 #: ../include/utils/error.h:48
218 #, c-format
219 msgid "Unknown error when get filter: %s"
220 msgstr "在 get filter 时发生未知错误:%s"
221
222 #: ../include/utils/error.h:49
223 #, c-format
224 msgid "Unknown error when seizing process: %s"
225 msgstr "在附加到进程时发生未知错误:%s"
226
227 #: ../include/utils/error.h:50
228 msgid "The process to seize does not exist"
229 msgstr "要附加的进程不存在"
230
231 #: ../include/utils/error.h:55
232 msgid ""
233 "Unexpected race condition detected when reading seccomp filters, please "
234 "consider use eBPF-based trace in next version"
235 msgstr ""
236 "在读取 seccomp 过滤器时检测到意料之外的条件竞争,请考虑使用下版本中将推出的基"
237 "于 eBPF 的追踪功能"
238
239 #: ../include/utils/error.h:59
240 msgid "perhaps seizing kthread or lacking CAP_SYS_PTRACE"
241 msgstr "可能正在附加到内核线程或缺少 CAP_SYS_PTRACE 权能"
242
243 #: ../include/utils/error.h:61
244 msgid "Run with CAP_SYS_ADMIN capability to fetch seccomp filters"
245 msgstr "以 CAP_SYS_ADMIN 权能运行来获取 seccomp 过滤器"
246
247 #: ../include/utils/error.h:63
248 msgid "Run with CAP_SYS_PTRACE capability to seize a foreign process"
249 msgstr "以 CAP_SYS_PTRACE 权能运行来附加到一个外部进程"
250
251 #: ../include/utils/error.h:65
252 msgid "32-bit tracer can not ptrace 64-bit tracee"
253 msgstr "32 位 tracer 无法 ptrace 64 位 tracee"
254
255 #: ../include/utils/error.h:67
256 #, c-format
257 msgid "libseccomp does not support the tracee's arch (%#x)"
258 msgstr "libseccomp 不支持 tracee 的架构 (%#x)"
259
260 #: ../include/utils/error.h:69
261 msgid "perhaps lacking CAP_SYS_ADMIN or ceccomp is in seccomp mode"
262 msgstr "可能缺少 CAP_SYS_ADMIN 权能或 ceccomp 处于 seccomp 模式"
263
264 #: ../include/utils/error.h:71
265 msgid "PTRACE_GET_SECCOMP_FILTER is not supported on your system"
266 msgstr "PTRACE_SECCOMP_GET_FILTER 在您的系统上不支持"
267
268 #: ../include/utils/error.h:73
269 msgid ""
270 "Ceccomp is in seccomp mode, fetching seccomp filters of other process is not "
271 "permitted"
272 msgstr "Ceccomp 处在 seccomp 模式,不允许获取其他进程的 seccomp 过滤器"
273
274 #: ../include/utils/error.h:76
275 msgid ""
276 "perhaps PTRACE_GET_SECCOMP_FILTER is not supported or no seccomp filter in "
277 "target process"
278 msgstr ""
279 "可能 PTRACE_SECCOMP_GET_FILTER 在您的系统上不支持或目标进程没有 seccomp 过滤"
280 "器"
281
282 #: ../include/utils/error.h:80
283 msgid "Invalid color mode"
284 msgstr "无效的颜色模式"
285
286 #: ../include/utils/error.h:81
287 msgid "Invalid format mode"
288 msgstr "无效的 asm 格式参数"
289
290 #: ../include/utils/error.h:82
291 msgid "Invalid number"
292 msgstr "无效的数字"
293
294 #: ../include/utils/error.h:83
295 #, c-format
296 msgid "Unable to open file %s: %s"
297 msgstr "无法打开文件 %s: %s"
298
299 #: ../include/utils/error.h:86
300 #, c-format
301 msgid "Reading input failed: %s"
302 msgstr "读取输入失败:%s"
303
304 #: ../include/utils/error.h:88
305 #, c-format
306 msgid "Found '\\0' at file offset %lu, perhaps it's not a text file?"
307 msgstr "在文件偏移 %lu 处发现 '\\0',可能不是一个文本文件?"
308
309 #: ../include/utils/error.h:90
310 msgid "No line break in source file, perhaps it's not a text file?"
311 msgstr "没有在源文件中找到换行符,可能不是一个文本文件?"
312
313 #: ../include/utils/error.h:92
314 #, c-format
315 msgid "Line %u has more than %u bytes, perhaps the input is not a text file?"
316 msgstr "第 %u 行上有超过 %u 个字节,可能输入不是一个文本文件?"
317
318 #: ../include/utils/error.h:93
319 msgid "The input file is greater than 4 MiB!"
320 msgstr "输入的文件超过了 4 MiB!"
321
322 #: ../include/utils/error.h:95
323 msgid "Found more than 16384 lines of text, perhaps it's not for ceccomp?"
324 msgstr "文件中包含超过 16384 行,可能它不是给 ceccomp 用的?"
325
326 #: ../include/utils/error.h:98
327 msgid "Can not find label declaration"
328 msgstr "无法找到标签声明"
329
330 #: ../include/utils/error.h:101
331 msgid "Unexpected token"
332 msgstr "意料之外的 token"
333
334 #: ../include/utils/error.h:102
335 msgid "Found duplicated label declaration"
336 msgstr "发现重复的标签声明"
337
338 #: ../include/utils/error.h:103
339 msgid "Input number exceeds 32-bit range"
340 msgstr "输入的数字超过了 32 位的范围"
341
342 #: ../include/utils/error.h:105
343 msgid "Expect operator"
344 msgstr "期待一个操作符"
345
346 #: ../include/utils/error.h:106
347 msgid "Expect rvalue"
348 msgstr "期待一个右值"
349
350 #: ../include/utils/error.h:107
351 msgid "Expect return value"
352 msgstr "期待一个 return 值"
353
354 #: ../include/utils/error.h:109
355 msgid "Expect number"
356 msgstr "期待一个数字"
357
358 #: ../include/utils/error.h:110
359 msgid "Expect parenthesis"
360 msgstr "期待一个小括号"
361
362 #: ../include/utils/error.h:111
363 msgid "Expect bracket"
364 msgstr "期待一个中括号"
365
366 #: ../include/utils/error.h:112
367 msgid "Expect comparator"
368 msgstr "期待一个比较符"
369
370 #: ../include/utils/error.h:113
371 msgid "Expect label"
372 msgstr "期待一个标签"
373
374 #: ../include/utils/error.h:114
375 msgid "Expect valid syscall name"
376 msgstr "期待一个系统调用名称"
377
378 #: ../include/utils/error.h:116
379 msgid ""
380 "Architecture token does not match any libseccomp arch, perhaps system "
381 "libseccomp is too old"
382 msgstr ""
383 "架构 token 没有匹配到任何 libseccomp 支持的架构,可能是因为系统 libseccomp 太"
384 "老了"
385
386 #: ../include/utils/error.h:120
387 msgid "Expect 'goto'"
388 msgstr "期待一个 'goto'"
389
390 #: ../include/utils/error.h:121
391 msgid "Expect '$A'"
392 msgstr "期待一个 '$A'"
393
394 #: ../include/utils/error.h:122
395 msgid "Expect 'else'"
396 msgstr "期待一个 'else'"
397
398 #: ../include/utils/error.h:125
399 msgid "Rvalue should be '$A'"
400 msgstr "右值应该为 '$A'"
401
402 #: ../include/utils/error.h:126
403 msgid "Rvalue can not be '$A'"
404 msgstr "右值不能为 '$A'"
405
406 #: ../include/utils/error.h:127
407 msgid "Rvalue can not be '$X'"
408 msgstr "右值不能为 '$X'"
409
410 #: ../include/utils/error.h:129
411 msgid "Rvalue should be '$A' or '$X'"
412 msgstr "右值应该为 '$A' 或 '$X'"
413
414 #: ../include/utils/error.h:130
415 msgid "Rvalue should be '$X' or number"
416 msgstr "右值应该为 '$X' 或数字"
417
418 #: ../include/utils/error.h:131
419 msgid "Operator should be '='"
420 msgstr "操作符应该为 '='"
421
422 #: ../include/utils/error.h:132
423 msgid "Lvalue should be '$A'"
424 msgstr "左值应该为 '$A'"
425
426 #: ../include/utils/error.h:134
427 msgid "seccomp_data load offset must be 4-byte aligned"
428 msgstr "seccomp_data 加载偏移必须对齐到 4 字节"
429
430 #: ../include/utils/error.h:136
431 msgid "seccomp_data load offset greater than the struct"
432 msgstr "seccomp_data 加载偏移超过了结构体本身的大小"
433
434 #: ../include/utils/error.h:138
435 msgid "Args index out of range (0-5)"
436 msgstr "访问 args 索引超出范围 (0-5)"
437
438 #: ../include/utils/error.h:139
439 msgid "Mem index out of range (0-15)"
440 msgstr "访问 mem 索引超出范围 (0-5)"
441
442 #: ../include/utils/error.h:140
443 msgid "Accessing uninitialized mem"
444 msgstr "尝试访问未初始化的 mem"
445
446 #: ../include/utils/error.h:141
447 msgid "Dividing by zero"
448 msgstr "除以零"
449
450 #: ../include/utils/error.h:142
451 msgid "Left or right shifting more than 32 bits"
452 msgstr "左移或右移超过 32 位"
453
454 #: ../include/utils/error.h:144
455 msgid "Data carried by return motion exceeds 0xffff"
456 msgstr "return 动作携带的 data 超过了 0xffff"
457
458 #: ../include/utils/error.h:145
459 msgid "JT is larger than 0xff"
460 msgstr "JT 大于了 0xff"
461
462 #: ../include/utils/error.h:146
463 msgid "JT must be positive"
464 msgstr "JT 必须是正数"
465
466 #: ../include/utils/error.h:147
467 msgid "JF is larger than 0xff"
468 msgstr "JF 大于了 0xff"
469
470 #: ../include/utils/error.h:148
471 msgid "JF must be positive"
472 msgstr "JF 必须是正数"
473
474 #: ../include/utils/error.h:149
475 msgid "JT out of filters"
476 msgstr "JT 超出 BPF 长度"
477
478 #: ../include/utils/error.h:150
479 msgid "JF out of filters"
480 msgstr "JF 超出 BPF 长度"
481
482 #: ../include/utils/error.h:151
483 msgid "JA out of filters"
484 msgstr "跳转结果超出 BPF 长度"
485
486 #: ../include/utils/error.h:152
487 msgid "JA must be positive"
488 msgstr "JA 必须是正数"
489
490 #: ../include/utils/error.h:154
491 msgid "BPF filters must end with return"
492 msgstr "BPF 过滤器必须以 return 结尾"
493
494 #: ../include/utils/error.h:155
495 msgid "The input does not contain any valid statement"
496 msgstr "输入不包含任何有效的伪代码"
497
498 #: ../include/utils/error.h:157
499 msgid "Invalid or unknown operation"
500 msgstr "无效或未知的操作符"