Kyle Evans 067498ed56 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)
2019-06-02 14:03:56 +00:00
..
2019-05-20 18:07:45 +00:00
2019-02-26 05:59:22 +00:00
2019-04-02 12:50:01 +00:00
2019-05-29 02:08:23 +00:00
2019-04-22 18:38:54 +00:00
2019-05-13 17:53:03 +00:00
2018-03-29 19:43:29 +00:00
2019-01-10 14:35:23 +00:00
2019-05-30 19:18:01 +00:00
2018-11-04 16:08:59 +00:00
2019-02-25 18:22:20 +00:00
2018-03-21 14:37:04 +00:00
2018-10-12 05:27:58 +00:00
2018-06-27 19:29:15 +00:00
2018-09-19 07:05:31 +00:00
2019-04-15 03:32:01 +00:00
2018-09-20 09:26:10 +00:00
2019-04-14 00:06:49 +00:00
2018-09-19 07:06:20 +00:00
2018-09-20 09:31:27 +00:00
2019-03-05 14:47:15 +00:00
2018-09-22 13:17:30 +00:00
2019-05-06 20:20:21 +00:00
2018-06-17 18:05:27 +00:00
2018-12-29 21:18:01 +00:00
2019-04-22 18:38:54 +00:00