Page MenuHomeFreeBSD

Fix prlimit(1)
ClosedPublic

Authored by trasz on Oct 14 2020, 1:23 PM.
Tags
None
Referenced Files
F133096085: D26777.id78210.diff
Wed, Oct 22, 10:47 PM
F133096081: D26777.id.diff
Wed, Oct 22, 10:47 PM
F133096076: D26777.id78298.diff
Wed, Oct 22, 10:47 PM
F133060049: D26777.diff
Wed, Oct 22, 2:02 PM
Unknown Object (File)
Mon, Oct 20, 4:59 AM
Unknown Object (File)
Sat, Oct 18, 8:06 AM
Unknown Object (File)
Sat, Oct 18, 1:59 AM
Unknown Object (File)
Fri, Oct 17, 11:55 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 Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #78210)

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

sys/compat/linux/linux_misc.c
1377 ↗(On Diff #78210)

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