]> git.baikalelectronics.ru Git - kernel.git/commit
ima: Rename internal filter rule functions
authorTyler Hicks <tyhicks@linux.microsoft.com>
Fri, 10 Jul 2020 20:37:50 +0000 (15:37 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:01 +0000 (11:41 +0100)
commit863000664b2ca841122b17e0e6ecfc910a9b7475
tree07e1442d8b618eeefa92f6bbc591a021f0348141
parent9cdcfb9913e3a02e3a32c88c5b52f0b1906f730b
ima: Rename internal filter rule functions

[ Upstream commit 7cd4b792069869b8a129dd9a43b474f551bb6d1e ]

Rename IMA's internal filter rule functions from security_filter_rule_*()
to ima_filter_rule_*(). This avoids polluting the security_* namespace,
which is typically reserved for general security subsystem
infrastructure.

Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Suggested-by: Casey Schaufler <casey@schaufler-ca.com>
[zohar@linux.ibm.com: reword using the term "filter", not "audit"]
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Stable-dep-of: c7423dbdbc9e ("ima: Handle -ESTALE returned by ima_filter_rule_match()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
security/integrity/ima/ima.h
security/integrity/ima/ima_policy.c