Page MenuHomeFreeBSD

Fix prlimit(1)
ClosedPublic

Authored by trasz on Oct 14 2020, 1:23 PM.
Tags
None
Referenced Files
F142760045: D26777.id78210.diff
Fri, Jan 23, 6:21 AM
Unknown Object (File)
Tue, Dec 30, 6:45 PM
Unknown Object (File)
Mon, Dec 29, 6:29 AM
Unknown Object (File)
Dec 24 2025, 5:15 PM
Unknown Object (File)
Dec 18 2025, 3:56 PM
Unknown Object (File)
Nov 20 2025, 8:58 PM
Unknown Object (File)
Nov 20 2025, 8:52 PM
Unknown Object (File)
Nov 20 2025, 8:52 PM
Subscribers

Details

Summary

Make linux getrlimit(2) and prlimit(2) return something reasonable
for linux-specific limits. Fixes prlimit(1).

Fix prlimit(1)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34156
Build 31312: arc lint + arc unit

Event Timeline

trasz requested review of this revision.Oct 14 2020, 1:23 PM
emaste added inline comments.
sys/compat/linux/linux_misc.c
1377

is there a reason this doesn't take a struct l_rlimit *?

sys/compat/linux/linux_misc.c
1377

Yes - one of those operates on struct linux_rlimit64 instead.

This revision is now accepted and ready to land.Oct 15 2020, 3:38 PM