mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
tomoyo: Add kconfig
V2: Fixed path to init program Fix typo in name Add kernel config to enable tomoyo Signed-off-by: Armin Kuster <akuster@mvista.com>
This commit is contained in:
committed by
Armin Kuster
parent
43ce4b4889
commit
14b15cc276
7
recipes-kernel/linux/linux-yocto/tomoyo.cfg
Normal file
7
recipes-kernel/linux/linux-yocto/tomoyo.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
CONFIG_SECURITY_TOMOYO=y
|
||||
CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048
|
||||
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024
|
||||
CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/ccs-init"
|
||||
CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init"
|
||||
CONFIG_DEFAULT_SECURITY_TOMOYO=y
|
||||
CONFIG_DEFAULT_SECURITY="tomoyo"
|
||||
4
recipes-kernel/linux/linux-yocto/tomoyo.scc
Normal file
4
recipes-kernel/linux/linux-yocto/tomoyo.scc
Normal file
@@ -0,0 +1,4 @@
|
||||
define KFEATURE_DESCRIPTION "Toyomo Kernel Support"
|
||||
define KFEATURE_COMPATIBILITY arch
|
||||
|
||||
kconf non-hardware toyomo.cfg
|
||||
4
recipes-kernel/linux/linux-yocto_3.14.bbappend
Normal file
4
recipes-kernel/linux/linux-yocto_3.14.bbappend
Normal file
@@ -0,0 +1,4 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
# Tomoyo kernel support
|
||||
SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tomoyo', ' file://tomoyo.cfg', '', d)}"
|
||||
Reference in New Issue
Block a user