| ... | ... | @@ -2515,9 +2515,9 @@ pub fn readlinkatZ(dirfd: fd_t, file_path: [*:0]const u8, out_buffer: []u8) Read |
| 2515 | 2515 | pub const SetEidError = error{ |
| 2516 | 2516 | InvalidUserId, |
| 2517 | 2517 | PermissionDenied, |
| 2518 | | }; |
| 2518 | } || UnexpectedError; |
| 2519 | 2519 | |
| 2520 | | pub const SetIdError = error{ResourceLimitReached} || SetEidError || UnexpectedError; |
| 2520 | pub const SetIdError = error{ResourceLimitReached} || SetEidError; |
| 2521 | 2521 | |
| 2522 | 2522 | pub fn setuid(uid: uid_t) SetIdError!void { |
| 2523 | 2523 | switch (errno(system.setuid(uid))) { |