From aef02ee5b43ebaae133f5d0512e4da0575085325 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 25 Feb 2018 10:56:24 +0000 Subject: use hardened profile when switching modes --- src/backend/f_modeswitch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh index 323afba..4f6c271 100644 --- a/src/backend/f_modeswitch.sh +++ b/src/backend/f_modeswitch.sh @@ -101,7 +101,7 @@ injectportfulltree () { setbinmodecfg () { ln -sf "$jailportcfgsource" "$jailportcfgtarget" ln -sf "$jailportcfgtarget"/make.conf.amd64-binmode "$jailportcfgtarget"/make.conf - eselect profile set redcore:default/linux/amd64/13.0 + eselect profile set default/linux/amd64/17.0/hardened env-update . /etc/profile } @@ -115,7 +115,7 @@ binmode () { setmixedmodecfg () { ln -sf "$jailportcfgsource" "$jailportcfgtarget" ln -sf "$jailportcfgtarget"/make.conf.amd64-mixedmode "$jailportcfgtarget"/make.conf - eselect profile set redcore:default/linux/amd64/13.0 + eselect profile set default/linux/amd64/17.0/hardened env-update . /etc/profile } @@ -129,7 +129,7 @@ mixedmode () { setsrcmodecfg () { ln -sf "$jailportcfgsource" "$jailportcfgtarget" ln -sf "$jailportcfgtarget"/make.conf.amd64-srcmode "$jailportcfgtarget"/make.conf - eselect profile set redcore:default/linux/amd64/13.0 + eselect profile set default/linux/amd64/17.0/hardened env-update . /etc/profile } -- cgit v1.2.3