apparmor: mark new functions static
[sfrench/cifs-2.6.git] / security / apparmor / lsm.c
index b047d1d355a971e6ce8b8fd028d7ef833a47cf5d..4d34180e97995f2e6e6279dfec1838361b68be58 100644 (file)
@@ -655,7 +655,7 @@ static int profile_uring(struct aa_profile *profile, u32 request,
  * Check to see if the current task is allowed to override it's credentials
  * to service an io_uring operation.
  */
-int apparmor_uring_override_creds(const struct cred *new)
+static int apparmor_uring_override_creds(const struct cred *new)
 {
        struct aa_profile *profile;
        struct aa_label *label;
@@ -679,7 +679,7 @@ int apparmor_uring_override_creds(const struct cred *new)
  * Check to see if the current task is allowed to create a new io_uring
  * kernel polling thread.
  */
-int apparmor_uring_sqpoll(void)
+static int apparmor_uring_sqpoll(void)
 {
        struct aa_profile *profile;
        struct aa_label *label;