|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo: setrlimit(8): Invalid argument | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Marius Schamschula <mschamschula> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.29 | ||
| Hardware: | Macintosh | ||
| OS: | MacOS X | ||
| Attachments: | Avoid setrlimit warnings on macOS | ||
|
Description
Marius Schamschula
2019-10-29 06:24:53 MDT
Created attachment 533 [details]
Avoid setrlimit warnings on macOS
macOS does not allow rlim_cur to be set to RLIM_INFINITY for RLIMIT_NOFILE.
We need to use OPEN_MAX instead as per the macOS setrlimit manual.
Committed as https://www.sudo.ws/repos/sudo/rev/2a00e62eaeb0 Fixed in sudo 1.8.30 |