aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-01-27 07:36:47 -0500
committerJohn Johansen <john.johansen@canonical.com>2018-02-09 14:30:01 -0500
commite1a03f627b5254fa1ee83bd0761490f31ea2e382 (patch)
tree5164e524ad96cc68ace03a161a5e06620bba46e5
parentf175221af35bedf99b201d861a0fe54e19ef36c2 (diff)
apparmor: cleanup fixup description of aa_replace_profiles
Signed-off-by: John Johansen <john.johansen@canonical.com>
-rw-r--r--security/apparmor/policy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
index c505d517fa3c..a158af1f1b38 100644
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -845,8 +845,9 @@ static struct aa_profile *update_to_newest_parent(struct aa_profile *new)
845 * @udata: serialized data stream (NOT NULL) 845 * @udata: serialized data stream (NOT NULL)
846 * 846 *
847 * unpack and replace a profile on the profile list and uses of that profile 847 * unpack and replace a profile on the profile list and uses of that profile
848 * by any aa_cred_ctx. If the profile does not exist on the profile list 848 * by any task creds via invalidating the old version of the profile, which
849 * it is added. 849 * tasks will notice to update their own cred. If the profile does not exist
850 * on the profile list it is added.
850 * 851 *
851 * Returns: size of data consumed else error code on failure. 852 * Returns: size of data consumed else error code on failure.
852 */ 853 */