]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make linux getrlimit(2) and prlimit(2) return something reasonable
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 16 Oct 2020 10:10:09 +0000 (10:10 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 16 Oct 2020 10:10:09 +0000 (10:10 +0000)
commit139c09788bab89163a0378b753bc02f744b7ae10
treed13e0c1cd87d3405254c04750d40af2c7a49173f
parentce764cbd1c725c54966315949fe93eb3994c1b5e
Make linux getrlimit(2) and prlimit(2) return something reasonable
for linux-specific limits.  Fixes prlimit (util-linux-2.31.1-0.4ubuntu3.7).

Reviewed by: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26777
sys/compat/linux/linux_misc.c
sys/compat/linux/linux_misc.h