Message ID | 20110804220602.GA32347@sergelap |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/core/scm.c b/net/core/scm.c index 21b5d0b..528fa36 100644 --- a/net/core/scm.c +++ b/net/core/scm.c @@ -43,7 +43,7 @@ * setu(g)id. */ -static __inline__ bool uidequiv(struct cred *src, struct ucred *tgt, +static __inline__ bool uidequiv(const struct cred *src, struct ucred *tgt, struct user_namespace *ns) { if (src->user_ns != ns) @@ -57,7 +57,7 @@ check_capable: return false; } -static __inline__ bool gidequiv(struct cred *src, struct ucred *tgt, +static __inline__ bool gidequiv(const struct cred *src, struct ucred *tgt, struct user_namespace *ns) { if (src->user_ns != ns)