mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
ima: Define new template fields xattrnames, xattrlengths and xattrvalues
This patch defines the new template fields xattrnames, xattrlengths and xattrvalues, which contain respectively a list of xattr names (strings, separated by |), lengths (u32, hex) and values (hex). If an xattr is not present, the name and length are not displayed in the measurement list. Reported-by: kernel test robot <lkp@intel.com> (Missing prototype def) Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
committed by
Mimi Zohar
parent
8c7a703ec9
commit
8314b6732a
@@ -78,6 +78,10 @@ descriptors by adding their identifier to the format string
|
||||
- 'iuid': the inode UID;
|
||||
- 'igid': the inode GID;
|
||||
- 'imode': the inode mode;
|
||||
- 'xattrnames': a list of xattr names (separated by |), only if the xattr is
|
||||
present;
|
||||
- 'xattrlengths': a list of xattr lengths (u32), only if the xattr is present;
|
||||
- 'xattrvalues': a list of xattr values;
|
||||
|
||||
|
||||
Below, there is the list of defined template descriptors:
|
||||
|
Reference in New Issue
Block a user