aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/semctl.c
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-08-16 17:39:47 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-08-16 17:39:59 +0000
commitb81fd3fc8b20eaad64b5c41826432124fd92d6a7 (patch)
treea89c88acbb9a5d44476318579e246ece4b97392a /lib/libc/gen/semctl.c
parent20f0996700a8e60780931e7fde65899040465f4e (diff)
jail: fix backfilling the "name" for jid-named jailsHEADmain
Using the cfparam variant of add_param() will actually copy the name and flags from the passed-in param, which I hadn't considered. We actually want the name/flags from the "name" param so that we can do variable expansion against it right after that -- otherwise it cannot be found, since variable expansion actually searches by name. While we're here, `jls -e` was the intermediate name for `jls -c` that never saw the light of the day. Fix our existence test. Reviewed by: jamie Fixes: 02944d8c49 ("jail: consistently populate the KP_JID [...]") Differential Revision: https://reviews.freebsd.org/D51831
Diffstat (limited to 'lib/libc/gen/semctl.c')
0 files changed, 0 insertions, 0 deletions