aboutsummaryrefslogtreecommitdiffstats
path: root/security/apparmor/lib.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-05-22 02:47:22 -0700
committerJohn Johansen <john.johansen@canonical.com>2017-06-08 11:29:33 -0700
commitb91deb9db12851c18ccb55719f1cd55c2400aca1 (patch)
treec1404ab4fea15826717c2cb611ab8b7b9390f267 /security/apparmor/lib.c
parentapparmor: move file context into file.h (diff)
downloadlinux-dev-b91deb9db12851c18ccb55719f1cd55c2400aca1.tar.xz
linux-dev-b91deb9db12851c18ccb55719f1cd55c2400aca1.zip
apparmor: make internal lib fn skipn_spaces available to the rest of apparmor
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/lib.c')
-rw-r--r--security/apparmor/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index 7cd788a9445b..864b2fa45852 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -69,7 +69,7 @@ char *aa_split_fqname(char *fqname, char **ns_name)
* if all whitespace will return NULL
*/
-static const char *skipn_spaces(const char *str, size_t n)
+const char *skipn_spaces(const char *str, size_t n)
{
for (; n && isspace(*str); --n)
++str;