apparmor: fix obsoleted comments for aa_getprocattr() and audit_resource()
Update the comments for aa_getprocattr() and audit_resource(), the args of them have beed changed since commit 76a1d263aba3 ("apparmor: switch getprocattr to using label_print fns()"). Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
2f7a29deba
commit
1f2bc06a8d
@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* aa_getprocattr - Return the profile information for @profile
|
* aa_getprocattr - Return the label information for @label
|
||||||
* @profile: the profile to print profile info about (NOT NULL)
|
* @label: the label to print label info about (NOT NULL)
|
||||||
* @string: Returns - string containing the profile info (NOT NULL)
|
* @string: Returns - string containing the label info (NOT NULL)
|
||||||
*
|
*
|
||||||
* Requires: profile != NULL
|
* Requires: label != NULL && string != NULL
|
||||||
*
|
*
|
||||||
* Creates a string containing the namespace_name://profile_name for
|
* Creates a string containing the label information for @label.
|
||||||
* @profile.
|
|
||||||
*
|
*
|
||||||
* Returns: size of string placed in @string else error code on failure
|
* Returns: size of string placed in @string else error code on failure
|
||||||
*/
|
*/
|
||||||
|
@ -45,6 +45,8 @@ static void audit_cb(struct audit_buffer *ab, void *va)
|
|||||||
* @profile: profile being enforced (NOT NULL)
|
* @profile: profile being enforced (NOT NULL)
|
||||||
* @resource: rlimit being auditing
|
* @resource: rlimit being auditing
|
||||||
* @value: value being set
|
* @value: value being set
|
||||||
|
* @peer: aa_albel of the task being set
|
||||||
|
* @info: info being auditing
|
||||||
* @error: error value
|
* @error: error value
|
||||||
*
|
*
|
||||||
* Returns: 0 or sa->error else other error code on failure
|
* Returns: 0 or sa->error else other error code on failure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user