| 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:23+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 "execve" |
| 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 "execve - execute program" |
| 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>unistd.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<int execve(const char *>I<path>B<, char *const _Nullable >I<argv>B<[],>\n" |
| 85 |
"B< char *const _Nullable >I<envp>B<[]);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: SH |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "DESCRIPTION" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 97 |
#: opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"B<execve>() executes the program referred to by I<path>. This causes the " |
| 100 |
"program that is currently being run by the calling process to be replaced " |
| 101 |
"with a new program, with newly initialized stack, heap, and (initialized and " |
| 102 |
"uninitialized) data segments." |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 107 |
#: opensuse-tumbleweed |
| 108 |
msgid "" |
| 109 |
"I<path> must be either a binary executable, or a script starting with a line " |
| 110 |
"of the form:" |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: SY |
| 114 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 115 |
#: opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid "#!\\f[I]interpreter\\fR" |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 122 |
#: opensuse-tumbleweed |
| 123 |
#, no-wrap |
| 124 |
msgid "[I<optional-arg>]\n" |
| 125 |
msgstr "" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "For details of the latter case, see \"Interpreter scripts\" below." |
| 131 |
msgstr "" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "" |
| 137 |
"I<argv> is an array of pointers to strings passed to the new program as its " |
| 138 |
"command-line arguments. By convention, the first of these strings (i.e., " |
| 139 |
"I<argv[0]>) should contain the filename associated with the file being " |
| 140 |
"executed. The I<argv> array must be terminated by a null pointer. (Thus, " |
| 141 |
"in the new program, I<argv[argc]> will be a null pointer.)" |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"I<envp> is an array of pointers to strings, conventionally of the form " |
| 149 |
"B<key=value>, which are passed as the environment of the new program. The " |
| 150 |
"I<envp> array must be terminated by a null pointer." |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"This manual page describes the Linux system call in detail; for an overview " |
| 158 |
"of the nomenclature and the many, often preferable, standardised variants of " |
| 159 |
"this function provided by libc, including ones that search the B<PATH> " |
| 160 |
"environment variable, see B<exec>(3)." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"The argument vector and environment can be accessed by the new program's " |
| 168 |
"main function, when it is defined as:" |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
#, no-wrap |
| 175 |
msgid "int main(int argc, char *argv[], char *envp[])\n" |
| 176 |
msgstr "" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
msgid "" |
| 182 |
"Note, however, that the use of a third argument to the main function is not " |
| 183 |
"specified in POSIX.1; according to POSIX.1, the environment should be " |
| 184 |
"accessed via the external variable B<environ>(7)." |
| 185 |
msgstr "" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"B<execve>() does not return on success, and the text, initialized data, " |
| 192 |
"uninitialized data (bss), and stack of the calling process are overwritten " |
| 193 |
"according to the contents of the newly loaded program." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"If the current program is being ptraced, a B<SIGTRAP> signal is sent to it " |
| 201 |
"after a successful B<execve>()." |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 206 |
#: opensuse-tumbleweed |
| 207 |
msgid "" |
| 208 |
"If the set-user-ID bit is set on the program file referred to by I<path>, " |
| 209 |
"then the effective user ID of the calling process is changed to that of the " |
| 210 |
"owner of the program file. Similarly, if the set-group-ID bit is set on the " |
| 211 |
"program file, then the effective group ID of the calling process is set to " |
| 212 |
"the group of the program file." |
| 213 |
msgstr "" |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"The aforementioned transformations of the effective IDs are I<not> performed " |
| 220 |
"(i.e., the set-user-ID and set-group-ID bits are ignored) if any of the " |
| 221 |
"following is true:" |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: IP |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid "\\[bu]" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
msgid "" |
| 235 |
"the I<no_new_privs> attribute is set for the calling thread (see " |
| 236 |
"B<prctl>(2));" |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"the underlying filesystem is mounted I<nosuid> (the B<MS_NOSUID> flag for " |
| 244 |
"B<mount>(2)); or" |
| 245 |
msgstr "" |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
msgid "the calling process is being ptraced." |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
msgid "" |
| 257 |
"The capabilities of the program file (see B<capabilities>(7)) are also " |
| 258 |
"ignored if any of the above are true." |
| 259 |
msgstr "" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
msgid "" |
| 265 |
"The effective user ID of the process is copied to the saved set-user-ID; " |
| 266 |
"similarly, the effective group ID is copied to the saved set-group-ID. This " |
| 267 |
"copying takes place after any effective ID changes that occur because of the " |
| 268 |
"set-user-ID and set-group-ID mode bits." |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "" |
| 275 |
"The process's real UID and real GID, as well as its supplementary group IDs, " |
| 276 |
"are unchanged by a call to B<execve>()." |
| 277 |
msgstr "" |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "" |
| 283 |
"If the executable is an a.out dynamically linked binary executable " |
| 284 |
"containing shared-library stubs, the Linux dynamic linker B<ld.so>(8) is " |
| 285 |
"called at the start of execution to bring needed shared objects into memory " |
| 286 |
"and link the executable with them." |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "" |
| 293 |
"If the executable is a dynamically linked ELF executable, the interpreter " |
| 294 |
"named in the PT_INTERP segment is used to load the needed shared objects. " |
| 295 |
"This interpreter is typically I</lib/ld-linux.so.2> for binaries linked with " |
| 296 |
"glibc (see B<ld-linux.so>(8))." |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: SS |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
#, no-wrap |
| 303 |
msgid "Effect on process attributes" |
| 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 |
"All process attributes are preserved during an B<execve>(), except the " |
| 311 |
"following:" |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"The dispositions of any signals that are being caught are reset to the " |
| 319 |
"default (B<signal>(7))." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
msgid "Any alternate signal stack is not preserved (B<sigaltstack>(2))." |
| 326 |
msgstr "" |
| 327 |
|
| 328 |
#. type: Plain text |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
msgid "Memory mappings are not preserved (B<mmap>(2))." |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "Attached System\\ V shared memory segments are detached (B<shmat>(2))." |
| 338 |
msgstr "" |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
msgid "POSIX shared memory regions are unmapped (B<shm_open>(3))." |
| 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 "Open POSIX message queue descriptors are closed (B<mq_overview>(7))." |
| 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 "Any open POSIX named semaphores are closed (B<sem_overview>(7))." |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "POSIX timers are not preserved (B<timer_create>(2))." |
| 362 |
msgstr "" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
msgid "Any open directory streams are closed (B<opendir>(3))." |
| 368 |
msgstr "" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
msgid "Memory locks are not preserved (B<mlock>(2), B<mlockall>(2))." |
| 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 "Exit handlers are not preserved (B<atexit>(3), B<on_exit>(3))." |
| 380 |
msgstr "" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "" |
| 386 |
"The floating-point environment is reset to the default (see B<fenv>(3))." |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
msgid "" |
| 393 |
"The process attributes in the preceding list are all specified in POSIX.1. " |
| 394 |
"The following Linux-specific process attributes are also not preserved " |
| 395 |
"during an B<execve>():" |
| 396 |
msgstr "" |
| 397 |
|
| 398 |
#. type: Plain text |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
msgid "" |
| 402 |
"The process's \"dumpable\" attribute is set to the value 1, unless a set-" |
| 403 |
"user-ID program, a set-group-ID program, or a program with capabilities is " |
| 404 |
"being executed, in which case the dumpable flag may instead be reset to the " |
| 405 |
"value in I</proc/sys/fs/suid_dumpable>, in the circumstances described under " |
| 406 |
"B<PR_SET_DUMPABLE> in B<prctl>(2). Note that changes to the \"dumpable\" " |
| 407 |
"attribute may cause ownership of files in the process's I</proc/>pid " |
| 408 |
"directory to change to I<root:root>, as described in B<proc>(5)." |
| 409 |
msgstr "" |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 414 |
msgid "The B<prctl>(2) B<PR_SET_KEEPCAPS> flag is cleared." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "" |
| 421 |
"(Since Linux 2.4.36 / 2.6.23) If a set-user-ID or set-group-ID program is " |
| 422 |
"being executed, then the parent death signal set by B<prctl>(2) " |
| 423 |
"B<PR_SET_PDEATHSIG> flag is cleared." |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "" |
| 430 |
"The process name, as set by B<prctl>(2) B<PR_SET_NAME> (and displayed by " |
| 431 |
"I<ps\\ -o comm>), is reset to the name of the new executable file." |
| 432 |
msgstr "" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"The B<SECBIT_KEEP_CAPS> I<securebits> flag is cleared. See " |
| 439 |
"B<capabilities>(7)." |
| 440 |
msgstr "" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
msgid "The termination signal is reset to B<SIGCHLD> (see B<clone>(2))." |
| 446 |
msgstr "" |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
msgid "" |
| 452 |
"The file descriptor table is unshared, undoing the effect of the " |
| 453 |
"B<CLONE_FILES> flag of B<clone>(2)." |
| 454 |
msgstr "" |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
msgid "Note the following further points:" |
| 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 |
"All threads other than the calling thread are destroyed during an " |
| 467 |
"B<execve>(). Mutexes, condition variables, and other pthreads objects are " |
| 468 |
"not preserved." |
| 469 |
msgstr "" |
| 470 |
|
| 471 |
#. type: Plain text |
| 472 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 473 |
#: opensuse-tumbleweed |
| 474 |
msgid "" |
| 475 |
"The equivalent of I<setlocale(LC_ALL,\\ \\[dq]C\\[dq])> is executed at " |
| 476 |
"program start-up." |
| 477 |
msgstr "" |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
msgid "" |
| 483 |
"POSIX.1 specifies that the dispositions of any signals that are ignored or " |
| 484 |
"set to the default are left unchanged. POSIX.1 specifies one exception: if " |
| 485 |
"B<SIGCHLD> is being ignored, then an implementation may leave the " |
| 486 |
"disposition unchanged or reset it to the default; Linux does the former." |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "" |
| 493 |
"Any outstanding asynchronous I/O operations are canceled (B<aio_read>(3), " |
| 494 |
"B<aio_write>(3))." |
| 495 |
msgstr "" |
| 496 |
|
| 497 |
#. type: Plain text |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
msgid "" |
| 501 |
"For the handling of capabilities during B<execve>(), see B<capabilities>(7)." |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
#. #-#-#-#-# archlinux: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 505 |
#. On Linux it appears that these file descriptors are |
| 506 |
#. always open after an execve(), and it looks like |
| 507 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 508 |
#. type: Plain text |
| 509 |
#. #-#-#-#-# debian-trixie: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 510 |
#. On Linux it appears that these file descriptors are |
| 511 |
#. always open after an execve(), and it looks like |
| 512 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 513 |
#. type: Plain text |
| 514 |
#. #-#-#-#-# debian-unstable: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 515 |
#. On Linux it appears that these file descriptors are |
| 516 |
#. always open after an execve(), and it looks like |
| 517 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 518 |
#. type: Plain text |
| 519 |
#. #-#-#-#-# fedora-44: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 520 |
#. On Linux it appears that these file descriptors are |
| 521 |
#. always open after an execve(), and it looks like |
| 522 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 523 |
#. type: Plain text |
| 524 |
#. #-#-#-#-# fedora-rawhide: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 525 |
#. On Linux it appears that these file descriptors are |
| 526 |
#. always open after an execve(), and it looks like |
| 527 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 528 |
#. type: Plain text |
| 529 |
#. #-#-#-#-# mageia-cauldron: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 530 |
#. On Linux it appears that these file descriptors are |
| 531 |
#. always open after an execve(), and it looks like |
| 532 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 533 |
#. type: Plain text |
| 534 |
#. #-#-#-#-# opensuse-leap-16-1: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 535 |
#. On Linux it appears that these file descriptors are |
| 536 |
#. always open after an execve(), and it looks like |
| 537 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 538 |
#. type: Plain text |
| 539 |
#. #-#-#-#-# opensuse-tumbleweed: execve.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 540 |
#. On Linux it appears that these file descriptors are |
| 541 |
#. always open after an execve(), and it looks like |
| 542 |
#. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007 |
| 543 |
#. type: Plain text |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
msgid "" |
| 547 |
"By default, file descriptors remain open across an B<execve>(). File " |
| 548 |
"descriptors that are marked close-on-exec are closed; see the description of " |
| 549 |
"B<FD_CLOEXEC> in B<fcntl>(2). (If a file descriptor is closed, this will " |
| 550 |
"cause the release of all record locks obtained on the underlying file by " |
| 551 |
"this process. See B<fcntl>(2) for details.) POSIX.1 says that if file " |
| 552 |
"descriptors 0, 1, and 2 would otherwise be closed after a successful " |
| 553 |
"B<execve>(), and the process would gain privilege because the set-user-ID or " |
| 554 |
"set-group-ID mode bit was set on the executed file, then the system may open " |
| 555 |
"an unspecified file for each of these file descriptors. As a general " |
| 556 |
"principle, no portable program, whether privileged or not, can assume that " |
| 557 |
"these three file descriptors will remain closed across an B<execve>()." |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: SS |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "Interpreter scripts" |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
msgid "" |
| 571 |
"An interpreter script is a text file that has execute permission enabled and " |
| 572 |
"whose first line is of the form:" |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 577 |
#: opensuse-tumbleweed |
| 578 |
msgid "[I<optional-arg>]" |
| 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 |
msgid "The I<interpreter> must be a valid pathname for an executable file." |
| 585 |
msgstr "" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 589 |
#: opensuse-tumbleweed |
| 590 |
msgid "I<interpreter> will be invoked with the following arguments:" |
| 591 |
msgstr "" |
| 592 |
|
| 593 |
#. type: SY |
| 594 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 595 |
#: opensuse-tumbleweed |
| 596 |
#, no-wrap |
| 597 |
msgid "\\f[I]interpreter\\fR" |
| 598 |
msgstr "" |
| 599 |
|
| 600 |
#. type: Plain text |
| 601 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 602 |
#: opensuse-tumbleweed |
| 603 |
msgid "[I<optional-arg>] I<path> I<arg>..." |
| 604 |
msgstr "" |
| 605 |
|
| 606 |
#. See the P - preserve-argv[0] option. |
| 607 |
#. Documentation/admin-guide/binfmt-misc.rst |
| 608 |
#. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html |
| 609 |
#. type: Plain text |
| 610 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 611 |
#: opensuse-tumbleweed |
| 612 |
msgid "" |
| 613 |
"where I<arg...> is the series of words pointed to by the I<argv> argument of " |
| 614 |
"B<execve>(), starting at I<argv[1]>. Note that there is no way to get the " |
| 615 |
"I<argv[0]> that was passed to the B<execve>() call." |
| 616 |
msgstr "" |
| 617 |
|
| 618 |
#. type: Plain text |
| 619 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 620 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
msgid "" |
| 622 |
"For portable use, I<optional-arg> should either be absent, or be specified " |
| 623 |
"as a single word (i.e., it should not contain white space); see VERSIONS " |
| 624 |
"below." |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
#. commit bf2a9a39639b8b51377905397a5005f444e9a892 |
| 628 |
#. type: Plain text |
| 629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 631 |
msgid "" |
| 632 |
"Since Linux 2.6.28, the kernel permits the interpreter of a script to itself " |
| 633 |
"be a script. This permission is recursive, up to a limit of four " |
| 634 |
"recursions, so that the interpreter may be a script which is interpreted by " |
| 635 |
"a script, and so on." |
| 636 |
msgstr "" |
| 637 |
|
| 638 |
#. type: SS |
| 639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 641 |
#, no-wrap |
| 642 |
msgid "Limits on size of arguments and environment" |
| 643 |
msgstr "" |
| 644 |
|
| 645 |
#. type: Plain text |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
msgid "" |
| 649 |
"Most UNIX implementations impose some limit on the total size of the command-" |
| 650 |
"line argument (I<argv>) and environment (I<envp>) strings that may be " |
| 651 |
"passed to a new program. POSIX.1 allows an implementation to advertise this " |
| 652 |
"limit using the B<ARG_MAX> constant (either defined in I<E<lt>limits.hE<gt>> " |
| 653 |
"or available at run time using the call I<sysconf(_SC_ARG_MAX)>)." |
| 654 |
msgstr "" |
| 655 |
|
| 656 |
#. type: Plain text |
| 657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 659 |
msgid "" |
| 660 |
"Before Linux 2.6.23, the memory used to store the environment and argument " |
| 661 |
"strings was limited to 32 pages (defined by the kernel constant " |
| 662 |
"B<MAX_ARG_PAGES>). On architectures with a 4-kB page size, this yields a " |
| 663 |
"maximum size of 128\\ kB." |
| 664 |
msgstr "" |
| 665 |
|
| 666 |
#. For some background on the changes to ARG_MAX in Linux 2.6.23 and |
| 667 |
#. Linux 2.6.25, see: |
| 668 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=5786 |
| 669 |
#. http://bugzilla.kernel.org/show_bug.cgi?id=10095 |
| 670 |
#. http://thread.gmane.org/gmane.linux.kernel/646709/focus=648101, |
| 671 |
#. checked into Linux 2.6.25 as commit a64e715fc74b1a7dcc5944f848acc38b2c4d4ee2. |
| 672 |
#. Ollie: That doesn't include the lists of pointers, though, |
| 673 |
#. so the actual usage is a bit higher (1 pointer per argument). |
| 674 |
#. type: Plain text |
| 675 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 676 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 677 |
msgid "" |
| 678 |
"On Linux 2.6.23 and later, most architectures support a size limit derived " |
| 679 |
"from the soft B<RLIMIT_STACK> resource limit (see B<getrlimit>(2)) that is " |
| 680 |
"in force at the time of the B<execve>() call. (Architectures with no " |
| 681 |
"memory management unit are excepted: they maintain the limit that was in " |
| 682 |
"effect before Linux 2.6.23.) This change allows programs to have a much " |
| 683 |
"larger argument and/or environment list. For these architectures, the total " |
| 684 |
"size is limited to 1/4 of the allowed stack size. (Imposing the 1/4-limit " |
| 685 |
"ensures that the new program always has some stack space.) Additionally, " |
| 686 |
"the total size is limited to 3/4 of the value of the kernel constant " |
| 687 |
"B<_STK_LIM> (8 MiB). Since Linux 2.6.25, the kernel also places a floor of " |
| 688 |
"32 pages on this size limit, so that, even when B<RLIMIT_STACK> is set very " |
| 689 |
"low, applications are guaranteed to have at least as much argument and " |
| 690 |
"environment space as was provided by Linux 2.6.22 and earlier. (This " |
| 691 |
"guarantee was not provided in Linux 2.6.23 and 2.6.24.) Additionally, the " |
| 692 |
"limit per string is 32 pages (the kernel constant B<MAX_ARG_STRLEN>), and " |
| 693 |
"the maximum number of strings is 0x7FFFFFFF." |
| 694 |
msgstr "" |
| 695 |
|
| 696 |
#. type: SH |
| 697 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 698 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 699 |
#, no-wrap |
| 700 |
msgid "RETURN VALUE" |
| 701 |
msgstr "" |
| 702 |
|
| 703 |
#. type: Plain text |
| 704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 706 |
msgid "" |
| 707 |
"On success, B<execve>() does not return, on error -1 is returned, and " |
| 708 |
"I<errno> is set to indicate the error." |
| 709 |
msgstr "" |
| 710 |
|
| 711 |
#. type: SH |
| 712 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 713 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 714 |
#, no-wrap |
| 715 |
msgid "ERRORS" |
| 716 |
msgstr "" |
| 717 |
|
| 718 |
#. type: TP |
| 719 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 720 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 721 |
#, no-wrap |
| 722 |
msgid "B<E2BIG>" |
| 723 |
msgstr "" |
| 724 |
|
| 725 |
#. type: Plain text |
| 726 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 727 |
#: opensuse-tumbleweed |
| 728 |
msgid "" |
| 729 |
"The total number of bytes in the environment (I<envp>) and argument list " |
| 730 |
"(I<argv>) is too large, an argument or environment string is too long, or " |
| 731 |
"the full I<path> of the executable is too long. The terminating null byte " |
| 732 |
"is counted as part of the string length." |
| 733 |
msgstr "" |
| 734 |
|
| 735 |
#. type: TP |
| 736 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 737 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 738 |
#, no-wrap |
| 739 |
msgid "B<EACCES>" |
| 740 |
msgstr "" |
| 741 |
|
| 742 |
#. type: Plain text |
| 743 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 744 |
#: opensuse-tumbleweed |
| 745 |
msgid "" |
| 746 |
"Search permission is denied on a component of the path prefix of I<path> or " |
| 747 |
"the name of a script interpreter. (See also B<path_resolution>(7).)" |
| 748 |
msgstr "" |
| 749 |
|
| 750 |
#. type: Plain text |
| 751 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 752 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 753 |
msgid "The file or a script interpreter is not a regular file." |
| 754 |
msgstr "" |
| 755 |
|
| 756 |
#. type: Plain text |
| 757 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 758 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 759 |
msgid "" |
| 760 |
"Execute permission is denied for the file or a script or ELF interpreter." |
| 761 |
msgstr "" |
| 762 |
|
| 763 |
#. type: Plain text |
| 764 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 765 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 766 |
msgid "The filesystem is mounted I<noexec>." |
| 767 |
msgstr "" |
| 768 |
|
| 769 |
#. type: TP |
| 770 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 771 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 772 |
#, no-wrap |
| 773 |
msgid "B<EAGAIN> (since Linux 3.1)" |
| 774 |
msgstr "" |
| 775 |
|
| 776 |
#. commit 72fa59970f8698023045ab0713d66f3f4f96945c |
| 777 |
#. type: Plain text |
| 778 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 779 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 780 |
msgid "" |
| 781 |
"Having changed its real UID using one of the B<set*uid>() calls, the caller " |
| 782 |
"was\\[em]and is now still\\[em]above its B<RLIMIT_NPROC> resource limit (see " |
| 783 |
"B<setrlimit>(2)). For a more detailed explanation of this error, see NOTES." |
| 784 |
msgstr "" |
| 785 |
|
| 786 |
#. type: TP |
| 787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 789 |
#, no-wrap |
| 790 |
msgid "B<EFAULT>" |
| 791 |
msgstr "" |
| 792 |
|
| 793 |
#. type: Plain text |
| 794 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 795 |
#: opensuse-tumbleweed |
| 796 |
msgid "" |
| 797 |
"I<path> or one of the pointers in the vectors I<argv> or I<envp> points " |
| 798 |
"outside your accessible address space." |
| 799 |
msgstr "" |
| 800 |
|
| 801 |
#. type: TP |
| 802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 804 |
#, no-wrap |
| 805 |
msgid "B<EINVAL>" |
| 806 |
msgstr "" |
| 807 |
|
| 808 |
#. type: Plain text |
| 809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 811 |
msgid "" |
| 812 |
"An ELF executable had more than one PT_INTERP segment (i.e., tried to name " |
| 813 |
"more than one interpreter)." |
| 814 |
msgstr "" |
| 815 |
|
| 816 |
#. type: TP |
| 817 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 818 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 819 |
#, no-wrap |
| 820 |
msgid "B<EIO>" |
| 821 |
msgstr "" |
| 822 |
|
| 823 |
#. type: Plain text |
| 824 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 825 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 826 |
msgid "An I/O error occurred." |
| 827 |
msgstr "" |
| 828 |
|
| 829 |
#. type: TP |
| 830 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 831 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 832 |
#, no-wrap |
| 833 |
msgid "B<EISDIR>" |
| 834 |
msgstr "" |
| 835 |
|
| 836 |
#. type: Plain text |
| 837 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 838 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 839 |
msgid "An ELF interpreter was a directory." |
| 840 |
msgstr "" |
| 841 |
|
| 842 |
#. type: TP |
| 843 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 844 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 845 |
#, no-wrap |
| 846 |
msgid "B<ELIBBAD>" |
| 847 |
msgstr "" |
| 848 |
|
| 849 |
#. type: Plain text |
| 850 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 851 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 852 |
msgid "An ELF interpreter was not in a recognized format." |
| 853 |
msgstr "" |
| 854 |
|
| 855 |
#. type: TP |
| 856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 858 |
#, no-wrap |
| 859 |
msgid "B<ELOOP>" |
| 860 |
msgstr "" |
| 861 |
|
| 862 |
#. type: Plain text |
| 863 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 864 |
#: opensuse-tumbleweed |
| 865 |
msgid "" |
| 866 |
"Too many symbolic links were encountered in resolving I<path> or the name of " |
| 867 |
"a script or ELF interpreter." |
| 868 |
msgstr "" |
| 869 |
|
| 870 |
#. commit d740269867021faf4ce38a449353d2b986c34a67 |
| 871 |
#. type: Plain text |
| 872 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 873 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 874 |
msgid "" |
| 875 |
"The maximum recursion limit was reached during recursive script " |
| 876 |
"interpretation (see \"Interpreter scripts\", above). Before Linux 3.8, the " |
| 877 |
"error produced for this case was B<ENOEXEC>." |
| 878 |
msgstr "" |
| 879 |
|
| 880 |
#. type: TP |
| 881 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 882 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 883 |
#, no-wrap |
| 884 |
msgid "B<EMFILE>" |
| 885 |
msgstr "" |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 889 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 890 |
msgid "" |
| 891 |
"The per-process limit on the number of open file descriptors has been " |
| 892 |
"reached." |
| 893 |
msgstr "" |
| 894 |
|
| 895 |
#. type: TP |
| 896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 898 |
#, no-wrap |
| 899 |
msgid "B<ENAMETOOLONG>" |
| 900 |
msgstr "" |
| 901 |
|
| 902 |
#. type: Plain text |
| 903 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 904 |
#: opensuse-tumbleweed |
| 905 |
msgid "I<path> is too long." |
| 906 |
msgstr "" |
| 907 |
|
| 908 |
#. type: TP |
| 909 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 910 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 911 |
#, no-wrap |
| 912 |
msgid "B<ENFILE>" |
| 913 |
msgstr "" |
| 914 |
|
| 915 |
#. type: Plain text |
| 916 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 917 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 918 |
msgid "" |
| 919 |
"The system-wide limit on the total number of open files has been reached." |
| 920 |
msgstr "" |
| 921 |
|
| 922 |
#. type: TP |
| 923 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 924 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 925 |
#, no-wrap |
| 926 |
msgid "B<ENOENT>" |
| 927 |
msgstr "" |
| 928 |
|
| 929 |
#. type: Plain text |
| 930 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 931 |
#: opensuse-tumbleweed |
| 932 |
msgid "I<path> or a script or ELF interpreter does not exist." |
| 933 |
msgstr "" |
| 934 |
|
| 935 |
#. type: TP |
| 936 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 937 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 938 |
#, no-wrap |
| 939 |
msgid "B<ENOEXEC>" |
| 940 |
msgstr "" |
| 941 |
|
| 942 |
#. type: Plain text |
| 943 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 944 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 945 |
msgid "" |
| 946 |
"An executable is not in a recognized format, is for the wrong architecture, " |
| 947 |
"or has some other format error that means it cannot be executed." |
| 948 |
msgstr "" |
| 949 |
|
| 950 |
#. type: TP |
| 951 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 952 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 953 |
#, no-wrap |
| 954 |
msgid "B<ENOMEM>" |
| 955 |
msgstr "" |
| 956 |
|
| 957 |
#. type: Plain text |
| 958 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 959 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 960 |
msgid "Insufficient kernel memory was available." |
| 961 |
msgstr "" |
| 962 |
|
| 963 |
#. type: TP |
| 964 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 965 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 966 |
#, no-wrap |
| 967 |
msgid "B<ENOTDIR>" |
| 968 |
msgstr "" |
| 969 |
|
| 970 |
#. type: Plain text |
| 971 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 972 |
#: opensuse-tumbleweed |
| 973 |
msgid "" |
| 974 |
"A component of the path prefix of I<path> or a script or ELF interpreter is " |
| 975 |
"not a directory." |
| 976 |
msgstr "" |
| 977 |
|
| 978 |
#. type: TP |
| 979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 981 |
#, no-wrap |
| 982 |
msgid "B<EPERM>" |
| 983 |
msgstr "" |
| 984 |
|
| 985 |
#. type: Plain text |
| 986 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 987 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 988 |
msgid "" |
| 989 |
"The filesystem is mounted I<nosuid>, the user is not the superuser, and the " |
| 990 |
"file has the set-user-ID or set-group-ID bit set." |
| 991 |
msgstr "" |
| 992 |
|
| 993 |
#. type: Plain text |
| 994 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 995 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 996 |
msgid "" |
| 997 |
"The process is being traced, the user is not the superuser and the file has " |
| 998 |
"the set-user-ID or set-group-ID bit set." |
| 999 |
msgstr "" |
| 1000 |
|
| 1001 |
#. type: Plain text |
| 1002 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1003 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1004 |
msgid "" |
| 1005 |
"A \"capability-dumb\" applications would not obtain the full set of " |
| 1006 |
"permitted capabilities granted by the executable file. See " |
| 1007 |
"B<capabilities>(7)." |
| 1008 |
msgstr "" |
| 1009 |
|
| 1010 |
#. type: TP |
| 1011 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1012 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1013 |
#, no-wrap |
| 1014 |
msgid "B<ETXTBSY>" |
| 1015 |
msgstr "" |
| 1016 |
|
| 1017 |
#. type: Plain text |
| 1018 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1019 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1020 |
msgid "The specified executable was open for writing by one or more processes." |
| 1021 |
msgstr "" |
| 1022 |
|
| 1023 |
#. type: SH |
| 1024 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1025 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1026 |
#, no-wrap |
| 1027 |
msgid "VERSIONS" |
| 1028 |
msgstr "" |
| 1029 |
|
| 1030 |
#. type: Plain text |
| 1031 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1032 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1033 |
msgid "" |
| 1034 |
"POSIX does not document the #! behavior, but it exists (with some " |
| 1035 |
"variations) on other UNIX systems." |
| 1036 |
msgstr "" |
| 1037 |
|
| 1038 |
#. e.g., EFAULT on Solaris 8 and FreeBSD 6.1; but |
| 1039 |
#. HP-UX 11 is like Linux -- mtk, Apr 2007 |
| 1040 |
#. Bug filed 30 Apr 2007: http://bugzilla.kernel.org/show_bug.cgi?id=8408 |
| 1041 |
#. Bug rejected (because fix would constitute an ABI change). |
| 1042 |
#. type: Plain text |
| 1043 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1044 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1045 |
msgid "" |
| 1046 |
"On Linux, I<argv> and I<envp> can be specified as NULL. In both cases, this " |
| 1047 |
"has the same effect as specifying the argument as a pointer to a list " |
| 1048 |
"containing a single null pointer. B<Do not take advantage of this " |
| 1049 |
"nonstandard and nonportable misfeature!> On many other UNIX systems, " |
| 1050 |
"specifying I<argv> as NULL will result in an error (B<EFAULT>). I<Some> " |
| 1051 |
"other UNIX systems treat the I<envp==NULL> case the same as Linux." |
| 1052 |
msgstr "" |
| 1053 |
|
| 1054 |
#. type: Plain text |
| 1055 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1056 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1057 |
msgid "" |
| 1058 |
"POSIX.1 says that values returned by B<sysconf>(3) should be invariant over " |
| 1059 |
"the lifetime of a process. However, since Linux 2.6.23, if the " |
| 1060 |
"B<RLIMIT_STACK> resource limit changes, then the value reported by " |
| 1061 |
"B<_SC_ARG_MAX> will also change, to reflect the fact that the limit on space " |
| 1062 |
"for holding command-line arguments and environment variables has changed." |
| 1063 |
msgstr "" |
| 1064 |
|
| 1065 |
#. commit 6eb3c3d0a52dca337e327ae8868ca1f44a712e02 |
| 1066 |
#. type: Plain text |
| 1067 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1068 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1069 |
msgid "" |
| 1070 |
"The kernel imposes a maximum length on the text that follows the \"#!\" " |
| 1071 |
"characters at the start of a script; characters beyond the limit are " |
| 1072 |
"ignored. Before Linux 5.1, the limit is 127 characters. Since Linux 5.1, " |
| 1073 |
"the limit is 255 characters." |
| 1074 |
msgstr "" |
| 1075 |
|
| 1076 |
#. e.g., Solaris 8 |
| 1077 |
#. e.g., FreeBSD before 6.0, but not FreeBSD 6.0 onward |
| 1078 |
#. type: Plain text |
| 1079 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1080 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1081 |
msgid "" |
| 1082 |
"The semantics of the I<optional-arg> argument of an interpreter script vary " |
| 1083 |
"across implementations. On Linux, the entire string following the " |
| 1084 |
"I<interpreter> name is passed as a single argument to the interpreter, and " |
| 1085 |
"this string can include white space. However, behavior differs on some " |
| 1086 |
"other systems. Some systems use the first white space to terminate " |
| 1087 |
"I<optional-arg>. On some systems, an interpreter script can have multiple " |
| 1088 |
"arguments, and white spaces in I<optional-arg> are used to delimit the " |
| 1089 |
"arguments." |
| 1090 |
msgstr "" |
| 1091 |
|
| 1092 |
#. type: Plain text |
| 1093 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1094 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1095 |
msgid "" |
| 1096 |
"Linux (like most other modern UNIX systems) ignores the set-user-ID and set-" |
| 1097 |
"group-ID bits on scripts." |
| 1098 |
msgstr "" |
| 1099 |
|
| 1100 |
#. type: SH |
| 1101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1103 |
#, no-wrap |
| 1104 |
msgid "STANDARDS" |
| 1105 |
msgstr "" |
| 1106 |
|
| 1107 |
#. type: Plain text |
| 1108 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1109 |
#: opensuse-tumbleweed |
| 1110 |
msgid "POSIX.1-2024." |
| 1111 |
msgstr "" |
| 1112 |
|
| 1113 |
#. type: SH |
| 1114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1116 |
#, no-wrap |
| 1117 |
msgid "HISTORY" |
| 1118 |
msgstr "" |
| 1119 |
|
| 1120 |
#. SVr4 documents additional error |
| 1121 |
#. conditions EAGAIN, EINTR, ELIBACC, ENOLINK, EMULTIHOP; POSIX does not |
| 1122 |
#. document ETXTBSY, EPERM, EFAULT, ELOOP, EIO, ENFILE, EMFILE, EINVAL, |
| 1123 |
#. EISDIR or ELIBBAD error conditions. |
| 1124 |
#. type: Plain text |
| 1125 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1126 |
#: opensuse-tumbleweed |
| 1127 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 1128 |
msgstr "" |
| 1129 |
|
| 1130 |
#. type: Plain text |
| 1131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1133 |
msgid "" |
| 1134 |
"With UNIX\\ V6, the argument list of an B<exec>() call was ended by 0, " |
| 1135 |
"while the argument list of I<main> was ended by -1. Thus, this argument " |
| 1136 |
"list was not directly usable in a further B<exec>() call. Since UNIX\\ V7, " |
| 1137 |
"both are NULL." |
| 1138 |
msgstr "" |
| 1139 |
|
| 1140 |
#. type: SH |
| 1141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1143 |
#, no-wrap |
| 1144 |
msgid "NOTES" |
| 1145 |
msgstr "" |
| 1146 |
|
| 1147 |
#. type: Plain text |
| 1148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1150 |
msgid "" |
| 1151 |
"One sometimes sees B<execve>() (and the related functions described in " |
| 1152 |
"B<exec>(3)) described as \"executing a I<new> process\" (or similar). This " |
| 1153 |
"is a highly misleading description: there is no new process; many attributes " |
| 1154 |
"of the calling process remain unchanged (in particular, its PID). All that " |
| 1155 |
"B<execve>() does is arrange for an existing process (the calling process) " |
| 1156 |
"to execute a new program." |
| 1157 |
msgstr "" |
| 1158 |
|
| 1159 |
#. type: Plain text |
| 1160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1162 |
msgid "Set-user-ID and set-group-ID processes can not be B<ptrace>(2)d." |
| 1163 |
msgstr "" |
| 1164 |
|
| 1165 |
#. type: Plain text |
| 1166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1168 |
msgid "" |
| 1169 |
"The result of mounting a filesystem I<nosuid> varies across Linux kernel " |
| 1170 |
"versions: some will refuse execution of set-user-ID and set-group-ID " |
| 1171 |
"executables when this would give the user powers they did not have already " |
| 1172 |
"(and return B<EPERM>), some will just ignore the set-user-ID and set-group-" |
| 1173 |
"ID bits and B<exec>() successfully." |
| 1174 |
msgstr "" |
| 1175 |
|
| 1176 |
#. commit 19d860a140beac48a1377f179e693abe86a9dac9 |
| 1177 |
#. type: Plain text |
| 1178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1180 |
msgid "" |
| 1181 |
"In most cases where B<execve>() fails, control returns to the original " |
| 1182 |
"executable image, and the caller of B<execve>() can then handle the error. " |
| 1183 |
"However, in (rare) cases (typically caused by resource exhaustion), failure " |
| 1184 |
"may occur past the point of no return: the original executable image has " |
| 1185 |
"been torn down, but the new image could not be completely built. In such " |
| 1186 |
"cases, the kernel kills the process with a B<SIGSEGV> (B<SIGKILL> until " |
| 1187 |
"Linux 3.17) signal." |
| 1188 |
msgstr "" |
| 1189 |
|
| 1190 |
#. type: SS |
| 1191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1193 |
#, no-wrap |
| 1194 |
msgid "execve() and EAGAIN" |
| 1195 |
msgstr "" |
| 1196 |
|
| 1197 |
#. type: Plain text |
| 1198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1200 |
msgid "" |
| 1201 |
"A more detailed explanation of the B<EAGAIN> error that can occur (since " |
| 1202 |
"Linux 3.1) when calling B<execve>() is as follows." |
| 1203 |
msgstr "" |
| 1204 |
|
| 1205 |
#. commit 909cc4ae86f3380152a18e2a3c44523893ee11c4 |
| 1206 |
#. type: Plain text |
| 1207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1209 |
msgid "" |
| 1210 |
"The B<EAGAIN> error can occur when a I<preceding> call to B<setuid>(2), " |
| 1211 |
"B<setreuid>(2), or B<setresuid>(2) caused the real user ID of the process " |
| 1212 |
"to change, and that change caused the process to exceed its B<RLIMIT_NPROC> " |
| 1213 |
"resource limit (i.e., the number of processes belonging to the new real UID " |
| 1214 |
"exceeds the resource limit). From Linux 2.6.0 to Linux 3.0, this caused the " |
| 1215 |
"B<set*uid>() call to fail. (Before Linux 2.6, the resource limit was not " |
| 1216 |
"imposed on processes that changed their user IDs.)" |
| 1217 |
msgstr "" |
| 1218 |
|
| 1219 |
#. type: Plain text |
| 1220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1222 |
msgid "" |
| 1223 |
"Since Linux 3.1, the scenario just described no longer causes the " |
| 1224 |
"B<set*uid>() call to fail, because it too often led to security holes where " |
| 1225 |
"buggy applications didn't check the return status and assumed that\\[em]if " |
| 1226 |
"the caller had root privileges\\[em]the call would always succeed. Instead, " |
| 1227 |
"the B<set*uid>() calls now successfully change the real UID, but the kernel " |
| 1228 |
"sets an internal flag, named B<PF_NPROC_EXCEEDED>, to note that the " |
| 1229 |
"B<RLIMIT_NPROC> resource limit has been exceeded. If the " |
| 1230 |
"B<PF_NPROC_EXCEEDED> flag is set and the resource limit is still exceeded at " |
| 1231 |
"the time of a subsequent B<execve>() call, that call fails with the error " |
| 1232 |
"B<EAGAIN>. This kernel logic ensures that the B<RLIMIT_NPROC> resource " |
| 1233 |
"limit is still enforced for the common privileged daemon workflow\\" |
| 1234 |
"[em]namely, B<fork>(2) + B<set*uid>() + B<execve>()." |
| 1235 |
msgstr "" |
| 1236 |
|
| 1237 |
# |
| 1238 |
#. .SH BUGS |
| 1239 |
#. Some Linux versions have failed to check permissions on ELF |
| 1240 |
#. interpreters. This is a security hole, because it allows users to |
| 1241 |
#. open any file, such as a rewinding tape device, for reading. Some |
| 1242 |
#. Linux versions have also had other security holes in |
| 1243 |
#. .BR execve () |
| 1244 |
#. that could be exploited for denial of service by a suitably crafted |
| 1245 |
#. ELF binary. There are no known problems with Linux 2.0.34 or Linux 2.2.15. |
| 1246 |
#. type: Plain text |
| 1247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1249 |
msgid "" |
| 1250 |
"If the resource limit was not still exceeded at the time of the B<execve>() " |
| 1251 |
"call (because other processes belonging to this real UID terminated between " |
| 1252 |
"the B<set*uid>() call and the B<execve>() call), then the B<execve>() " |
| 1253 |
"call succeeds and the kernel clears the B<PF_NPROC_EXCEEDED> process flag. " |
| 1254 |
"The flag is also cleared if a subsequent call to B<fork>(2) by this process " |
| 1255 |
"succeeds." |
| 1256 |
msgstr "" |
| 1257 |
|
| 1258 |
#. type: SH |
| 1259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1261 |
#, no-wrap |
| 1262 |
msgid "EXAMPLES" |
| 1263 |
msgstr "" |
| 1264 |
|
| 1265 |
#. type: Plain text |
| 1266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1268 |
msgid "" |
| 1269 |
"The following program is designed to be execed by the second program below. " |
| 1270 |
"It just echoes its command-line arguments, one per line." |
| 1271 |
msgstr "" |
| 1272 |
|
| 1273 |
#. type: Plain text |
| 1274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1276 |
#, no-wrap |
| 1277 |
msgid "" |
| 1278 |
"/* myecho.c */\n" |
| 1279 |
"\\&\n" |
| 1280 |
"#include E<lt>stdio.hE<gt>\n" |
| 1281 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1282 |
"\\&\n" |
| 1283 |
"int\n" |
| 1284 |
"main(int argc, char *argv[])\n" |
| 1285 |
"{\n" |
| 1286 |
" for (size_t j = 0; j E<lt> argc; j++)\n" |
| 1287 |
" printf(\"argv[%zu]: %s\\[rs]n\", j, argv[j]);\n" |
| 1288 |
"\\&\n" |
| 1289 |
" exit(EXIT_SUCCESS);\n" |
| 1290 |
"}\n" |
| 1291 |
msgstr "" |
| 1292 |
|
| 1293 |
#. type: Plain text |
| 1294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1296 |
msgid "" |
| 1297 |
"This program can be used to exec the program named in its command-line " |
| 1298 |
"argument:" |
| 1299 |
msgstr "" |
| 1300 |
|
| 1301 |
#. type: Plain text |
| 1302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1304 |
#, no-wrap |
| 1305 |
msgid "" |
| 1306 |
"/* execve.c */\n" |
| 1307 |
"\\&\n" |
| 1308 |
"#include E<lt>stdio.hE<gt>\n" |
| 1309 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1310 |
"#include E<lt>unistd.hE<gt>\n" |
| 1311 |
"\\&\n" |
| 1312 |
"int\n" |
| 1313 |
"main(int argc, char *argv[])\n" |
| 1314 |
"{\n" |
| 1315 |
" static char *newargv[] = { NULL, \"hello\", \"world\", NULL };\n" |
| 1316 |
" static char *newenviron[] = { NULL };\n" |
| 1317 |
"\\&\n" |
| 1318 |
" if (argc != 2) {\n" |
| 1319 |
" fprintf(stderr, \"Usage: %s E<lt>file-to-execE<gt>\\[rs]n\", argv[0]);\n" |
| 1320 |
" exit(EXIT_FAILURE);\n" |
| 1321 |
" }\n" |
| 1322 |
"\\&\n" |
| 1323 |
" newargv[0] = argv[1];\n" |
| 1324 |
"\\&\n" |
| 1325 |
" execve(argv[1], newargv, newenviron);\n" |
| 1326 |
" perror(\"execve\"); /* execve() returns only on error */\n" |
| 1327 |
" exit(EXIT_FAILURE);\n" |
| 1328 |
"}\n" |
| 1329 |
msgstr "" |
| 1330 |
|
| 1331 |
#. type: Plain text |
| 1332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1334 |
msgid "We can use the second program to exec the first as follows:" |
| 1335 |
msgstr "" |
| 1336 |
|
| 1337 |
#. type: Plain text |
| 1338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1340 |
#, no-wrap |
| 1341 |
msgid "" |
| 1342 |
"$B< cc myecho.c -o myecho>\n" |
| 1343 |
"$B< cc execve.c -o execve>\n" |
| 1344 |
"$B< ./execve ./myecho>\n" |
| 1345 |
"argv[0]: ./myecho\n" |
| 1346 |
"argv[1]: hello\n" |
| 1347 |
"argv[2]: world\n" |
| 1348 |
msgstr "" |
| 1349 |
|
| 1350 |
#. type: Plain text |
| 1351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1353 |
msgid "" |
| 1354 |
"We can also use these programs to demonstrate the use of a script " |
| 1355 |
"interpreter. To do this we create a script whose \"interpreter\" is our " |
| 1356 |
"I<myecho> program:" |
| 1357 |
msgstr "" |
| 1358 |
|
| 1359 |
#. type: Plain text |
| 1360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1362 |
#, no-wrap |
| 1363 |
msgid "" |
| 1364 |
"$B< cat E<gt> script>\n" |
| 1365 |
"B<#!./myecho script-arg>\n" |
| 1366 |
"B<\\[ha]D>\n" |
| 1367 |
"$B< chmod +x script>\n" |
| 1368 |
msgstr "" |
| 1369 |
|
| 1370 |
#. type: Plain text |
| 1371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1373 |
msgid "We can then use our program to exec the script:" |
| 1374 |
msgstr "" |
| 1375 |
|
| 1376 |
#. type: Plain text |
| 1377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1379 |
#, no-wrap |
| 1380 |
msgid "" |
| 1381 |
"$B< ./execve ./script>\n" |
| 1382 |
"argv[0]: ./myecho\n" |
| 1383 |
"argv[1]: script-arg\n" |
| 1384 |
"argv[2]: ./script\n" |
| 1385 |
"argv[3]: hello\n" |
| 1386 |
"argv[4]: world\n" |
| 1387 |
msgstr "" |
| 1388 |
|
| 1389 |
#. type: SH |
| 1390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1392 |
#, no-wrap |
| 1393 |
msgid "SEE ALSO" |
| 1394 |
msgstr "" |
| 1395 |
|
| 1396 |
#. type: Plain text |
| 1397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1399 |
msgid "" |
| 1400 |
"B<chmod>(2), B<execveat>(2), B<fork>(2), B<get_robust_list>(2), " |
| 1401 |
"B<ptrace>(2), B<exec>(3), B<fexecve>(3), B<getauxval>(3), B<getopt>(3), " |
| 1402 |
"B<system>(3), B<capabilities>(7), B<credentials>(7), B<environ>(7), " |
| 1403 |
"B<path_resolution>(7), B<ld.so>(8)" |
| 1404 |
msgstr "" |
| 1405 |
|
| 1406 |
#. type: TH |
| 1407 |
#: debian-trixie |
| 1408 |
#, no-wrap |
| 1409 |
msgid "2024-06-15" |
| 1410 |
msgstr "" |
| 1411 |
|
| 1412 |
#. type: TH |
| 1413 |
#: debian-trixie |
| 1414 |
#, no-wrap |
| 1415 |
msgid "Linux man-pages 6.9.1" |
| 1416 |
msgstr "" |
| 1417 |
|
| 1418 |
#. type: Plain text |
| 1419 |
#: debian-trixie |
| 1420 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1421 |
msgstr "" |
| 1422 |
|
| 1423 |
#. type: Plain text |
| 1424 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1425 |
#, no-wrap |
| 1426 |
msgid "" |
| 1427 |
"B<int execve(const char *>I<pathname>B<, char *const _Nullable >I<argv>B<[],>\n" |
| 1428 |
"B< char *const _Nullable >I<envp>B<[]);>\n" |
| 1429 |
msgstr "" |
| 1430 |
|
| 1431 |
#. type: Plain text |
| 1432 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1433 |
msgid "" |
| 1434 |
"B<execve>() executes the program referred to by I<pathname>. This causes " |
| 1435 |
"the program that is currently being run by the calling process to be " |
| 1436 |
"replaced with a new program, with newly initialized stack, heap, and " |
| 1437 |
"(initialized and uninitialized) data segments." |
| 1438 |
msgstr "" |
| 1439 |
|
| 1440 |
#. type: Plain text |
| 1441 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1442 |
msgid "" |
| 1443 |
"I<pathname> must be either a binary executable, or a script starting with a " |
| 1444 |
"line of the form:" |
| 1445 |
msgstr "" |
| 1446 |
|
| 1447 |
#. type: Plain text |
| 1448 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1449 |
#, no-wrap |
| 1450 |
msgid "B<#!>I<interpreter >[optional-arg]\n" |
| 1451 |
msgstr "" |
| 1452 |
|
| 1453 |
#. type: Plain text |
| 1454 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1455 |
msgid "" |
| 1456 |
"If the set-user-ID bit is set on the program file referred to by " |
| 1457 |
"I<pathname>, then the effective user ID of the calling process is changed to " |
| 1458 |
"that of the owner of the program file. Similarly, if the set-group-ID bit " |
| 1459 |
"is set on the program file, then the effective group ID of the calling " |
| 1460 |
"process is set to the group of the program file." |
| 1461 |
msgstr "" |
| 1462 |
|
| 1463 |
#. type: Plain text |
| 1464 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1465 |
msgid "" |
| 1466 |
"The equivalent of I<setlocale(LC_ALL, \"C\")> is executed at program start-" |
| 1467 |
"up." |
| 1468 |
msgstr "" |
| 1469 |
|
| 1470 |
#. type: Plain text |
| 1471 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1472 |
msgid "" |
| 1473 |
"If the I<pathname> argument of B<execve>() specifies an interpreter script, " |
| 1474 |
"then I<interpreter> will be invoked with the following arguments:" |
| 1475 |
msgstr "" |
| 1476 |
|
| 1477 |
#. type: Plain text |
| 1478 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1479 |
#, no-wrap |
| 1480 |
msgid "I<interpreter> [optional-arg] I<pathname> arg...\n" |
| 1481 |
msgstr "" |
| 1482 |
|
| 1483 |
#. See the P - preserve-argv[0] option. |
| 1484 |
#. Documentation/admin-guide/binfmt-misc.rst |
| 1485 |
#. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html |
| 1486 |
#. type: Plain text |
| 1487 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1488 |
msgid "" |
| 1489 |
"where I<pathname> is the pathname of the file specified as the first " |
| 1490 |
"argument of B<execve>(), and I<arg...> is the series of words pointed to by " |
| 1491 |
"the I<argv> argument of B<execve>(), starting at I<argv[1]>. Note that " |
| 1492 |
"there is no way to get the I<argv[0]> that was passed to the B<execve>() " |
| 1493 |
"call." |
| 1494 |
msgstr "" |
| 1495 |
|
| 1496 |
#. type: Plain text |
| 1497 |
#: debian-trixie |
| 1498 |
msgid "" |
| 1499 |
"For portable use, I<optional-arg> should either be absent, or be specified " |
| 1500 |
"as a single word (i.e., it should not contain white space); see NOTES below." |
| 1501 |
msgstr "" |
| 1502 |
|
| 1503 |
#. type: Plain text |
| 1504 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1505 |
msgid "" |
| 1506 |
"The total number of bytes in the environment (I<envp>) and argument list " |
| 1507 |
"(I<argv>) is too large, an argument or environment string is too long, or " |
| 1508 |
"the full I<pathname> of the executable is too long. The terminating null " |
| 1509 |
"byte is counted as part of the string length." |
| 1510 |
msgstr "" |
| 1511 |
|
| 1512 |
#. type: Plain text |
| 1513 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1514 |
msgid "" |
| 1515 |
"Search permission is denied on a component of the path prefix of I<pathname> " |
| 1516 |
"or the name of a script interpreter. (See also B<path_resolution>(7).)" |
| 1517 |
msgstr "" |
| 1518 |
|
| 1519 |
#. type: Plain text |
| 1520 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1521 |
msgid "" |
| 1522 |
"I<pathname> or one of the pointers in the vectors I<argv> or I<envp> points " |
| 1523 |
"outside your accessible address space." |
| 1524 |
msgstr "" |
| 1525 |
|
| 1526 |
#. type: Plain text |
| 1527 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1528 |
msgid "" |
| 1529 |
"Too many symbolic links were encountered in resolving I<pathname> or the " |
| 1530 |
"name of a script or ELF interpreter." |
| 1531 |
msgstr "" |
| 1532 |
|
| 1533 |
#. type: Plain text |
| 1534 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1535 |
msgid "I<pathname> is too long." |
| 1536 |
msgstr "" |
| 1537 |
|
| 1538 |
#. type: Plain text |
| 1539 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1540 |
msgid "The file I<pathname> or a script or ELF interpreter does not exist." |
| 1541 |
msgstr "" |
| 1542 |
|
| 1543 |
#. type: Plain text |
| 1544 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1545 |
msgid "" |
| 1546 |
"A component of the path prefix of I<pathname> or a script or ELF interpreter " |
| 1547 |
"is not a directory." |
| 1548 |
msgstr "" |
| 1549 |
|
| 1550 |
#. type: Plain text |
| 1551 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1552 |
msgid "POSIX.1-2008." |
| 1553 |
msgstr "" |
| 1554 |
|
| 1555 |
#. SVr4 documents additional error |
| 1556 |
#. conditions EAGAIN, EINTR, ELIBACC, ENOLINK, EMULTIHOP; POSIX does not |
| 1557 |
#. document ETXTBSY, EPERM, EFAULT, ELOOP, EIO, ENFILE, EMFILE, EINVAL, |
| 1558 |
#. EISDIR or ELIBBAD error conditions. |
| 1559 |
#. type: Plain text |
| 1560 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1561 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 1562 |
msgstr "" |
| 1563 |
|
| 1564 |
#. type: TH |
| 1565 |
#: fedora-44 fedora-rawhide |
| 1566 |
#, no-wrap |
| 1567 |
msgid "2024-07-23" |
| 1568 |
msgstr "" |
| 1569 |
|
| 1570 |
#. type: TH |
| 1571 |
#: fedora-44 fedora-rawhide |
| 1572 |
#, no-wrap |
| 1573 |
msgid "Linux man-pages 6.13" |
| 1574 |
msgstr "" |
| 1575 |
|
| 1576 |
#. type: TH |
| 1577 |
#: mageia-cauldron |
| 1578 |
#, no-wrap |
| 1579 |
msgid "Linux man-pages 6.17" |
| 1580 |
msgstr "" |
| 1581 |
|
| 1582 |
#. type: TH |
| 1583 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1584 |
#, no-wrap |
| 1585 |
msgid "Linux man-pages (unreleased)" |
| 1586 |
msgstr "" |