Debian Codegraph @

templates/man3/bzero.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "bzero"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "bzero, explicit_bzero - zero a byte string"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>strings.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<void bzero(>size_t n;\n"
85 "B< void >I<s>B<[>I<n>B<], size_t >I<n>B<);>\n"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<#include E<lt>string.hE<gt>>\n"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<void explicit_bzero(>size_t n;\n"
101 "B< void >I<s>B<[>I<n>B<], size_t >I<n>B<);>\n"
102 msgstr ""
103
104 #. type: SH
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "DESCRIPTION"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The B<bzero>() function erases the data in the I<n> bytes of the memory "
116 "starting at the location pointed to by I<s>, by writing zeros (bytes "
117 "containing \\[aq]\\[rs]0\\[aq]) to that area."
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The B<explicit_bzero>() function performs the same task as B<bzero>(). It "
125 "differs from B<bzero>() in that it guarantees that compiler optimizations "
126 "will not remove the erase operation if the compiler deduces that the "
127 "operation is \"unnecessary\"."
128 msgstr ""
129
130 #. type: SH
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "RETURN VALUE"
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid "None."
141 msgstr ""
142
143 #. type: SH
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "ATTRIBUTES"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "For an explanation of the terms used in this section, see B<attributes>(7)."
155 msgstr ""
156
157 #. type: tbl table
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "Interface"
162 msgstr ""
163
164 #. type: tbl table
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "Attribute"
169 msgstr ""
170
171 #. type: tbl table
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid "Value"
176 msgstr ""
177
178 #. type: tbl table
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 #, no-wrap
182 msgid ".na\n"
183 msgstr ""
184
185 #. type: tbl table
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid ".nh\n"
190 msgstr ""
191
192 #. type: tbl table
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid ""
197 "B<bzero>(),\n"
198 "B<explicit_bzero>()"
199 msgstr ""
200
201 #. type: tbl table
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "Thread safety"
206 msgstr ""
207
208 #. type: tbl table
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "MT-Safe"
213 msgstr ""
214
215 #. type: SH
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "STANDARDS"
220 msgstr ""
221
222 #. type: SH
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "HISTORY"
227 msgstr ""
228
229 #. type: TP
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "B<explicit_bzero>()"
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid "glibc 2.25."
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "The B<explicit_bzero>() function is a nonstandard extension that is also "
247 "present on some of the BSDs. Some other implementations have a similar "
248 "function, such as B<memset_explicit>() or B<memset_s>()."
249 msgstr ""
250
251 #. type: TP
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "B<bzero>()"
256 msgstr ""
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid "4.3BSD."
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "Marked as LEGACY in POSIX.1-2001. Removed in POSIX.1-2008."
268 msgstr ""
269
270 #. type: SH
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "NOTES"
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "The B<explicit_bzero>() function addresses a problem that security-"
282 "conscious applications may run into when using B<bzero>(): if the compiler "
283 "can deduce that the location to be zeroed will never again be touched by a "
284 "I<correct> program, then it may remove the B<bzero>() call altogether. "
285 "This is a problem if the intent of the B<bzero>() call was to erase "
286 "sensitive data (e.g., passwords) to prevent the possibility that the data "
287 "was leaked by an incorrect or compromised program. Calls to "
288 "B<explicit_bzero>() are never optimized away by the compiler."
289 msgstr ""
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "The B<explicit_bzero>() function does not solve all problems associated "
296 "with erasing sensitive data:"
297 msgstr ""
298
299 #. type: IP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "\\[bu]"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "The B<explicit_bzero>() function does I<not> guarantee that sensitive data "
311 "is completely erased from memory. (The same is true of B<bzero>().) For "
312 "example, there may be copies of the sensitive data in a register and in "
313 "\"scratch\" stack areas. The B<explicit_bzero>() function is not aware of "
314 "these copies, and can't erase them."
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "In some circumstances, B<explicit_bzero>() can I<decrease> security. If "
322 "the compiler determined that the variable containing the sensitive data "
323 "could be optimized to be stored in a register (because it is small enough to "
324 "fit in a register, and no operation other than the B<explicit_bzero>() call "
325 "would need to take the address of the variable), then the "
326 "B<explicit_bzero>() call will force the data to be copied from the register "
327 "to a location in RAM that is then immediately erased (while the copy in the "
328 "register remains unaffected). The problem here is that data in RAM is more "
329 "likely to be exposed by a bug than data in a register, and thus the "
330 "B<explicit_bzero>() call creates a brief time window where the sensitive "
331 "data is more vulnerable than it would otherwise have been if no attempt had "
332 "been made to erase the data."
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "Note that declaring the sensitive variable with the B<volatile> qualifier "
340 "does I<not> eliminate the above problems. Indeed, it will make them worse, "
341 "since, for example, it may force a variable that would otherwise have been "
342 "optimized into a register to instead be maintained in (more vulnerable) RAM "
343 "for its entire lifetime."
344 msgstr ""
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "Notwithstanding the above details, for security-conscious applications, "
351 "using B<explicit_bzero>() is generally preferable to not using it. The "
352 "developers of B<explicit_bzero>() anticipate that future compilers will "
353 "recognize calls to B<explicit_bzero>() and take steps to ensure that all "
354 "copies of the sensitive data are erased, including copies in registers or in "
355 "\"scratch\" stack areas."
356 msgstr ""
357
358 #. type: SH
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "SEE ALSO"
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "B<bstring>(3), B<memset>(3), B<swab>(3)"
369 msgstr ""
370
371 #. type: TH
372 #: debian-trixie
373 #, no-wrap
374 msgid "2024-06-15"
375 msgstr ""
376
377 #. type: TH
378 #: debian-trixie
379 #, no-wrap
380 msgid "Linux man-pages 6.9.1"
381 msgstr ""
382
383 #. type: Plain text
384 #: debian-trixie
385 msgid "Standard C library (I<libc>, I<-lc>)"
386 msgstr ""
387
388 #. type: Plain text
389 #: debian-trixie fedora-44 fedora-rawhide
390 #, no-wrap
391 msgid "B<void bzero(void >I<s>B<[.>I<n>B<], size_t >I<n>B<);>\n"
392 msgstr ""
393
394 #. type: Plain text
395 #: debian-trixie fedora-44 fedora-rawhide
396 #, no-wrap
397 msgid "B<void explicit_bzero(void >I<s>B<[.>I<n>B<], size_t >I<n>B<);>\n"
398 msgstr ""
399
400 #. type: TH
401 #: fedora-44 fedora-rawhide
402 #, no-wrap
403 msgid "2024-07-23"
404 msgstr ""
405
406 #. type: TH
407 #: fedora-44 fedora-rawhide
408 #, no-wrap
409 msgid "Linux man-pages 6.13"
410 msgstr ""
411
412 #. type: TH
413 #: mageia-cauldron
414 #, no-wrap
415 msgid "Linux man-pages 6.17"
416 msgstr ""
417
418 #. type: TH
419 #: opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "Linux man-pages (unreleased)"
422 msgstr ""