[PATCH 1/8] scm: Reorder scm_cookie.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Sunday, June 13, 2010 - 6:27 am

Reorder the fields in scm_cookie so they pack better on 64bit.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
 include/net/scm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/net/scm.h b/include/net/scm.h
index 8360e47..17d9d2e 100644
--- a/include/net/scm.h
+++ b/include/net/scm.h
@@ -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
-- 
1.6.5.2.143.g8cc62

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] Support unix domain sockets across namespaces, Eric W. Biederman, (Sun Jun 13, 6:25 am)
[PATCH 1/8] scm: Reorder scm_cookie., Eric W. Biederman, (Sun Jun 13, 6:27 am)
[PATCH 2/8] user_ns: Introduce user_nsmap_uid and user_ns_ ..., Eric W. Biederman, (Sun Jun 13, 6:28 am)
[PATCH 3/8] sock: Introduce cred_to_ucred, Eric W. Biederman, (Sun Jun 13, 6:28 am)
[PATCH 4/8] af_unix: Allow SO_PEERCRED to work across name ..., Eric W. Biederman, (Sun Jun 13, 6:30 am)
[PATCH 5/8] af_netlink: Add needed scm_destroy after scm_send., Eric W. Biederman, (Sun Jun 13, 6:31 am)
[PATCH 6/8] scm: Capture the full credentials of the scm s ..., Eric W. Biederman, (Sun Jun 13, 6:32 am)
[PATCH 7/8] af_unix: Allow credentials to work across user ..., Eric W. Biederman, (Sun Jun 13, 6:34 am)
[PATCH 8/8] af_unix: Allow connecting to sockets in other ..., Eric W. Biederman, (Sun Jun 13, 6:35 am)
Re: [PATCH 1/8] scm: Reorder scm_cookie., Pavel Emelyanov, (Tue Jun 15, 1:00 am)
Re: [PATCH 3/8] sock: Introduce cred_to_ucred, Pavel Emelyanov, (Tue Jun 15, 1:03 am)
Re: [PATCH 6/8] scm: Capture the full credentials of the s ..., Eric W. Biederman, (Tue Jun 15, 2:53 am)
Re: [PATCH 6/8] scm: Capture the full credentials of the s ..., Eric W. Biederman, (Tue Jun 15, 3:08 pm)
Re: [PATCH 2/8] user_ns: Introduce user_nsmap_uid and user ..., Eric W. Biederman, (Tue Jun 15, 3:37 pm)
Re: [PATCH 0/8] Support unix domain sockets across namespaces, Eric W. Biederman, (Wed Jun 16, 4:32 pm)