Enable the Yama LSM, gaining symlink, hardlink, and ptrace restrictions.
BUG=chromium-os:22137
TEST=x86-alex build, boot, suite_Smoke passes, logging_UserCrash passes,
security_SymlinkRestrictions, security_HardlinkRestrictions,
security_ptraceRestriction.
STATUS=Fixed
Change-Id: If55aaff3e6f79a6cc839fca1377d701f2cb0d169
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/12409
Reviewed-by: Olof Johansson <olofj@chromium.org>
# CONFIG_SECURITY_NETWORK_XFRM is not set
CONFIG_SECURITY_PATH=y
# CONFIG_SECURITY_TOMOYO is not set
+CONFIG_SECURITY_YAMA=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set