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>
This commit is contained in:
parent
d04a48b06d
commit
976d020150
2 changed files with 4 additions and 4 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue