Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
A couple of suggestions and fixes. On the content, I've added a question for KERN_PROC_RLIMIT_USAGE.
| lib/libc/gen/sysctl.3 | ||
|---|---|---|
| 385 | ||
| 387 | ||
| 393 | ||
| 394 | ||
| 449 | ||
| 451 | ||
| 458 | ||
| 481 | Sounds a bit strange to me, would rather use this idiom when talking about people, but may be fine here too, a native speaker could confirm. | |
| 496 | (Would capitalize OID, but not sure about other uses in manpages.) | |
| 503 | Is a note needed here about quantities that do not lend themselves to reporting some current value, such as RLIMIT_FSIZE and RLIMIT_CORE, and for which -1 is returned? | |
| 528 | ||
| lib/libsys/getrlimitusage.2 | ||
| 33 ↗ | (On Diff #143825) | |
| 58 ↗ | (On Diff #143825) | |
| 87 ↗ | (On Diff #143825) | |
| lib/libc/gen/sysctl.3 | ||
|---|---|---|
| 503 | Mmm, but the description of ENXIO applies only to getrlimitusage(), whereas here it's the sysctl (sysctl_kern_proc_rlimit_usage()), which doesn't return an error for resources that internally return ENXIO, but instead returns the value -1 for them (and 0 as the overall return value). | |