Home
last modified time | relevance | path

Searched hist:"067498 ed56f6bcf15757a598db45ef374f6b946a" (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libjail/
H A Djail_getid.cdiff 067498ed56f6bcf15757a598db45ef374f6b946a Sun Jun 02 16:03:56 CEST 2019 Kyle Evans <kevans@FreeBSD.org> jail_getid(3): add special-case immediate return for jid 0

As depicted in the comment: jid 0 always exists, but the lookup will fail as
it does not appear in the kernel's alljails list being a special jail. Some
callers will expect/rely on this, and we have no reason to lie because it
does always exist.

Reported by: Stefan Hegnauer <stefan.hegnauer gmx ch>
MFC after: soon (regression, breaks inspecting jail host bits, partial
revert)