| 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:43+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 "setresuid" |
| 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 "setresuid, setresgid - set real, effective, and saved user or group ID" |
| 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 "" |
| 77 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 78 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<int setresuid(uid_t >I<ruid>B<, uid_t >I<euid>B<, uid_t >I<suid>B<);>\n" |
| 87 |
"B<int setresgid(gid_t >I<rgid>B<, gid_t >I<egid>B<, gid_t >I<sgid>B<);>\n" |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#. type: SH |
| 91 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 92 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 93 |
#, no-wrap |
| 94 |
msgid "DESCRIPTION" |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
msgid "" |
| 101 |
"B<setresuid>() sets the real user ID, the effective user ID, and the saved " |
| 102 |
"set-user-ID of the calling process." |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "" |
| 109 |
"An unprivileged process may change its real UID, effective UID, and saved " |
| 110 |
"set-user-ID, each to one of: the current real UID, the current effective " |
| 111 |
"UID, or the current saved set-user-ID." |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
msgid "" |
| 118 |
"A privileged process (on Linux, one having the B<CAP_SETUID> capability) " |
| 119 |
"may set its real UID, effective UID, and saved set-user-ID to arbitrary " |
| 120 |
"values." |
| 121 |
msgstr "" |
| 122 |
|
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
msgid "" |
| 127 |
"If one of the arguments equals -1, the corresponding value is not changed." |
| 128 |
msgstr "" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
msgid "" |
| 134 |
"Regardless of what changes are made to the real UID, effective UID, and " |
| 135 |
"saved set-user-ID, the filesystem UID is always set to the same value as the " |
| 136 |
"(possibly new) effective UID." |
| 137 |
msgstr "" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"Completely analogously, B<setresgid>() sets the real GID, effective GID, " |
| 144 |
"and saved set-group-ID of the calling process (and always modifies the " |
| 145 |
"filesystem GID to be the same as the effective GID), with the same " |
| 146 |
"restrictions for unprivileged processes." |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: SH |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
#, no-wrap |
| 153 |
msgid "RETURN VALUE" |
| 154 |
msgstr "" |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "" |
| 160 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 161 |
"to indicate the error." |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
msgid "" |
| 168 |
"I<Note>: there are cases where B<setresuid>() can fail even when the caller " |
| 169 |
"is UID 0; it is a grave security error to omit checking for a failure return " |
| 170 |
"from B<setresuid>()." |
| 171 |
msgstr "" |
| 172 |
|
| 173 |
#. type: SH |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "ERRORS" |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: TP |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, no-wrap |
| 184 |
msgid "B<EAGAIN>" |
| 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 |
"The call would change the caller's real UID (i.e., I<ruid> does not match " |
| 192 |
"the caller's real UID), but there was a temporary failure allocating the " |
| 193 |
"necessary kernel data structures." |
| 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 |
"I<ruid> does not match the caller's real UID and this call would bring the " |
| 201 |
"number of processes belonging to the real user ID I<ruid> over the caller's " |
| 202 |
"B<RLIMIT_NPROC> resource limit. Since Linux 3.1, this error case no longer " |
| 203 |
"occurs (but robust applications should check for this error); see the " |
| 204 |
"description of B<EAGAIN> in B<execve>(2)." |
| 205 |
msgstr "" |
| 206 |
|
| 207 |
#. type: TP |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "B<EINVAL>" |
| 212 |
msgstr "" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"One or more of the target user or group IDs is not valid in this user " |
| 219 |
"namespace." |
| 220 |
msgstr "" |
| 221 |
|
| 222 |
#. type: TP |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "B<EPERM>" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "" |
| 233 |
"The calling process is not privileged (did not have the necessary capability " |
| 234 |
"in its user namespace) and tried to change the IDs to values that are not " |
| 235 |
"permitted. For B<setresuid>(), the necessary capability is B<CAP_SETUID>; " |
| 236 |
"for B<setresgid>(), it is B<CAP_SETGID>." |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: SH |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
#, no-wrap |
| 243 |
msgid "VERSIONS" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: SS |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid "C library/kernel differences" |
| 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 |
"At the kernel level, user IDs and group IDs are a per-thread attribute. " |
| 258 |
"However, POSIX requires that all threads in a process share the same " |
| 259 |
"credentials. The NPTL threading implementation handles the POSIX " |
| 260 |
"requirements by providing wrapper functions for the various system calls " |
| 261 |
"that change process UIDs and GIDs. These wrapper functions (including those " |
| 262 |
"for B<setresuid>() and B<setresgid>()) employ a signal-based technique to " |
| 263 |
"ensure that when one thread changes credentials, all of the other threads in " |
| 264 |
"the process also change their credentials. For details, see B<nptl>(7)." |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: SH |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "STANDARDS" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 276 |
#: opensuse-tumbleweed |
| 277 |
msgid "POSIX.1-2024." |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: SH |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "HISTORY" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 289 |
#: opensuse-tumbleweed |
| 290 |
msgid "POSIX.1-2024. Linux 2.1.44, glibc 2.3.2. HP-UX, FreeBSD." |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
msgid "" |
| 297 |
"The original Linux B<setresuid>() and B<setresgid>() system calls " |
| 298 |
"supported only 16-bit user and group IDs. Subsequently, Linux 2.4 added " |
| 299 |
"B<setresuid32>() and B<setresgid32>(), supporting 32-bit IDs. The glibc " |
| 300 |
"B<setresuid>() and B<setresgid>() wrapper functions transparently deal " |
| 301 |
"with the variations across kernel versions." |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: SH |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
#, no-wrap |
| 308 |
msgid "SEE ALSO" |
| 309 |
msgstr "" |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
msgid "" |
| 315 |
"B<getresuid>(2), B<getuid>(2), B<setfsgid>(2), B<setfsuid>(2), " |
| 316 |
"B<setreuid>(2), B<setuid>(2), B<capabilities>(7), B<credentials>(7), " |
| 317 |
"B<user_namespaces>(7)" |
| 318 |
msgstr "" |
| 319 |
|
| 320 |
#. type: TH |
| 321 |
#: debian-trixie |
| 322 |
#, no-wrap |
| 323 |
msgid "2024-05-02" |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: TH |
| 327 |
#: debian-trixie |
| 328 |
#, no-wrap |
| 329 |
msgid "Linux man-pages 6.9.1" |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: debian-trixie |
| 334 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: debian-trixie fedora-44 fedora-rawhide |
| 339 |
msgid "None." |
| 340 |
msgstr "" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: debian-trixie fedora-44 fedora-rawhide |
| 344 |
msgid "Linux 2.1.44, glibc 2.3.2. HP-UX, FreeBSD." |
| 345 |
msgstr "" |
| 346 |
|
| 347 |
#. type: TH |
| 348 |
#: fedora-44 fedora-rawhide |
| 349 |
#, no-wrap |
| 350 |
msgid "2024-07-23" |
| 351 |
msgstr "" |
| 352 |
|
| 353 |
#. type: TH |
| 354 |
#: fedora-44 fedora-rawhide |
| 355 |
#, no-wrap |
| 356 |
msgid "Linux man-pages 6.13" |
| 357 |
msgstr "" |
| 358 |
|
| 359 |
#. type: TH |
| 360 |
#: mageia-cauldron |
| 361 |
#, no-wrap |
| 362 |
msgid "Linux man-pages 6.17" |
| 363 |
msgstr "" |
| 364 |
|
| 365 |
#. type: TH |
| 366 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
#, no-wrap |
| 368 |
msgid "Linux man-pages (unreleased)" |
| 369 |
msgstr "" |