Page MenuHomeFreeBSD

Fix prlimit(1)
ClosedPublic

Authored by trasz on Oct 14 2020, 1:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 22 2023, 11:17 PM
Unknown Object (File)
Nov 26 2023, 6:47 AM
Unknown Object (File)
Nov 21 2023, 9:38 PM
Unknown Object (File)
Nov 21 2023, 6:29 PM
Unknown Object (File)
Nov 14 2023, 8:12 AM
Unknown Object (File)
Nov 14 2023, 4:42 AM
Unknown Object (File)
Nov 13 2023, 4:55 PM
Unknown Object (File)
Nov 12 2023, 8:38 AM
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