Commit 3a3d8fc
smack: Retrieve transmuting information in smack_inode_getsecurity()
Enhance smack_inode_getsecurity() to retrieve the value for
SMACK64TRANSMUTE from the inode security blob, similarly to SMACK64.
This helps to display accurate values in the situation where the security
labels come from mount options and not from xattrs.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>1 parent ac9a786 commit 3a3d8fc
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1463 | 1463 | | |
1464 | 1464 | | |
1465 | 1465 | | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
1466 | 1469 | | |
1467 | | - | |
| 1470 | + | |
1468 | 1471 | | |
1469 | | - | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
1470 | 1479 | | |
1471 | 1480 | | |
1472 | 1481 | | |
| |||
1488 | 1497 | | |
1489 | 1498 | | |
1490 | 1499 | | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
1491 | 1505 | | |
1492 | | - | |
| 1506 | + | |
1493 | 1507 | | |
1494 | 1508 | | |
1495 | 1509 | | |
1496 | 1510 | | |
1497 | | - | |
| 1511 | + | |
1498 | 1512 | | |
1499 | 1513 | | |
1500 | 1514 | | |
| |||
0 commit comments