Debian Codegraph @

po/ru/man2/openat2.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Azamat Hackimov <[email protected]>, 2016.
5 # Konstantin Shvaykovskiy <[email protected]>, 2012.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:33+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\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=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "openat2"
29 msgstr "openat2"
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, fuzzy
56 #| msgid "open, openat, creat - open and possibly create a file"
57 msgid "openat2 - open and possibly create a file (extended)"
58 msgstr "open, openat, creat - открывает и, возможно, создаёт файл"
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "LIBRARY"
65 msgstr "БИБЛИОТЕКА"
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
69 #: opensuse-leap-16-1 opensuse-tumbleweed
70 msgid "Standard C library (I<libc>,\\ I<-lc>)"
71 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "СИНТАКСИС"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<O_*> and B<S_*> constants */\n"
86 "B<#include E<lt>linux/openat2.hE<gt>> /* Definition of B<RESOLVE_*> constants */\n"
87 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
88 "B<#include E<lt>unistd.hE<gt>>\n"
89 msgstr ""
90 "B<#include E<lt>fcntl.hE<gt>> /* определения констант B<O_*> and B<S_*> */\n"
91 "B<#include E<lt>linux/openat2.hE<gt>> /* определения констант B<RESOLVE_*> */\n"
92 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
93 "B<#include E<lt>unistd.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, fuzzy, no-wrap
99 #| msgid ""
100 #| "B<long syscall(SYS_openat2, int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
101 #| "B< struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
102 msgid ""
103 "B<long syscall(SYS_openat2, int >I<dirfd>B<, const char *>I<path>B<,>\n"
104 "B< struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
105 msgstr ""
106 "B<long syscall(SYS_openat2, int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
107 "B< struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "I<Note>: glibc provides no wrapper for B<openat2>(), necessitating the use "
114 "of B<syscall>(2)."
115 msgstr ""
116
117 #. type: SH
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "DESCRIPTION"
122 msgstr "ОПИСАНИЕ"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "The B<openat2>() system call is an extension of B<openat>(2) and provides "
129 "a superset of its functionality."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
134 #: opensuse-tumbleweed
135 #, fuzzy
136 #| msgid ""
137 #| "The B<open>() system call opens the file specified by I<pathname>. If "
138 #| "the specified file does not exist, it may optionally (if B<O_CREAT> is "
139 #| "specified in I<flags>) be created by B<open>()."
140 msgid ""
141 "The B<openat2>() system call opens the file specified by I<path>. If the "
142 "specified file does not exist, it may optionally (if B<O_CREAT> is specified "
143 "in I<how.flags>) be created."
144 msgstr ""
145 "Системный вызов B<open>() открывает файл, на который указывает I<pathname>. "
146 "Если заданный файл не существует, то он может быть создан B<open>() (если в "
147 "I<flags> задан B<O_CREAT>)."
148
149 #. type: Plain text
150 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
151 #: opensuse-tumbleweed
152 #, fuzzy
153 #| msgid ""
154 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
155 #| "relative to the directory referred to by the file descriptor I<dirfd> "
156 #| "(rather than relative to the current working directory of the calling "
157 #| "process, as is done by B<open>() for a relative pathname)."
158 msgid ""
159 "As with B<openat>(2), if I<path> is relative, then it is interpreted "
160 "relative to the directory referred to by the file descriptor I<dirfd> (or "
161 "the current working directory of the calling process, if I<dirfd> is the "
162 "special value B<AT_FDCWD>). If I<path> is absolute, then I<dirfd> is "
163 "ignored (unless I<how.resolve> contains B<RESOLVE_IN_ROOT>, in which case "
164 "I<path> is resolved relative to I<dirfd>)."
165 msgstr ""
166 "Если в I<pathname> задан относительный путь, то он считается относительно "
167 "каталога, на который ссылается файловый дескриптор I<dirfd> (а не "
168 "относительно текущего рабочего каталога вызывающего процесса, как это "
169 "делается в B<open>())."
170
171 #. type: Plain text
172 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
173 #: opensuse-tumbleweed
174 msgid ""
175 "Rather than taking a single I<flags> argument, an extensible structure "
176 "(I<how>) is passed to allow for future extensions. The I<size> argument "
177 "must be specified as I<sizeof(struct open_how)>."
178 msgstr ""
179
180 #. type: SS
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "The open_how structure"
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
189 #: opensuse-tumbleweed
190 msgid ""
191 "The I<how> argument specifies how I<path> should be opened, and acts as a "
192 "superset of the I<flags> and I<mode> arguments to B<openat>(2). This "
193 "argument is a pointer to an I<open_how> structure, described in "
194 "B<open_how>(2type)."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "Any future extensions to B<openat2>() will be implemented as new fields "
202 "appended to the I<open_how> structure, with a zero value in a new field "
203 "resulting in the kernel behaving as though that extension field was not "
204 "present. Therefore, the caller I<must> zero-fill this structure on "
205 "initialization. (See the \"Extensibility\" section of the B<NOTES> for more "
206 "detail on why this is necessary.)"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, fuzzy
213 #| msgid "The fields of this structure are as follows:"
214 msgid "The fields of the I<open_how> structure are as follows:"
215 msgstr "Поля этой структуры имеют следующее назначение:"
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "I<flags>"
222 msgstr "I<flags>"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "This field specifies the file creation and file status flags to use when "
229 "opening the file. All of the B<O_*> flags defined for B<openat>(2) are "
230 "valid B<openat2>() flag values."
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "Whereas B<openat>(2) ignores unknown bits in its I<flags> argument, "
238 "B<openat2>() returns an error if unknown or conflicting flags are specified "
239 "in I<how.flags>."
240 msgstr ""
241
242 #. type: TP
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "I<mode>"
247 msgstr "I<mode>"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "This field specifies the mode for the new file, with identical semantics to "
254 "the I<mode> argument of B<openat>(2)."
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "Whereas B<openat>(2) ignores bits other than those in the range I<07777> in "
262 "its I<mode> argument, B<openat2>() returns an error if I<how.mode> contains "
263 "bits other than I<07777>. Similarly, an error is returned if B<openat2>() "
264 "is called with a nonzero I<how.mode> and I<how.flags> does not contain "
265 "B<O_CREAT> or B<O_TMPFILE>."
266 msgstr ""
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "I<resolve>"
273 msgstr "I<resolve>"
274
275 #. type: Plain text
276 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
277 #: opensuse-tumbleweed
278 msgid ""
279 "This is a bit-mask of flags that modify the way in which B<all> components "
280 "of I<path> will be resolved. (See B<path_resolution>(7) for background "
281 "information.)"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "The primary use case for these flags is to allow trusted programs to "
289 "restrict how untrusted paths (or paths inside untrusted directories) are "
290 "resolved. The full list of I<resolve> flags is as follows:"
291 msgstr ""
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<RESOLVE_BENEATH>"
298 msgstr "B<RESOLVE_BENEATH>"
299
300 #. commit adb21d2b526f7f196b2f3fdca97d80ba05dd14a0
301 #. type: Plain text
302 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
303 #: opensuse-tumbleweed
304 msgid ""
305 "Do not permit the path resolution to succeed if any component of the "
306 "resolution is not a descendant of the directory indicated by I<dirfd>. This "
307 "causes absolute symbolic links (and absolute values of I<path>) to be "
308 "rejected."
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Currently, this flag also disables magic-link resolution (see below). "
316 "However, this may change in the future. Therefore, to ensure that magic "
317 "links are not resolved, the caller should explicitly specify "
318 "B<RESOLVE_NO_MAGICLINKS>."
319 msgstr ""
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<RESOLVE_IN_ROOT>"
326 msgstr "B<RESOLVE_IN_ROOT>"
327
328 #. commit 8db52c7e7ee1bd861b6096fcafc0fe7d0f24a994
329 #. type: Plain text
330 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
331 #: opensuse-tumbleweed
332 msgid ""
333 "Treat the directory referred to by I<dirfd> as the root directory while "
334 "resolving I<path>. Absolute symbolic links are interpreted relative to "
335 "I<dirfd>. If a prefix component of I<path> equates to I<dirfd>, then an "
336 "immediately following I<..\\&> component likewise equates to I<dirfd> (just "
337 "as I</..\\&> is traditionally equivalent to I</>). If I<path> is absolute, "
338 "it is also interpreted relative to I<dirfd>."
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "The effect of this flag is as though the calling process had used "
346 "B<chroot>(2) to (temporarily) modify its root directory (to the directory "
347 "referred to by I<dirfd>). However, unlike B<chroot>(2) (which changes the "
348 "filesystem root permanently for a process), B<RESOLVE_IN_ROOT> allows a "
349 "program to efficiently restrict path resolution on a per-open basis."
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 "Currently, this flag also disables magic-link resolution. However, this may "
357 "change in the future. Therefore, to ensure that magic links are not "
358 "resolved, the caller should explicitly specify B<RESOLVE_NO_MAGICLINKS>."
359 msgstr ""
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<RESOLVE_NO_MAGICLINKS>"
366 msgstr "B<RESOLVE_NO_MAGICLINKS>"
367
368 #. commit 278121417a72d87fb29dd8c48801f80821e8f75a
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid "Disallow all magic-link resolution during path resolution."
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid ""
379 "Magic links are symbolic link-like objects that are most notably found in "
380 "B<proc>(5); examples include I</proc/>pidI</exe> and I</proc/>pidI</fd/*>. "
381 "(See B<symlink>(7) for more details.)"
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "Unknowingly opening magic links can be risky for some applications. "
389 "Examples of such risks include the following:"
390 msgstr ""
391
392 #. type: IP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "\\[bu]"
397 msgstr "\\[bu]"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "If the process opening a pathname is a controlling process that currently "
404 "has no controlling terminal (see B<credentials>(7)), then opening a magic "
405 "link inside I</proc/>pidI</fd> that happens to refer to a terminal would "
406 "cause the process to acquire a controlling terminal."
407 msgstr ""
408
409 #. From https://lwn.net/Articles/796868/:
410 #. The presence of this flag will prevent a path lookup operation
411 #. from traversing through one of these magic links, thus blocking
412 #. (for example) attempts to escape from a container via a /proc
413 #. entry for an open file descriptor.
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "In a containerized environment, a magic link inside I</proc> may refer to an "
419 "object outside the container, and thus may provide a means to escape from "
420 "the container."
421 msgstr ""
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "Because of such risks, an application may prefer to disable magic link "
428 "resolution using the B<RESOLVE_NO_MAGICLINKS> flag."
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
433 #: opensuse-tumbleweed
434 msgid ""
435 "If the trailing component (i.e., basename) of I<path> is a magic link, "
436 "I<how.resolve> contains B<RESOLVE_NO_MAGICLINKS>, and I<how.flags> contains "
437 "both B<O_PATH> and B<O_NOFOLLOW>, then an B<O_PATH> file descriptor "
438 "referencing the magic link will be returned."
439 msgstr ""
440
441 #. type: TP
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<RESOLVE_NO_SYMLINKS>"
446 msgstr "B<RESOLVE_NO_SYMLINKS>"
447
448 #. commit 278121417a72d87fb29dd8c48801f80821e8f75a
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "Disallow resolution of symbolic links during path resolution. This option "
454 "implies B<RESOLVE_NO_MAGICLINKS>."
455 msgstr ""
456
457 #. type: Plain text
458 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
459 #: opensuse-tumbleweed
460 msgid ""
461 "If the trailing component (i.e., basename) of I<path> is a symbolic link, "
462 "I<how.resolve> contains B<RESOLVE_NO_SYMLINKS>, and I<how.flags> contains "
463 "both B<O_PATH> and B<O_NOFOLLOW>, then an B<O_PATH> file descriptor "
464 "referencing the symbolic link will be returned."
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
469 #: opensuse-tumbleweed
470 msgid ""
471 "Note that the effect of the B<RESOLVE_NO_SYMLINKS> flag, which affects the "
472 "treatment of symbolic links in all of the components of I<path>, differs "
473 "from the effect of the B<O_NOFOLLOW> file creation flag (in I<how.flags>), "
474 "which affects the handling of symbolic links only in the final component of "
475 "I<path>."
476 msgstr ""
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "Applications that employ the B<RESOLVE_NO_SYMLINKS> flag are encouraged to "
483 "make its use configurable (unless it is used for a specific security "
484 "purpose), as symbolic links are very widely used by end-users. Setting this "
485 "flag indiscriminately\\[em]i.e., for purposes not specifically related to "
486 "security\\[em]for all uses of B<openat2>() may result in spurious errors on "
487 "previously functional systems. This may occur if, for example, a system "
488 "pathname that is used by an application is modified (e.g., in a new "
489 "distribution release) so that a pathname component (now) contains a "
490 "symbolic link."
491 msgstr ""
492
493 #. type: TP
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "B<RESOLVE_NO_XDEV>"
498 msgstr "B<RESOLVE_NO_XDEV>"
499
500 #. commit 72ba29297e1439efaa54d9125b866ae9d15df339
501 #. type: Plain text
502 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
503 #: opensuse-tumbleweed
504 msgid ""
505 "Disallow traversal of mount points during path resolution (including all "
506 "bind mounts). Consequently, I<path> must either be on the same mount as the "
507 "directory referred to by I<dirfd>, or on the same mount as the current "
508 "working directory if I<dirfd> is specified as B<AT_FDCWD>."
509 msgstr ""
510
511 #. type: Plain text
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 msgid ""
515 "Applications that employ the B<RESOLVE_NO_XDEV> flag are encouraged to make "
516 "its use configurable (unless it is used for a specific security purpose), as "
517 "bind mounts are widely used by end-users. Setting this flag "
518 "indiscriminately\\[em]i.e., for purposes not specifically related to "
519 "security\\[em]for all uses of B<openat2>() may result in spurious errors on "
520 "previously functional systems. This may occur if, for example, a system "
521 "pathname that is used by an application is modified (e.g., in a new "
522 "distribution release) so that a pathname component (now) contains a bind "
523 "mount."
524 msgstr ""
525
526 #. type: TP
527 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
528 #: opensuse-tumbleweed
529 #, fuzzy, no-wrap
530 #| msgid "B<RWF_APPEND> (since Linux 4.16)"
531 msgid "B<RESOLVE_CACHED> (since Linux 5.12)"
532 msgstr "B<RWF_APPEND> (начиная с Linux 4.16)"
533
534 #. #-#-#-#-# archlinux: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
535 #. commit 99668f618062816ca7ba639b007eb145b9d3d41e
536 #. type: Plain text
537 #. #-#-#-#-# debian-trixie: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
538 #. type: Plain text
539 #. #-#-#-#-# debian-unstable: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
540 #. commit 99668f618062816ca7ba639b007eb145b9d3d41e
541 #. type: Plain text
542 #. #-#-#-#-# fedora-44: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
543 #. type: Plain text
544 #. #-#-#-#-# fedora-rawhide: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
545 #. type: Plain text
546 #. #-#-#-#-# mageia-cauldron: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
547 #. commit 99668f618062816ca7ba639b007eb145b9d3d41e
548 #. type: Plain text
549 #. #-#-#-#-# opensuse-leap-16-1: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
550 #. commit 99668f618062816ca7ba639b007eb145b9d3d41e
551 #. type: Plain text
552 #. #-#-#-#-# opensuse-tumbleweed: openat2.2.pot (PACKAGE VERSION) #-#-#-#-#
553 #. commit 99668f618062816ca7ba639b007eb145b9d3d41e
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "Make the open operation fail unless all path components are already present "
559 "in the kernel's lookup cache. If any kind of revalidation or I/O is needed "
560 "to satisfy the lookup, B<openat2>() fails with the error B<EAGAIN>. This "
561 "is useful in providing a fast-path open that can be performed without "
562 "resorting to thread offload, or other mechanisms that an application might "
563 "use to offload slower operations."
564 msgstr ""
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 msgid ""
570 "If any bits other than those listed above are set in I<how.resolve>, an "
571 "error is returned."
572 msgstr ""
573
574 #. type: SH
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 #, no-wrap
578 msgid "RETURN VALUE"
579 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, fuzzy
585 #| msgid ""
586 #| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
587 #| "set appropriately."
588 msgid ""
589 "On success, a new file descriptor is returned. On error, -1 is returned, "
590 "and I<errno> is set to indicate the error."
591 msgstr ""
592 "При успешном выполнении возвращается 0. В случае ошибки возвращается -1, а "
593 "I<errno> устанавливается в соответствующее значение."
594
595 #. type: SH
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "ERRORS"
600 msgstr "ОШИБКИ"
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 ""
606 "The set of errors returned by B<openat2>() includes all of the errors "
607 "returned by B<openat>(2), as well as the following additional errors:"
608 msgstr ""
609
610 #. type: TP
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, no-wrap
614 msgid "B<E2BIG>"
615 msgstr "B<E2BIG>"
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 msgid ""
621 "An extension that this kernel does not support was specified in I<how>. "
622 "(See the \"Extensibility\" section of B<NOTES> for more detail on how "
623 "extensions are handled.)"
624 msgstr ""
625
626 #. type: TP
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "B<EAGAIN>"
631 msgstr "B<EAGAIN>"
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "I<how.resolve> contains either B<RESOLVE_IN_ROOT> or B<RESOLVE_BENEATH>, and "
638 "the kernel could not ensure that a \"..\" component didn't escape (due to a "
639 "race condition or potential attack). The caller may choose to retry the "
640 "B<openat2>() call."
641 msgstr ""
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "B<RESOLVE_CACHED> was set, and the open operation cannot be performed using "
648 "only cached information. The caller should retry without B<RESOLVE_CACHED> "
649 "set in I<how.resolve>."
650 msgstr ""
651
652 #. type: TP
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "B<EINVAL>"
657 msgstr "B<EINVAL>"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, fuzzy
663 #| msgid "An invalid flag value was specified in I<flags>."
664 msgid "An unknown flag or invalid value was specified in I<how>."
665 msgstr "В I<flags> указано неверное значение флага."
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid ""
671 "I<mode> is nonzero, but I<how.flags> does not contain B<O_CREAT> or "
672 "B<O_TMPFILE>."
673 msgstr ""
674
675 #. type: Plain text
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 msgid "I<size> was smaller than any known version of I<struct open_how>."
679 msgstr ""
680
681 #. type: TP
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "B<ELOOP>"
686 msgstr "B<ELOOP>"
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "I<how.resolve> contains B<RESOLVE_NO_SYMLINKS>, and one of the path "
693 "components was a symbolic link (or magic link)."
694 msgstr ""
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 msgid ""
700 "I<how.resolve> contains B<RESOLVE_NO_MAGICLINKS>, and one of the path "
701 "components was a magic link."
702 msgstr ""
703
704 #. type: TP
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "B<EXDEV>"
709 msgstr "B<EXDEV>"
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid ""
715 "I<how.resolve> contains either B<RESOLVE_IN_ROOT> or B<RESOLVE_BENEATH>, and "
716 "an escape from the root during path resolution was detected."
717 msgstr ""
718
719 #. type: Plain text
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 msgid ""
723 "I<how.resolve> contains B<RESOLVE_NO_XDEV>, and a path component crosses a "
724 "mount point."
725 msgstr ""
726
727 #. type: SH
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "STANDARDS"
732 msgstr "СТАНДАРТЫ"
733
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 msgid "Linux."
738 msgstr "Linux."
739
740 #. type: SH
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "HISTORY"
745 msgstr "ИСТОРИЯ"
746
747 #. commit fddb5d430ad9fa91b49b1d34d0202ffe2fa0e179
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid "Linux 5.6."
752 msgstr "Linux 5.6."
753
754 #. https://reviews.freebsd.org/D25886
755 #. https://reviews.freebsd.org/D28907
756 #. type: Plain text
757 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
758 #: opensuse-tumbleweed
759 msgid ""
760 "The semantics of B<RESOLVE_BENEATH> were modeled after FreeBSD's "
761 "B<O_BENEATH>, but avoided a well-known correctness bug in FreeBSD's "
762 "implementation that rendered it effectively insecure. Later, FreeBSD 13 "
763 "introduced B<O_RESOLVE_BENEATH> to replace the insecure B<O_BENEATH>. "
764 "FreeBSD's B<O_RESOLVE_BENEATH> semantics are based on Linux's "
765 "B<RESOLVE_BENEATH> and the two are now functionally equivalent."
766 msgstr ""
767
768 #. type: SH
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "NOTES"
773 msgstr "ПРИМЕЧАНИЯ"
774
775 #. type: SS
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 #, no-wrap
779 msgid "Extensibility"
780 msgstr "Расширяемость"
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid ""
786 "In order to allow for future extensibility, B<openat2>() requires the user-"
787 "space application to specify the size of the I<open_how> structure that it "
788 "is passing. By providing this information, it is possible for B<openat2>() "
789 "to provide both forwards- and backwards-compatibility, with I<size> acting "
790 "as an implicit version number. (Because new extension fields will always be "
791 "appended, the structure size will always increase.) This extensibility "
792 "design is very similar to other system calls such as B<sched_setattr>(2), "
793 "B<perf_event_open>(2), and B<clone3>(2)."
794 msgstr ""
795
796 #. type: Plain text
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 msgid ""
800 "If we let I<usize> be the size of the structure as specified by the user-"
801 "space application, and I<ksize> be the size of the structure which the "
802 "kernel supports, then there are three cases to consider:"
803 msgstr ""
804
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 msgid ""
809 "If I<ksize> equals I<usize>, then there is no version mismatch and I<how> "
810 "can be used verbatim."
811 msgstr ""
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 msgid ""
817 "If I<ksize> is larger than I<usize>, then there are some extension fields "
818 "that the kernel supports which the user-space application is unaware of. "
819 "Because a zero value in any added extension field signifies a no-op, the "
820 "kernel treats all of the extension fields not provided by the user-space "
821 "application as having zero values. This provides backwards-compatibility."
822 msgstr ""
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "If I<ksize> is smaller than I<usize>, then there are some extension fields "
829 "which the user-space application is aware of but which the kernel does not "
830 "support. Because any extension field must have its zero values signify a no-"
831 "op, the kernel can safely ignore the unsupported extension fields if they "
832 "are all-zero. If any unsupported extension fields are nonzero, then -1 is "
833 "returned and I<errno> is set to B<E2BIG>. This provides forwards-"
834 "compatibility."
835 msgstr ""
836
837 #. type: Plain text
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 msgid ""
841 "Because the definition of I<struct open_how> may change in the future (with "
842 "new fields being added when system headers are updated), user-space "
843 "applications should zero-fill I<struct open_how> to ensure that recompiling "
844 "the program with new headers will not result in spurious errors at run "
845 "time. The simplest way is to use a designated initializer:"
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid ""
853 "struct open_how how = { .flags = O_RDWR,\n"
854 " .resolve = RESOLVE_IN_ROOT };\n"
855 msgstr ""
856 "struct open_how how = { .flags = O_RDWR,\n"
857 " .resolve = RESOLVE_IN_ROOT };\n"
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid "or explicitly using B<memset>(3) or similar:"
863 msgstr ""
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 #, no-wrap
869 msgid ""
870 "struct open_how how;\n"
871 "memset(&how, 0, sizeof(how));\n"
872 "how.flags = O_RDWR;\n"
873 "how.resolve = RESOLVE_IN_ROOT;\n"
874 msgstr ""
875 "struct open_how how;\n"
876 "memset(&how, 0, sizeof(how));\n"
877 "how.flags = O_RDWR;\n"
878 "how.resolve = RESOLVE_IN_ROOT;\n"
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid ""
884 "A user-space application that wishes to determine which extensions the "
885 "running kernel supports can do so by conducting a binary search on I<size> "
886 "with a structure which has every byte nonzero (to find the largest value "
887 "which doesn't produce an error of B<E2BIG>)."
888 msgstr ""
889
890 #. type: SH
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 #, no-wrap
894 msgid "SEE ALSO"
895 msgstr "СМОТРИТЕ ТАКЖЕ"
896
897 #. type: Plain text
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 msgid "B<openat>(2), B<open_how>(2type), B<path_resolution>(7), B<symlink>(7)"
901 msgstr "B<openat>(2), B<open_how>(2type), B<path_resolution>(7), B<symlink>(7)"
902
903 #. type: TH
904 #: debian-trixie
905 #, no-wrap
906 msgid "2024-05-02"
907 msgstr "2 мая 2024 г."
908
909 #. type: TH
910 #: debian-trixie
911 #, no-wrap
912 msgid "Linux man-pages 6.9.1"
913 msgstr "Страницы руководства Linux 6.9.1"
914
915 #. type: Plain text
916 #: debian-trixie
917 msgid "Standard C library (I<libc>, I<-lc>)"
918 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
919
920 #. type: Plain text
921 #: debian-trixie fedora-44 fedora-rawhide
922 #, no-wrap
923 msgid ""
924 "B<long syscall(SYS_openat2, int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
925 "B< struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
926 msgstr ""
927 "B<long syscall(SYS_openat2, int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
928 "B< struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
929
930 #. type: Plain text
931 #: debian-trixie fedora-44 fedora-rawhide
932 #, fuzzy
933 #| msgid ""
934 #| "The B<open>() system call opens the file specified by I<pathname>. If "
935 #| "the specified file does not exist, it may optionally (if B<O_CREAT> is "
936 #| "specified in I<flags>) be created by B<open>()."
937 msgid ""
938 "The B<openat2>() system call opens the file specified by I<pathname>. If "
939 "the specified file does not exist, it may optionally (if B<O_CREAT> is "
940 "specified in I<how.flags>) be created."
941 msgstr ""
942 "Системный вызов B<open>() открывает файл, на который указывает I<pathname>. "
943 "Если заданный файл не существует, то он может быть создан B<open>() (если в "
944 "I<flags> задан B<O_CREAT>)."
945
946 #. type: Plain text
947 #: debian-trixie fedora-44 fedora-rawhide
948 #, fuzzy
949 #| msgid ""
950 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
951 #| "relative to the directory referred to by the file descriptor I<dirfd> "
952 #| "(rather than relative to the current working directory of the calling "
953 #| "process, as is done by B<open>() for a relative pathname)."
954 msgid ""
955 "As with B<openat>(2), if I<pathname> is a relative pathname, then it is "
956 "interpreted relative to the directory referred to by the file descriptor "
957 "I<dirfd> (or the current working directory of the calling process, if "
958 "I<dirfd> is the special value B<AT_FDCWD>). If I<pathname> is an absolute "
959 "pathname, then I<dirfd> is ignored (unless I<how.resolve> contains "
960 "B<RESOLVE_IN_ROOT>, in which case I<pathname> is resolved relative to "
961 "I<dirfd>)."
962 msgstr ""
963 "Если в I<pathname> задан относительный путь, то он считается относительно "
964 "каталога, на который ссылается файловый дескриптор I<dirfd> (а не "
965 "относительно текущего рабочего каталога вызывающего процесса, как это "
966 "делается в B<open>())."
967
968 #. type: Plain text
969 #: debian-trixie fedora-44 fedora-rawhide
970 msgid ""
971 "Rather than taking a single I<flags> argument, an extensible structure "
972 "(I<how>) is passed to allow for future extensions. The I<size> argument "
973 "must be specified as I<sizeof(struct open_how)>."
974 msgstr ""
975
976 #. type: Plain text
977 #: debian-trixie fedora-44 fedora-rawhide
978 msgid ""
979 "The I<how> argument specifies how I<pathname> should be opened, and acts as "
980 "a superset of the I<flags> and I<mode> arguments to B<openat>(2). This "
981 "argument is a pointer to an I<open_how> structure, described in "
982 "B<open_how>(2type)."
983 msgstr ""
984
985 #. type: Plain text
986 #: debian-trixie fedora-44 fedora-rawhide
987 msgid ""
988 "This is a bit-mask of flags that modify the way in which B<all> components "
989 "of I<pathname> will be resolved. (See B<path_resolution>(7) for background "
990 "information.)"
991 msgstr ""
992
993 #. commit adb21d2b526f7f196b2f3fdca97d80ba05dd14a0
994 #. type: Plain text
995 #: debian-trixie fedora-44 fedora-rawhide
996 msgid ""
997 "Do not permit the path resolution to succeed if any component of the "
998 "resolution is not a descendant of the directory indicated by I<dirfd>. This "
999 "causes absolute symbolic links (and absolute values of I<pathname>) to be "
1000 "rejected."
1001 msgstr ""
1002
1003 #. commit 8db52c7e7ee1bd861b6096fcafc0fe7d0f24a994
1004 #. type: Plain text
1005 #: debian-trixie fedora-44 fedora-rawhide
1006 msgid ""
1007 "Treat the directory referred to by I<dirfd> as the root directory while "
1008 "resolving I<pathname>. Absolute symbolic links are interpreted relative to "
1009 "I<dirfd>. If a prefix component of I<pathname> equates to I<dirfd>, then an "
1010 "immediately following I<..\\&> component likewise equates to I<dirfd> (just "
1011 "as I</..\\&> is traditionally equivalent to I</>). If I<pathname> is an "
1012 "absolute path, it is also interpreted relative to I<dirfd>."
1013 msgstr ""
1014
1015 #. type: Plain text
1016 #: debian-trixie fedora-44 fedora-rawhide
1017 msgid ""
1018 "If the trailing component (i.e., basename) of I<pathname> is a magic link, "
1019 "I<how.resolve> contains B<RESOLVE_NO_MAGICLINKS>, and I<how.flags> contains "
1020 "both B<O_PATH> and B<O_NOFOLLOW>, then an B<O_PATH> file descriptor "
1021 "referencing the magic link will be returned."
1022 msgstr ""
1023
1024 #. type: Plain text
1025 #: debian-trixie fedora-44 fedora-rawhide
1026 msgid ""
1027 "If the trailing component (i.e., basename) of I<pathname> is a symbolic "
1028 "link, I<how.resolve> contains B<RESOLVE_NO_SYMLINKS>, and I<how.flags> "
1029 "contains both B<O_PATH> and B<O_NOFOLLOW>, then an B<O_PATH> file descriptor "
1030 "referencing the symbolic link will be returned."
1031 msgstr ""
1032
1033 #. type: Plain text
1034 #: debian-trixie fedora-44 fedora-rawhide
1035 msgid ""
1036 "Note that the effect of the B<RESOLVE_NO_SYMLINKS> flag, which affects the "
1037 "treatment of symbolic links in all of the components of I<pathname>, differs "
1038 "from the effect of the B<O_NOFOLLOW> file creation flag (in I<how.flags>), "
1039 "which affects the handling of symbolic links only in the final component of "
1040 "I<pathname>."
1041 msgstr ""
1042
1043 #. commit 72ba29297e1439efaa54d9125b866ae9d15df339
1044 #. type: Plain text
1045 #: debian-trixie fedora-44 fedora-rawhide
1046 msgid ""
1047 "Disallow traversal of mount points during path resolution (including all "
1048 "bind mounts). Consequently, I<pathname> must either be on the same mount as "
1049 "the directory referred to by I<dirfd>, or on the same mount as the current "
1050 "working directory if I<dirfd> is specified as B<AT_FDCWD>."
1051 msgstr ""
1052
1053 #. type: TP
1054 #: debian-trixie fedora-44 fedora-rawhide
1055 #, no-wrap
1056 msgid "B<RESOLVE_CACHED>"
1057 msgstr "B<RESOLVE_CACHED>"
1058
1059 #. type: Plain text
1060 #: debian-trixie fedora-44 fedora-rawhide
1061 msgid ""
1062 "The semantics of B<RESOLVE_BENEATH> were modeled after FreeBSD's "
1063 "B<O_BENEATH>."
1064 msgstr ""
1065
1066 #. type: TH
1067 #: fedora-44 fedora-rawhide
1068 #, no-wrap
1069 msgid "2024-07-23"
1070 msgstr "23 июля 2024 г."
1071
1072 #. type: TH
1073 #: fedora-44 fedora-rawhide
1074 #, no-wrap
1075 msgid "Linux man-pages 6.13"
1076 msgstr "Страницы руководства Linux 6.13"
1077
1078 #. type: TH
1079 #: mageia-cauldron
1080 #, no-wrap
1081 msgid "Linux man-pages 6.17"
1082 msgstr "Страницы руководства Linux 6.17"
1083
1084 #. type: TH
1085 #: opensuse-leap-16-1 opensuse-tumbleweed
1086 #, no-wrap
1087 msgid "Linux man-pages (unreleased)"
1088 msgstr "Страницы руководства Linux (не выпущены)"