Kaynağa Gözat

apparmor: cleanup fixup description of aa_replace_profiles

Signed-off-by: John Johansen <john.johansen@canonical.com>
John Johansen 8 yıl önce
ebeveyn
işleme
e1a03f627b
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      security/apparmor/policy.c

+ 3 - 2
security/apparmor/policy.c

@@ -845,8 +845,9 @@ static struct aa_profile *update_to_newest_parent(struct aa_profile *new)
  * @udata: serialized data stream  (NOT NULL)
  * @udata: serialized data stream  (NOT NULL)
  *
  *
  * unpack and replace a profile on the profile list and uses of that profile
  * unpack and replace a profile on the profile list and uses of that profile
- * by any aa_cred_ctx.  If the profile does not exist on the profile list
- * it is added.
+ * by any task creds via invalidating the old version of the profile, which
+ * tasks will notice to update their own cred.  If the profile does not exist
+ * on the profile list it is added.
  *
  *
  * Returns: size of data consumed else error code on failure.
  * Returns: size of data consumed else error code on failure.
  */
  */