Commit 243fea1
NFSv4.2: fix listxattr to return selinux security label
Currently, when NFS is queried for all the labels present on the
file via a command example "getfattr -d -m . /mnt/testfile", it
does not return the security label. Yet when asked specifically for
the label (getfattr -n security.selinux) it will be returned.
Include the security label when all attributes are queried.
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>1 parent aba41e9 commit 243fea1
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10858 | 10858 | | |
10859 | 10859 | | |
10860 | 10860 | | |
10861 | | - | |
| 10861 | + | |
10862 | 10862 | | |
10863 | 10863 | | |
10864 | 10864 | | |
| |||
10881 | 10881 | | |
10882 | 10882 | | |
10883 | 10883 | | |
| 10884 | + | |
| 10885 | + | |
| 10886 | + | |
| 10887 | + | |
| 10888 | + | |
| 10889 | + | |
| 10890 | + | |
| 10891 | + | |
10884 | 10892 | | |
10885 | | - | |
| 10893 | + | |
10886 | 10894 | | |
10887 | 10895 | | |
10888 | 10896 | | |
| |||
0 commit comments