diff --git a/[refs] b/[refs] index 0519507e7c31..bd495f8d1b66 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9d40d2e3955185b69c264583d080eb3defcb05a0 +refs/heads/master: 0444fa78751260b38f0db3418e001bf86593f05f diff --git a/trunk/security/selinux/ss/services.c b/trunk/security/selinux/ss/services.c index f83b19daed16..4bf715d4cf29 100644 --- a/trunk/security/selinux/ss/services.c +++ b/trunk/security/selinux/ss/services.c @@ -1744,6 +1744,9 @@ int security_genfs_sid(const char *fstype, struct ocontext *c; int rc = 0, cmp = 0; + while (path[0] == '/' && path[1] == '/') + path++; + POLICY_RDLOCK; for (genfs = policydb.genfs; genfs; genfs = genfs->next) {