mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
audit: remove path param from link denied function
In commit 45b578fe4c
("audit: link denied should not directly generate PATH record")
the need for the struct path *link parameter was removed.
Remove the now useless struct path argument.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
45b578fe4c
commit
94b9d9b7a1
3 changed files with 5 additions and 8 deletions
|
@ -2308,9 +2308,8 @@ EXPORT_SYMBOL(audit_log_task_info);
|
|||
/**
|
||||
* audit_log_link_denied - report a link restriction denial
|
||||
* @operation: specific link operation
|
||||
* @link: the path that triggered the restriction
|
||||
*/
|
||||
void audit_log_link_denied(const char *operation, const struct path *link)
|
||||
void audit_log_link_denied(const char *operation)
|
||||
{
|
||||
struct audit_buffer *ab;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue