| 1 |
# Romanian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Remus-Gabriel Chelu <[email protected]>, 2024, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.24.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 9 |
"PO-Revision-Date: 2024-11-28 12:38+0100\n" |
| 10 |
"Last-Translator: Remus-Gabriel Chelu <[email protected]>\n" |
| 11 |
"Language-Team: Romanian <[email protected]>\n" |
| 12 |
"Language: ro\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " |
| 17 |
"20)) ? 1 : 2;\n" |
| 18 |
"X-Generator: Poedit 3.5\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "system" |
| 25 |
msgstr "system" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "system - execute a shell command" |
| 51 |
msgstr "sistem - execută o comandă shell" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTECA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SINOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>stdlib.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>stdlib.hE<gt>>\n" |
| 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 "B<int system(const char *>I<command>B<);>\n" |
| 85 |
msgstr "B<int system(const char *>I<comandă>B<);>\n" |
| 86 |
|
| 87 |
#. type: SH |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, no-wrap |
| 91 |
msgid "DESCRIPTION" |
| 92 |
msgstr "DESCRIERE" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
msgid "" |
| 98 |
"The B<system>() library function behaves as if it used B<fork>(2) to " |
| 99 |
"create a child process that executed the shell command specified in " |
| 100 |
"I<command> using B<execl>(3) as follows:" |
| 101 |
msgstr "" |
| 102 |
"Funcția de bibliotecă B<system>() se comportă ca și cum ar fi utilizat " |
| 103 |
"B<fork>(2) pentru a crea un proces-copil care să execute comanda shell " |
| 104 |
"specificată în I<comandă> utilizând B<execl>(3) după cum urmează:" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "execl(\"/bin/sh\", \"sh\", \"-c\", command, (char *) NULL);\n" |
| 111 |
msgstr "execl(\"/bin/sh\", \"sh\", \"-c\", comandă, (char *) NULL);\n" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "B<system>() returns after the command has been completed." |
| 117 |
msgstr "B<system>() returnează după ce comanda a fost finalizată." |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"During execution of the command, B<SIGCHLD> will be blocked, and B<SIGINT> " |
| 124 |
"and B<SIGQUIT> will be ignored, in the process that calls B<system>(). " |
| 125 |
"(These signals will be handled according to their defaults inside the child " |
| 126 |
"process that executes I<command>.)" |
| 127 |
msgstr "" |
| 128 |
"În timpul executării comenzii, B<SIGCHLD> va fi blocat, iar B<SIGINT> și " |
| 129 |
"B<SIGQUIT> vor fi ignorate, în procesul care apelează B<system>(); (aceste " |
| 130 |
"semnale vor fi tratate în conformitate cu valorile lor implicite în " |
| 131 |
"interiorul procesului-copil care execută I<comanda>)." |
| 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 |
"If I<command> is NULL, then B<system>() returns a status indicating whether " |
| 138 |
"a shell is available on the system." |
| 139 |
msgstr "" |
| 140 |
"Dacă I<comandă> este NULL, atunci B<system>() returnează o stare care indică " |
| 141 |
"dacă un shell este disponibil pe sistem." |
| 142 |
|
| 143 |
#. type: SH |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
#, no-wrap |
| 147 |
msgid "RETURN VALUE" |
| 148 |
msgstr "VALOAREA RETURNATĂ" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
msgid "The return value of B<system>() is one of the following:" |
| 154 |
msgstr "Valoarea returnată de B<system>() este una dintre următoarele:" |
| 155 |
|
| 156 |
#. type: IP |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
#, no-wrap |
| 160 |
msgid "\\[bu]" |
| 161 |
msgstr "\\[bu]" |
| 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 |
"If I<command> is NULL, then a nonzero value if a shell is available, or 0 if " |
| 168 |
"no shell is available." |
| 169 |
msgstr "" |
| 170 |
"Dacă I<comandă> este NULL, atunci o valoare diferită de zero dacă este " |
| 171 |
"disponibil un shell, sau 0 dacă nu este disponibil niciun shell." |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"If a child process could not be created, or its status could not be " |
| 178 |
"retrieved, the return value is -1 and I<errno> is set to indicate the error." |
| 179 |
msgstr "" |
| 180 |
"Dacă un proces-copil nu a putut fi creat sau starea acestuia nu a putut fi " |
| 181 |
"recuperată, valoarea de returnare este -1 și I<errno> este configurată " |
| 182 |
"pentru a indica eroarea." |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
msgid "" |
| 188 |
"If a shell could not be executed in the child process, then the return value " |
| 189 |
"is as though the child shell terminated by calling B<_exit>(2) with the " |
| 190 |
"status 127." |
| 191 |
msgstr "" |
| 192 |
"În cazul în care un shell nu a putut fi executat în procesul-copil, atunci " |
| 193 |
"valoarea de returnare este ca și cum shell-ul copil s-ar fi încheiat prin " |
| 194 |
"apelarea B<_exit>(2) cu starea 127." |
| 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 all system calls succeed, then the return value is the termination status " |
| 201 |
"of the child shell used to execute I<command>. (The termination status of a " |
| 202 |
"shell is the termination status of the last command it executes.)" |
| 203 |
msgstr "" |
| 204 |
"Dacă toate apelurile sistemului reușesc, atunci valoarea de returnare este " |
| 205 |
"starea de terminare a shell-ului copil utilizat pentru a executa I<comandă>; " |
| 206 |
"(starea de terminare a unui shell este starea de terminare a ultimei comenzi " |
| 207 |
"pe care o execută)." |
| 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 |
msgid "" |
| 213 |
"In the last two cases, the return value is a \"wait status\" that can be " |
| 214 |
"examined using the macros described in B<waitpid>(2). (i.e., " |
| 215 |
"B<WIFEXITED>(), B<WEXITSTATUS>(), and so on)." |
| 216 |
msgstr "" |
| 217 |
"În ultimele două cazuri, valoarea de returnare este o „stare de așteptare” " |
| 218 |
"care poate fi examinată utilizând macrocomenzile descrise în B<waitpid>(2); " |
| 219 |
"(și anume, B<WIFEXITED>(), B<WEXITSTATUS>() și așa mai departe)." |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
msgid "B<system>() does not affect the wait status of any other children." |
| 225 |
msgstr "B<system>() nu afectează starea de așteptare a niciunui alt copil." |
| 226 |
|
| 227 |
#. type: SH |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "ERRORS" |
| 232 |
msgstr "ERORI-IEȘIRE" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "B<system>() can fail with any of the same errors as B<fork>(2)." |
| 238 |
msgstr "B<system>() poate eșua cu oricare dintre aceleași erori ca B<fork>(2)." |
| 239 |
|
| 240 |
#. type: SH |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
#, no-wrap |
| 244 |
msgid "ATTRIBUTES" |
| 245 |
msgstr "ATRIBUTE" |
| 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 "" |
| 251 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 252 |
msgstr "" |
| 253 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 254 |
"B<attributes>(7)." |
| 255 |
|
| 256 |
#. type: tbl table |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
#, no-wrap |
| 260 |
msgid "Interface" |
| 261 |
msgstr "Interfață" |
| 262 |
|
| 263 |
#. type: tbl table |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
#, no-wrap |
| 267 |
msgid "Attribute" |
| 268 |
msgstr "Atribut" |
| 269 |
|
| 270 |
#. type: tbl table |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
#, no-wrap |
| 274 |
msgid "Value" |
| 275 |
msgstr "Valoare" |
| 276 |
|
| 277 |
#. type: tbl table |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
#, no-wrap |
| 281 |
msgid ".na\n" |
| 282 |
msgstr ".na\n" |
| 283 |
|
| 284 |
#. type: tbl table |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, no-wrap |
| 288 |
msgid ".nh\n" |
| 289 |
msgstr ".nh\n" |
| 290 |
|
| 291 |
#. type: tbl table |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
#, no-wrap |
| 295 |
msgid "B<system>()" |
| 296 |
msgstr "B<system>()" |
| 297 |
|
| 298 |
#. type: tbl table |
| 299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 301 |
#, no-wrap |
| 302 |
msgid "Thread safety" |
| 303 |
msgstr "Siguranța firelor" |
| 304 |
|
| 305 |
#. type: tbl table |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
#, no-wrap |
| 309 |
msgid "MT-Safe" |
| 310 |
msgstr "MT-Safe" |
| 311 |
|
| 312 |
#. type: SH |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "STANDARDS" |
| 317 |
msgstr "STANDARDE" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "C11, POSIX.1-2008." |
| 323 |
msgstr "C11, POSIX.1-2008." |
| 324 |
|
| 325 |
#. type: SH |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "HISTORY" |
| 330 |
msgstr "ISTORIC" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "POSIX.1-2001, C89." |
| 336 |
msgstr "POSIX.1-2001, C89." |
| 337 |
|
| 338 |
#. type: SH |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "NOTES" |
| 343 |
msgstr "NOTE" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "" |
| 349 |
"B<system>() provides simplicity and convenience: it handles all of the " |
| 350 |
"details of calling B<fork>(2), B<execl>(3), and B<waitpid>(2), as well as " |
| 351 |
"the necessary manipulations of signals; in addition, the shell performs the " |
| 352 |
"usual substitutions and I/O redirections for I<command>. The main cost of " |
| 353 |
"B<system>() is inefficiency: additional system calls are required to create " |
| 354 |
"the process that runs the shell and to execute the shell." |
| 355 |
msgstr "" |
| 356 |
"B<system>() oferă simplitate și confort: se ocupă de toate detaliile " |
| 357 |
"apelurilor B<fork>(2), B<execl>(3) și B<waitpid>(2), precum și de " |
| 358 |
"manipulările necesare ale semnalelor; în plus, shell-ul efectuează " |
| 359 |
"substituțiile obișnuite și redirecționările de In/Ieș pentru I<comandă>. " |
| 360 |
"Principalul cost al B<system>() este ineficiența: sunt necesare apeluri de " |
| 361 |
"sistem suplimentare pentru a crea procesul care rulează shell-ul și pentru a " |
| 362 |
"executa shell-ul." |
| 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 "" |
| 368 |
"If the B<_XOPEN_SOURCE> feature test macro is defined (before including " |
| 369 |
"I<any> header files), then the macros described in B<waitpid>(2) " |
| 370 |
"(B<WEXITSTATUS>(), etc.) are made available when including " |
| 371 |
"I<E<lt>stdlib.hE<gt>>." |
| 372 |
msgstr "" |
| 373 |
"Dacă macrocomanda de testare a caracteristicii B<_XOPEN_SOURCE> este " |
| 374 |
"definită (înainte de includerea fișierelor de antet I<any>), atunci " |
| 375 |
"macrocomenzile descrise în B<waitpid>(2) (B<WEXITSTATUS>(), etc.) sunt " |
| 376 |
"disponibile atunci când se include I<E<lt>stdlib.hE<gt>>." |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "" |
| 382 |
"As mentioned, B<system>() ignores B<SIGINT> and B<SIGQUIT>. This may make " |
| 383 |
"programs that call it from a loop uninterruptible, unless they take care " |
| 384 |
"themselves to check the exit status of the child. For example:" |
| 385 |
msgstr "" |
| 386 |
"După cum s-a menționat, B<system>() ignoră B<SIGINT> și B<SIGQUIT>. Acest " |
| 387 |
"lucru poate face ca programele care îl apelează dintr-o buclă să nu poată fi " |
| 388 |
"întrerupte, cu excepția cazului în care au ele însele grijă să verifice " |
| 389 |
"starea de ieșire a copilului. De exemplu:" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
#, no-wrap |
| 395 |
msgid "" |
| 396 |
"while (something) {\n" |
| 397 |
" int ret = system(\"foo\");\n" |
| 398 |
"\\&\n" |
| 399 |
" if (WIFSIGNALED(ret) &&\n" |
| 400 |
" (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n" |
| 401 |
" break;\n" |
| 402 |
"}\n" |
| 403 |
msgstr "" |
| 404 |
"while (ceva-orice) {\n" |
| 405 |
" int ret = system(\"foo\");\n" |
| 406 |
"\\&\n" |
| 407 |
" if (WIFSIGNALED(ret) &&\n" |
| 408 |
" (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n" |
| 409 |
" break;\n" |
| 410 |
"}\n" |
| 411 |
|
| 412 |
#. type: Plain text |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
msgid "" |
| 416 |
"According to POSIX.1, it is unspecified whether handlers registered using " |
| 417 |
"B<pthread_atfork>(3) are called during the execution of B<system>(). In " |
| 418 |
"the glibc implementation, such handlers are not called." |
| 419 |
msgstr "" |
| 420 |
"În conformitate cu POSIX.1, nu este specificat dacă gestionarii înregistrați " |
| 421 |
"folosind B<pthread_atfork>(3) sunt apelați în timpul executării B<system>(). " |
| 422 |
"În implementarea glibc, astfel de gestionari nu sunt apelați." |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
msgid "" |
| 428 |
"Before glibc 2.1.3, the check for the availability of I</bin/sh> was not " |
| 429 |
"actually performed if I<command> was NULL; instead it was always assumed to " |
| 430 |
"be available, and B<system>() always returned 1 in this case. Since glibc " |
| 431 |
"2.1.3, this check is performed because, even though POSIX.1-2001 requires a " |
| 432 |
"conforming implementation to provide a shell, that shell may not be " |
| 433 |
"available or executable if the calling program has previously called " |
| 434 |
"B<chroot>(2) (which is not specified by POSIX.1-2001)." |
| 435 |
msgstr "" |
| 436 |
"Înainte de glibc 2.1.3, verificarea disponibilității I</bin/sh> nu era " |
| 437 |
"efectuată dacă I<comandă> era NULL; în schimb, se presupunea întotdeauna că " |
| 438 |
"este disponibil, iar B<system>() returna întotdeauna 1 în acest caz. " |
| 439 |
"Începând cu glibc 2.1.3, această verificare este efectuată deoarece, chiar " |
| 440 |
"dacă POSIX.1-2001 cere ca o implementare conformă să furnizeze un shell, " |
| 441 |
"acel shell poate să nu fie disponibil sau executabil dacă programul apelant " |
| 442 |
"a apelat anterior B<chroot>(2) (care nu este specificat de POSIX.1-2001)." |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
msgid "" |
| 448 |
"It is possible for the shell command to terminate with a status of 127, " |
| 449 |
"which yields a B<system>() return value that is indistinguishable from the " |
| 450 |
"case where a shell could not be executed in the child process." |
| 451 |
msgstr "" |
| 452 |
"Este posibil ca comanda shell să se încheie cu o stare de 127, ceea ce " |
| 453 |
"produce o valoare de returnare B<system>() care nu poate fi distinsă de " |
| 454 |
"cazul în care un shell nu a putut fi executat în procesul-copil." |
| 455 |
|
| 456 |
#. type: SS |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, no-wrap |
| 460 |
msgid "Caveats" |
| 461 |
msgstr "Avertismente" |
| 462 |
|
| 463 |
#. type: Plain text |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
msgid "" |
| 467 |
"Do not use B<system>() from a privileged program (a set-user-ID or set-" |
| 468 |
"group-ID program, or a program with capabilities) because strange values " |
| 469 |
"for some environment variables might be used to subvert system integrity. " |
| 470 |
"For example, B<PATH> could be manipulated so that an arbitrary program is " |
| 471 |
"executed with privilege. Use the B<exec>(3) family of functions instead, " |
| 472 |
"but not B<execlp>(3) or B<execvp>(3) (which also use the B<PATH> " |
| 473 |
"environment variable to search for an executable)." |
| 474 |
msgstr "" |
| 475 |
"Nu utilizați B<system>() dintr-un program privilegiat (un program set-user-" |
| 476 |
"ID sau set-group-ID, sau un program cu capacități) deoarece valorile ciudate " |
| 477 |
"pentru unele variabile de mediu ar putea fi utilizate pentru a submina " |
| 478 |
"integritatea sistemului. De exemplu, B<PATH> ar putea fi manipulată astfel " |
| 479 |
"încât un program arbitrar să fie executat cu privilegii. Utilizați în schimb " |
| 480 |
"familia de funcții B<exec>(3), dar nu B<execlp>(3) sau B<execvp>(3) (care " |
| 481 |
"utilizează de asemenea variabila de mediu B<PATH> pentru a căuta un " |
| 482 |
"executabil)." |
| 483 |
|
| 484 |
#. type: Plain text |
| 485 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 486 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 487 |
msgid "" |
| 488 |
"B<system>() will not, in fact, work properly from programs with set-user-ID " |
| 489 |
"or set-group-ID privileges on systems on which I</bin/sh> is bash version 2: " |
| 490 |
"as a security measure, bash 2 drops privileges on startup. (Debian uses a " |
| 491 |
"different shell, B<dash>(1), which does not do this when invoked as B<sh>.)" |
| 492 |
msgstr "" |
| 493 |
"B<system>(), de fapt, nu va funcționa corect din programe cu privilegii set-" |
| 494 |
"user-ID sau set-group-ID pe sisteme pe care I</bin/sh> este bash versiunea " |
| 495 |
"2: ca măsură de securitate, bash 2 renunță la privilegii la pornire; (Debian " |
| 496 |
"utilizează un shell diferit, B<dash>(1), care nu face acest lucru atunci " |
| 497 |
"când este invocat ca B<sh>)." |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
msgid "" |
| 503 |
"Any user input that is employed as part of I<command> should be I<carefully> " |
| 504 |
"sanitized, to ensure that unexpected shell commands or command options are " |
| 505 |
"not executed. Such risks are especially grave when using B<system>() from " |
| 506 |
"a privileged program." |
| 507 |
msgstr "" |
| 508 |
"Orice intrare a utilizatorului care este utilizată ca parte a comenzii " |
| 509 |
"I<comandă> ar trebui să fie I<cu atenție> igienizată, pentru a se asigura că " |
| 510 |
"nu sunt executate comenzi de shell sau opțiuni de comandă neașteptate. " |
| 511 |
"Astfel de riscuri sunt deosebit de grave atunci când se utilizează " |
| 512 |
"B<system>() dintr-un program privilegiat." |
| 513 |
|
| 514 |
#. type: SH |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
#, no-wrap |
| 518 |
msgid "BUGS" |
| 519 |
msgstr "ERORI" |
| 520 |
|
| 521 |
#. [BUG 211029](https://bugzilla.kernel.org/show_bug.cgi?id=211029) |
| 522 |
#. [glibc bug](https://sourceware.org/bugzilla/show_bug.cgi?id=27143) |
| 523 |
#. [POSIX bug](https://www.austingroupbugs.net/view.php?id=1440) |
| 524 |
#. type: Plain text |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
msgid "" |
| 528 |
"If the command name starts with a hyphen, B<sh>(1) interprets the command " |
| 529 |
"name as an option, and the behavior is undefined. (See the B<-c> option to " |
| 530 |
"B<sh>(1).) To work around this problem, prepend the command with a space as " |
| 531 |
"in the following call:" |
| 532 |
msgstr "" |
| 533 |
"Dacă numele comenzii începe cu o cratimă, B<sh>(1) interpretează numele " |
| 534 |
"comenzii ca o opțiune, iar comportamentul este nedefinit; (consultați " |
| 535 |
"opțiunea B<-c> pentru B<sh>(1)). Pentru a rezolva această problemă, " |
| 536 |
"precedați comanda cu un spațiu, ca în următorul apel:" |
| 537 |
|
| 538 |
#. type: Plain text |
| 539 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 540 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
#, no-wrap |
| 542 |
msgid " system(\" -unfortunate-command-name\");\n" |
| 543 |
msgstr " system(\" -unfortunate-command-name\");\n" |
| 544 |
|
| 545 |
#. type: SH |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
#, no-wrap |
| 549 |
msgid "SEE ALSO" |
| 550 |
msgstr "CONSULTAȚI ȘI" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 554 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 555 |
msgid "" |
| 556 |
"B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), " |
| 557 |
"B<wait>(2), B<exec>(3), B<signal>(7)" |
| 558 |
msgstr "" |
| 559 |
"B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), " |
| 560 |
"B<wait>(2), B<exec>(3), B<signal>(7)" |
| 561 |
|
| 562 |
#. type: TH |
| 563 |
#: debian-trixie |
| 564 |
#, no-wrap |
| 565 |
msgid "2024-05-02" |
| 566 |
msgstr "2 mai 2024" |
| 567 |
|
| 568 |
#. type: TH |
| 569 |
#: debian-trixie |
| 570 |
#, no-wrap |
| 571 |
msgid "Linux man-pages 6.9.1" |
| 572 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: debian-trixie |
| 576 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 577 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 578 |
|
| 579 |
#. type: TH |
| 580 |
#: fedora-44 fedora-rawhide |
| 581 |
#, no-wrap |
| 582 |
msgid "2024-07-23" |
| 583 |
msgstr "23 iulie 2024" |
| 584 |
|
| 585 |
#. type: TH |
| 586 |
#: fedora-44 fedora-rawhide |
| 587 |
#, no-wrap |
| 588 |
msgid "Linux man-pages 6.13" |
| 589 |
msgstr "Pagini de manual de Linux 6.13" |
| 590 |
|
| 591 |
#. type: TH |
| 592 |
#: mageia-cauldron |
| 593 |
#, no-wrap |
| 594 |
msgid "Linux man-pages 6.17" |
| 595 |
msgstr "Pagini de manual de Linux 6.17" |
| 596 |
|
| 597 |
#. type: TH |
| 598 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 599 |
#, no-wrap |
| 600 |
msgid "Linux man-pages (unreleased)" |
| 601 |
msgstr "Pagini de manual Linux (nepublicate)" |