summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-05-23 17:16:53 -0600
committerEric W. Biederman <ebiederm@xmission.com>2012-08-14 21:47:34 -0700
commit976d020150456fccbd34103fd117fab910eed09c (patch)
tree742f67a59f97d5cfdfef2d71094d2b2145553f3d /include/net/sock.h
parentd04a48b06d63b6d6e9289ca8a5e6e84ebfe39bfd (diff)
downloadlinux-976d020150456fccbd34103fd117fab910eed09c.tar.gz
linux-976d020150456fccbd34103fd117fab910eed09c.tar.bz2
linux-976d020150456fccbd34103fd117fab910eed09c.zip
userns: Convert sock_i_uid to return a kuid_t
Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index b3730239bf18..65c3d62bfa5a 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1668,7 +1668,7 @@ static inline void sock_graft(struct sock *sk, struct socket *parent)
write_unlock_bh(&sk->sk_callback_lock);
}
-extern int sock_i_uid(struct sock *sk);
+extern kuid_t sock_i_uid(struct sock *sk);
extern unsigned long sock_i_ino(struct sock *sk);
static inline struct dst_entry *