HomeFreeBSD

Fix linuxulator prlimit64(2) with pid == 0. This makes 'ulimit -a'

Description

Fix linuxulator prlimit64(2) with pid == 0. This makes 'ulimit -a'
return something reasonable, and helps linux binaries which attempt
to close all the files, eg apt(8).

Reviewed by: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20692

Details

Provenance
traszAuthored on
Reviewer
emaste
Differential Revision
D20692: Fix prlimit64(2) with pid == 0
Parents
rS349745: Move an assignment, drop a label, and change gotos to break statements
Branches
Unknown
Tags
Unknown