diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-25 10:56:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-25 10:56:24 +0000 |
commit | aef02ee5b43ebaae133f5d0512e4da0575085325 (patch) | |
tree | d038269ca2431a84e9f70bb9a1c72a5741a84ea8 /src/backend | |
parent | 3d86fb084d33116ad029b088f8c5a740d6e7742c (diff) |
use hardened profile when switching modes
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/f_modeswitch.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |