mirror of
https://github.com/opnsense/src.git
synced 2026-06-07 07:42:26 -04:00
This allows the parent jail to retrieve or set kernel state when child does not have sysctl(8) installed (e.g. light weighted OCI containers or slim jails). This is especially useful when manipulating jail prison or vnet sysctls. For example, `sysctl -j foo -Ja` or `sysctl -j foo net.fibs=2`. Reviewed by: dfr (previous version), markj MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D48618
17 lines
240 B
Makefile
17 lines
240 B
Makefile
.include <src.opts.mk>
|
|
|
|
PACKAGE=runtime
|
|
CONFS= sysctl.conf
|
|
PROG= sysctl
|
|
WARNS?= 3
|
|
MAN= sysctl.8
|
|
|
|
.if ${MK_JAIL} != "no" && !defined(RESCUE)
|
|
CFLAGS+= -DJAIL
|
|
LIBADD+= jail
|
|
.endif
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|