summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/selinux-python
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-09-05 16:54:42 +0800
committerMark Hatle <mark.hatle@windriver.com>2017-09-08 13:20:27 -0500
commitbeaaa37217546c99a3960e4855d8b914f4377b97 (patch)
treea8969332f3befe0659120f3148615fc29d8cbb65 /recipes-security/selinux/selinux-python
parent2aadc0d5fbd91606493463a12307579f660b6918 (diff)
downloadmeta-selinux-beaaa37217546c99a3960e4855d8b914f4377b97.tar.gz
attr: fix ptest failures when selinux enabled
When selinux is enabled, a file has a default attribute "security.selinux" and the output of getfattr shows: # file: here security.selinux="system_u:object_r:lib_t:s0" That always causes more output of command getfattr than expected. Filter out selinux related attribute info, and if the file has only selinux attribute info, remove its whole output. Signed-off-by: Kai Kang <kai.kang@windriver.com>
Diffstat (limited to 'recipes-security/selinux/selinux-python')
0 files changed, 0 insertions, 0 deletions