meta-selinux/recipes-devtools/python/python_2.7.2.bbappend
Xin Ouyang 8d481d76a9 python: disable exit handler to rw history file
oe-core adds a exit handler to rw python command history file
(~/.python-history). There are no allow rules for every user&role
to use create/read/write ~/.python-history, and it is also
improper to add rules because these rules would blow up the
user&role's scope of authority.

So disable the handler, if selinux enabled.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-01-18 14:50:36 +08:00

6 lines
166 B
Plaintext

PR .= ".1"
inherit selinux
# If selinux enabled, disable handlers to rw command history file
FILESEXTRAPATHS_prepend := "${@target_selinux(d, '${THISDIR}/${PN}:')}"