summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@huawei.com>2023-07-26 09:39:05 +0200
committerPaul Moore <paul@paul-moore.com>2023-07-26 17:07:39 -0400
commitfaf302f5a2132960670d085cd44abc30fd60a98d (patch)
treeabadb59a43594b6396f94348a0b6c60a8bbc8b15 /tools/perf/scripts/python/export-to-sqlite.py
parentca22eca6e2ad7eaed1c791628ef7cb4c739e3da6 (diff)
security: Fix ret values doc for security_inode_init_security()
Commit 6bcdfd2cac55 ("security: Allow all LSMs to provide xattrs for inode_init_security hook") unified the !initxattrs and initxattrs cases. By doing that, security_inode_init_security() cannot return -EOPNOTSUPP anymore, as it is always replaced with zero at the end of the function. Also, mentioning -ENOMEM as the only possible error is not correct. For example, evm_inode_init_security() could return -ENOKEY. Fix these issues in the documentation of security_inode_init_security(). Fixes: 6bcdfd2cac55 ("security: Allow all LSMs to provide xattrs for inode_init_security hook") Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions