Debian Codegraph @

po/es/man7/pipe.7.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
8 "PO-Revision-Date: 2021-09-10 15:39+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
19 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
20 #, no-wrap
21 msgid "pipe"
22 msgstr ""
23
24 #. type: TH
25 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
26 #: opensuse-tumbleweed
27 #, no-wrap
28 msgid "2026-02-08"
29 msgstr "8 Febrero 2026"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, fuzzy, no-wrap
34 #| msgid "Linux man-pages 6.17"
35 msgid "Linux man-pages 6.18"
36 msgstr "Páginas de Manual de Linux 6.17"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NOMBRE"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "pipe - overview of pipes and FIFOs"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "DESCRIPCIÓN"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "Pipes and FIFOs (also known as named pipes) provide a unidirectional "
63 "interprocess communication channel. A pipe has a I<read end> and a I<write "
64 "end>. Data written to the write end of a pipe can be read from the read end "
65 "of the pipe."
66 msgstr ""
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 msgid ""
72 "A pipe is created using B<pipe>(2), which creates a new pipe and returns two "
73 "file descriptors, one referring to the read end of the pipe, the other "
74 "referring to the write end. Pipes can be used to create a communication "
75 "channel between related processes; see B<pipe>(2) for an example."
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 msgid ""
82 "A FIFO (short for First In First Out) has a name within the filesystem "
83 "(created using B<mkfifo>(3)), and is opened using B<open>(2). Any process "
84 "may open a FIFO, assuming the file permissions allow it. The read end is "
85 "opened using the B<O_RDONLY> flag; the write end is opened using the "
86 "B<O_WRONLY> flag. See B<fifo>(7) for further details. I<Note>: although "
87 "FIFOs have a pathname in the filesystem, I/O on FIFOs does not involve "
88 "operations on the underlying device (if there is one)."
89 msgstr ""
90
91 #. type: SS
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "I/O on pipes and FIFOs"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "The only difference between pipes and FIFOs is the manner in which they are "
103 "created and opened. Once these tasks have been accomplished, I/O on pipes "
104 "and FIFOs has exactly the same semantics."
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "If a process attempts to read from an empty pipe, then B<read>(2) will "
112 "block until data is available. If a process attempts to write to a full "
113 "pipe (see below), then B<write>(2) blocks until sufficient data has been "
114 "read from the pipe to allow the write to complete."
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "Nonblocking I/O is possible by using the B<fcntl>(2) B<F_SETFL> operation "
122 "to enable the B<O_NONBLOCK> open file status flag or by opening a "
123 "B<fifo>(7) with B<O_NONBLOCK>. If any process has the pipe open for "
124 "writing, reads fail with B<EAGAIN>; otherwise\\[em]with no potential "
125 "writers\\[em]reads succeed and return empty."
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "The communication channel provided by a pipe is a I<byte stream>: there is "
133 "no concept of message boundaries."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "If all file descriptors referring to the write end of a pipe have been "
141 "closed, then an attempt to B<read>(2) from the pipe will see end-of-file "
142 "(B<read>(2) will return 0). If all file descriptors referring to the read "
143 "end of a pipe have been closed, then a B<write>(2) will cause a B<SIGPIPE> "
144 "signal to be generated for the calling process. If the calling process is "
145 "ignoring this signal, then B<write>(2) fails with the error B<EPIPE>. An "
146 "application that uses B<pipe>(2) and B<fork>(2) should use suitable "
147 "B<close>(2) calls to close unnecessary duplicate file descriptors; this "
148 "ensures that end-of-file and B<SIGPIPE>/B<EPIPE> are delivered when "
149 "appropriate."
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid "It is not possible to apply B<lseek>(2) to a pipe."
156 msgstr ""
157
158 #. type: SS
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "Pipe capacity"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "A pipe has a limited capacity. If the pipe is full, then a B<write>(2) "
170 "will block or fail, depending on whether the B<O_NONBLOCK> flag is set (see "
171 "below). Different implementations have different limits for the pipe "
172 "capacity. Applications should not rely on a particular capacity: an "
173 "application should be designed so that a reading process consumes data as "
174 "soon as it is available, so that a writing process does not remain blocked."
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
179 #: opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "Before Linux 2.6.11, the capacity of a pipe was the same as the system page "
182 "size (e.g., 4096 bytes on i386). Since Linux 2.6.11, the pipe capacity is "
183 "16 pages (i.e., 65,536 bytes in a system with a page size of 4096 bytes). "
184 "Since Linux 2.6.35, the default pipe capacity is 16 pages, but the capacity "
185 "can be queried and set using the B<fcntl>(2) B<F_GETPIPE_SZ> and "
186 "B<F_SETPIPE_SZ> operations. See B<fcntl>(2) for more information. Since "
187 "Linux 4.5, the default pipe capacity is lower than 16 pages when the I<pipe-"
188 "user-pages-soft> limit is exceeded."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "The following B<ioctl>(2) operation, which can be applied to a file "
196 "descriptor that refers to either end of a pipe, places a count of the number "
197 "of unread bytes in the pipe in the I<int> buffer pointed to by the final "
198 "argument of the call:"
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "ioctl(fd, FIONREAD, &nbytes);\n"
206 msgstr ""
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "The B<FIONREAD> operation is not specified in any standard, but is provided "
213 "on many implementations."
214 msgstr ""
215
216 #. type: SS
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "/proc files"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "On Linux, the following files control how much memory can be used for pipes:"
228 msgstr ""
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "I</proc/sys/fs/pipe-max-pages> (only in Linux 2.6.34)"
235 msgstr ""
236
237 #. commit b492e95be0ae672922f4734acf3f5d35c30be948
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid ""
242 "An upper limit, in pages, on the capacity that an unprivileged user (one "
243 "without the B<CAP_SYS_RESOURCE> capability) can set for a pipe."
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "The default value for this limit is 16 times the default pipe capacity (see "
251 "above); the lower limit is two pages."
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "This interface was removed in Linux 2.6.35, in favor of I</proc/sys/fs/pipe-"
259 "max-size>."
260 msgstr ""
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "I</proc/sys/fs/pipe-max-size> (since Linux 2.6.35)"
267 msgstr "I</proc/sys/fs/pipe-max-size> (desde Linux 2.6.35)"
268
269 #. commit ff9da691c0498ff81fdd014e7a0731dab2337dac
270 #. This limit is not checked on pipe creation, where the capacity is
271 #. always PIPE_DEF_BUFS, regardless of pipe-max-size
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "The maximum size (in bytes) of individual pipes that can be set by users "
277 "without the B<CAP_SYS_RESOURCE> capability. The value assigned to this file "
278 "may be rounded upward, to reflect the value actually employed for a "
279 "convenient implementation. To determine the rounded-up value, display the "
280 "contents of this file after assigning a value to it."
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "The default value for this file is 1048576 (1\\ MiB). The minimum value "
288 "that can be assigned to this file is the system page size. Attempts to set "
289 "a limit less than the page size cause B<write>(2) to fail with the error "
290 "B<EINVAL>."
291 msgstr ""
292
293 #. commit 086e774a57fba4695f14383c0818994c0b31da7c
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "Since Linux 4.9, the value on this file also acts as a ceiling on the "
299 "default capacity of a new pipe or newly opened FIFO."
300 msgstr ""
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "I</proc/sys/fs/pipe-user-pages-hard> (since Linux 4.5)"
307 msgstr "I</proc/sys/fs/pipe-user-pages-hard> (desde Linux 4.5)"
308
309 #. commit 759c01142a5d0f364a462346168a56de28a80f52
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "The hard limit on the total size (in pages) of all pipes created or set by a "
315 "single unprivileged user (i.e., one with neither the B<CAP_SYS_RESOURCE> nor "
316 "the B<CAP_SYS_ADMIN> capability). So long as the total number of pages "
317 "allocated to pipe buffers for this user is at this limit, attempts to create "
318 "new pipes will be denied, and attempts to increase a pipe's capacity will be "
319 "denied."
320 msgstr ""
321
322 #. The default was chosen to avoid breaking existing applications that
323 #. make intensive use of pipes (e.g., for splicing).
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "When the value of this limit is zero (which is the default), no hard limit "
329 "is applied."
330 msgstr ""
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "I</proc/sys/fs/pipe-user-pages-soft> (since Linux 4.5)"
337 msgstr "I</proc/sys/fs/pipe-user-pages-soft> (desde Linux 4.5)"
338
339 #. commit 759c01142a5d0f364a462346168a56de28a80f52
340 #. type: Plain text
341 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
342 #: opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "The soft limit on the total size (in pages) of all pipes created or set by a "
345 "single unprivileged user (i.e., one with neither the B<CAP_SYS_RESOURCE> nor "
346 "the B<CAP_SYS_ADMIN> capability). So long as the total number of pages "
347 "allocated to pipe buffers for this user is at this limit, individual pipes "
348 "created by a user will be limited to two pages (one page before Linux 5.14), "
349 "and attempts to increase a pipe's capacity will be denied."
350 msgstr ""
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "When the value of this limit is zero, no soft limit is applied. The default "
357 "value for this file is 16384, which permits creating up to 1024 pipes with "
358 "the default capacity."
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid ""
365 "Before Linux 4.9, some bugs affected the handling of the I<pipe-user-pages-"
366 "soft> and I<pipe-user-pages-hard> limits; see BUGS."
367 msgstr ""
368
369 #. type: SS
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "PIPE_BUF"
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "POSIX.1 says that writes of less than B<PIPE_BUF> bytes must be atomic: the "
381 "output data is written to the pipe as a contiguous sequence. Writes of more "
382 "than B<PIPE_BUF> bytes may be nonatomic: the kernel may interleave the data "
383 "with data written by other processes. POSIX.1 requires B<PIPE_BUF> to be at "
384 "least 512 bytes. (On Linux, B<PIPE_BUF> is 4096 bytes.) The precise "
385 "semantics depend on whether the file descriptor is nonblocking "
386 "(B<O_NONBLOCK>), whether there are multiple writers to the pipe, and on "
387 "I<n>, the number of bytes to be written:"
388 msgstr ""
389
390 #. type: TP
391 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
392 #: opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<O_NONBLOCK> disabled, \\f[I]n\\fR E<lt>= B<PIPE_BUF>"
395 msgstr ""
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid ""
401 "All I<n> bytes are written atomically; B<write>(2) may block if there is "
402 "not room for I<n> bytes to be written immediately"
403 msgstr ""
404
405 #. type: TP
406 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
407 #: opensuse-tumbleweed
408 #, no-wrap
409 msgid "B<O_NONBLOCK> enabled, \\f[I]n\\fR E<lt>= B<PIPE_BUF>"
410 msgstr ""
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "If there is room to write I<n> bytes to the pipe, then B<write>(2) succeeds "
417 "immediately, writing all I<n> bytes; otherwise B<write>(2) fails, with "
418 "I<errno> set to B<EAGAIN>."
419 msgstr ""
420
421 #. type: TP
422 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
423 #: opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<O_NONBLOCK> disabled, \\f[I]n\\fR E<gt> B<PIPE_BUF>"
426 msgstr ""
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "The write is nonatomic: the data given to B<write>(2) may be interleaved "
433 "with B<write>(2)s by other process; the B<write>(2) blocks until I<n> bytes "
434 "have been written."
435 msgstr ""
436
437 #. type: TP
438 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
439 #: opensuse-tumbleweed
440 #, no-wrap
441 msgid "B<O_NONBLOCK> enabled, \\f[I]n\\fR E<gt> B<PIPE_BUF>"
442 msgstr ""
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid ""
448 "If the pipe is full, then B<write>(2) fails, with I<errno> set to "
449 "B<EAGAIN>. Otherwise, from 1 to I<n> bytes may be written (i.e., a "
450 "\"partial write\" may occur; the caller should check the return value from "
451 "B<write>(2) to see how many bytes were actually written), and these bytes "
452 "may be interleaved with writes by other processes."
453 msgstr ""
454
455 #. type: SS
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "Open file status flags"
460 msgstr ""
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "The only open file status flags that can be meaningfully applied to a pipe "
467 "or FIFO are B<O_NONBLOCK> and B<O_ASYNC>."
468 msgstr ""
469
470 #. type: Plain text
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 msgid ""
474 "Setting the B<O_ASYNC> flag for the read end of a pipe causes a signal "
475 "(B<SIGIO> by default) to be generated when new input becomes available on "
476 "the pipe. The target for delivery of signals must be set using the "
477 "B<fcntl>(2) B<F_SETOWN> command. On Linux, B<O_ASYNC> is supported for "
478 "pipes and FIFOs only since Linux 2.6."
479 msgstr ""
480
481 #. type: SS
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "Portability notes"
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "On some systems (but not Linux), pipes are bidirectional: data can be "
493 "transmitted in both directions between the pipe ends. POSIX.1 requires only "
494 "unidirectional pipes. Portable applications should avoid reliance on "
495 "bidirectional pipe semantics."
496 msgstr ""
497
498 #. type: SS
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "BUGS"
503 msgstr "ERRORES"
504
505 #. These bugs where remedied by a series of patches, in particular,
506 #. commit b0b91d18e2e97b741b294af9333824ecc3fadfd8 and
507 #. commit a005ca0e6813e1d796a7422a7e31d8b8d6555df1
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 msgid ""
512 "Before Linux 4.9, some bugs affected the handling of the I<pipe-user-pages-"
513 "soft> and I<pipe-user-pages-hard> limits when using the B<fcntl>(2) "
514 "B<F_SETPIPE_SZ> operation to change a pipe's capacity:"
515 msgstr ""
516
517 #. type: IP
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "(a)"
522 msgstr "(a)"
523
524 #. type: Plain text
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 msgid ""
528 "When increasing the pipe capacity, the checks against the soft and hard "
529 "limits were made against existing consumption, and excluded the memory "
530 "required for the increased pipe capacity. The new increase in pipe capacity "
531 "could then push the total memory used by the user for pipes (possibly far) "
532 "over a limit. (This could also trigger the problem described next.)"
533 msgstr ""
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "Starting with Linux 4.9, the limit checking includes the memory required for "
540 "the new pipe capacity."
541 msgstr ""
542
543 #. type: IP
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "(b)"
548 msgstr "(b)"
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "The limit checks were performed even when the new pipe capacity was less "
555 "than the existing pipe capacity. This could lead to problems if a user set "
556 "a large pipe capacity, and then the limits were lowered, with the result "
557 "that the user could no longer decrease the pipe capacity."
558 msgstr ""
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 msgid ""
564 "Starting with Linux 4.9, checks against the limits are performed only when "
565 "increasing a pipe's capacity; an unprivileged user can always decrease a "
566 "pipe's capacity."
567 msgstr ""
568
569 #. type: IP
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "(c)"
574 msgstr "(c)"
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid "The accounting and checking against the limits were done as follows:"
580 msgstr ""
581
582 #. type: IP
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "(1)"
587 msgstr "(1)"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid "Test whether the user has exceeded the limit."
593 msgstr ""
594
595 #. type: IP
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "(2)"
600 msgstr "(2)"
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid "Make the new pipe buffer allocation."
606 msgstr ""
607
608 #. type: IP
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, no-wrap
612 msgid "(3)"
613 msgstr "(3)"
614
615 #. type: Plain text
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 msgid "Account new allocation against the limits."
619 msgstr ""
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "This was racey. Multiple processes could pass point (1) simultaneously, and "
626 "then allocate pipe buffers that were accounted for only in step (3), with "
627 "the result that the user's pipe buffer allocation could be pushed over the "
628 "limit."
629 msgstr ""
630
631 #. type: Plain text
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 msgid ""
635 "Starting with Linux 4.9, the accounting step is performed before doing the "
636 "allocation, and the operation fails if the limit would be exceeded."
637 msgstr ""
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "Before Linux 4.9, bugs similar to points (a) and (c) could also occur when "
644 "the kernel allocated memory for a new pipe buffer; that is, when calling "
645 "B<pipe>(2) and when opening a previously unopened FIFO."
646 msgstr ""
647
648 #. type: SH
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "SEE ALSO"
653 msgstr "VÉASE TAMBIÉN"
654
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid ""
659 "B<mkfifo>(1), B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), "
660 "B<select>(2), B<socketpair>(2), B<splice>(2), B<stat>(2), B<tee>(2), "
661 "B<vmsplice>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
662 msgstr ""
663
664 #. type: TH
665 #: debian-trixie
666 #, no-wrap
667 msgid "2024-05-02"
668 msgstr "2 Mayo 2024"
669
670 #. type: TH
671 #: debian-trixie
672 #, no-wrap
673 msgid "Linux man-pages 6.9.1"
674 msgstr "Páginas de Manual de Linux 6.9.1"
675
676 #. type: Plain text
677 #: debian-trixie
678 msgid ""
679 "Before Linux 2.6.11, the capacity of a pipe was the same as the system page "
680 "size (e.g., 4096 bytes on i386). Since Linux 2.6.11, the pipe capacity is "
681 "16 pages (i.e., 65,536 bytes in a system with a page size of 4096 bytes). "
682 "Since Linux 2.6.35, the default pipe capacity is 16 pages, but the capacity "
683 "can be queried and set using the B<fcntl>(2) B<F_GETPIPE_SZ> and "
684 "B<F_SETPIPE_SZ> operations. See B<fcntl>(2) for more information."
685 msgstr ""
686
687 #. commit 759c01142a5d0f364a462346168a56de28a80f52
688 #. type: Plain text
689 #: debian-trixie
690 msgid ""
691 "The soft limit on the total size (in pages) of all pipes created or set by a "
692 "single unprivileged user (i.e., one with neither the B<CAP_SYS_RESOURCE> nor "
693 "the B<CAP_SYS_ADMIN> capability). So long as the total number of pages "
694 "allocated to pipe buffers for this user is at this limit, individual pipes "
695 "created by a user will be limited to one page, and attempts to increase a "
696 "pipe's capacity will be denied."
697 msgstr ""
698
699 #. type: TP
700 #: debian-trixie fedora-44 fedora-rawhide
701 #, no-wrap
702 msgid "B<O_NONBLOCK> disabled, I<n> E<lt>= B<PIPE_BUF>"
703 msgstr ""
704
705 #. type: TP
706 #: debian-trixie fedora-44 fedora-rawhide
707 #, no-wrap
708 msgid "B<O_NONBLOCK> enabled, I<n> E<lt>= B<PIPE_BUF>"
709 msgstr ""
710
711 #. type: TP
712 #: debian-trixie fedora-44 fedora-rawhide
713 #, no-wrap
714 msgid "B<O_NONBLOCK> disabled, I<n> E<gt> B<PIPE_BUF>"
715 msgstr ""
716
717 #. type: TP
718 #: debian-trixie fedora-44 fedora-rawhide
719 #, no-wrap
720 msgid "B<O_NONBLOCK> enabled, I<n> E<gt> B<PIPE_BUF>"
721 msgstr ""
722
723 #. type: TH
724 #: fedora-44 fedora-rawhide
725 #, no-wrap
726 msgid "2024-08-29"
727 msgstr "29 Agosto 2024"
728
729 #. type: TH
730 #: fedora-44 fedora-rawhide
731 #, no-wrap
732 msgid "Linux man-pages 6.13"
733 msgstr "Páginas de Manual de Linux 6.13"
734
735 #. type: TH
736 #: mageia-cauldron
737 #, no-wrap
738 msgid "Linux man-pages 6.17"
739 msgstr "Páginas de Manual de Linux 6.17"
740
741 #. type: TH
742 #: opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "Linux man-pages (unreleased)"
745 msgstr "Páginas de Manual de Linux (no publicadas)"