Talk:Hardened/Grsecurity2 Quickstart

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Missing kernel options

Talk status
This discussion is still ongoing.

During configuration of sys-kernel/hardened-sources-3.11.7-r1 for x64 virtual machine I've noticed that these kernel options don't exist anymore:

CONFIG_GRKERNSEC_AUDIT_IPC
CONFIG_GRKERNSEC_AUDIT_TEXTREL
CONFIG_GRKERNSEC_EXECVE
CONFIG_GRKERNSEC_RANDPID
CONFIG_GRKERNSEC_RANDID
CONFIG_GRKERNSEC_RANDSRC
CONFIG_GRKERNSEC_RANDRPC

Maybe an update to Wiki page needed?

Besides that I've noticed new options, that should be on Wiki page also:

CONFIG_GRKERNSEC_SYSCTL=y
CONFIG_GRKERNSEC_SYSCTL_ON=y

First one enables the ability to change /proc/sys/kernel/grsecurity/*, and the second one enables everything by default without the need to write to /etc/sysctl.conf things like:

kernel.grsecurity.chroot_deny_sysctl = 1
kernel.grsecurity.chroot_caps = 1

Hope this will be helpful. — The preceding unsigned comment was added by Stan31337 (talkcontribs)