diff options
author | Kai Kang <kai.kang@windriver.com> | 2017-09-05 16:54:42 +0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2017-09-08 13:20:27 -0500 |
commit | beaaa37217546c99a3960e4855d8b914f4377b97 (patch) | |
tree | a8969332f3befe0659120f3148615fc29d8cbb65 /recipes-security/selinux/selinux-python | |
parent | 2aadc0d5fbd91606493463a12307579f660b6918 (diff) | |
download | meta-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