mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
scm: Reorder scm_cookie.
Reorder the fields in scm_cookie so they pack better on 64bit. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
434d7b380f
commit
812e876e84
@ -19,8 +19,8 @@ struct scm_fp_list {
|
||||
};
|
||||
|
||||
struct scm_cookie {
|
||||
struct ucred creds; /* Skb credentials */
|
||||
struct scm_fp_list *fp; /* Passed files */
|
||||
struct ucred creds; /* Skb credentials */
|
||||
#ifdef CONFIG_SECURITY_NETWORK
|
||||
u32 secid; /* Passed security ID */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user