]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add read only sysctl variable user.localbase
authorStefan Eßer <se@FreeBSD.org>
Fri, 30 Oct 2020 18:48:09 +0000 (18:48 +0000)
committerStefan Eßer <se@FreeBSD.org>
Fri, 30 Oct 2020 18:48:09 +0000 (18:48 +0000)
commit147eea393fdafa921e49bdb8cccfede3ba04547a
tree1cec88df2744ec8c9244223ae428272c3c739bee
parente0f9cec7d6e1debaf5f164453fcb79a5835d97d9
Add read only sysctl variable user.localbase

The value is provided by the C library as for other sysctl variables in
the user tree. It is compiled in and returns the value of _PATH_LOCALBASE
defined in paths.h.

Reviewed by: imp, scottl
Differential Revision: https://reviews.freebsd.org/D27009
lib/libc/gen/sysctl.c
sys/kern/kern_mib.c
sys/sys/sysctl.h