audit: Reorganize kerneldoc parameter names

JIRA: https://issues.redhat.com/browse/RHEL-78967

This patch is a backport of the following upstream commit:
commit 2132b355267f328a56da96f2f8868cc95406a562
Author: Julia Lawall <Julia.Lawall@inria.fr>
Date:   Mon Sep 30 13:21:16 2024 +0200

    audit: Reorganize kerneldoc parameter names

    Reorganize kerneldoc parameter names to match the parameter
    order in the function header.

    Problems identified using Coccinelle.

    Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
    Signed-off-by: Paul Moore <paul@paul-moore.com>

Signed-off-by: Ricardo Robaina <rrobaina@redhat.com>
This commit is contained in:
Ricardo Robaina 2025-05-21 13:26:50 -03:00
parent fd9465a6b7
commit 2a19dddc1e
1 changed files with 1 additions and 1 deletions

View File

@ -2102,8 +2102,8 @@ bool audit_string_contains_control(const char *string, size_t len)
/**
* audit_log_n_untrustedstring - log a string that may contain random characters
* @ab: audit_buffer
* @len: length of string (not including trailing null)
* @string: string to be logged
* @len: length of string (not including trailing null)
*
* This code will escape a string that is passed to it if the string
* contains a control character, unprintable character, double quote mark,