diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /include/linux/netlink.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r-- | include/linux/netlink.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index 123566912d73..a9dd89552f9c 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -24,6 +24,7 @@ | |||
24 | /* leave room for NETLINK_DM (DM Events) */ | 24 | /* leave room for NETLINK_DM (DM Events) */ |
25 | #define NETLINK_SCSITRANSPORT 18 /* SCSI Transports */ | 25 | #define NETLINK_SCSITRANSPORT 18 /* SCSI Transports */ |
26 | #define NETLINK_ECRYPTFS 19 | 26 | #define NETLINK_ECRYPTFS 19 |
27 | #define NETLINK_RDMA 20 | ||
27 | 28 | ||
28 | #define MAX_LINKS 32 | 29 | #define MAX_LINKS 32 |
29 | 30 | ||
@@ -70,7 +71,7 @@ struct nlmsghdr { | |||
70 | Check NLM_F_EXCL | 71 | Check NLM_F_EXCL |
71 | */ | 72 | */ |
72 | 73 | ||
73 | #define NLMSG_ALIGNTO 4 | 74 | #define NLMSG_ALIGNTO 4U |
74 | #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) | 75 | #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) |
75 | #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) | 76 | #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) |
76 | #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) | 77 | #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) |
@@ -160,10 +161,6 @@ struct netlink_skb_parms { | |||
160 | struct ucred creds; /* Skb credentials */ | 161 | struct ucred creds; /* Skb credentials */ |
161 | __u32 pid; | 162 | __u32 pid; |
162 | __u32 dst_group; | 163 | __u32 dst_group; |
163 | kernel_cap_t eff_cap; | ||
164 | __u32 loginuid; /* Login (audit) uid */ | ||
165 | __u32 sessionid; /* Session id (audit) */ | ||
166 | __u32 sid; /* SELinux security id */ | ||
167 | }; | 164 | }; |
168 | 165 | ||
169 | #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) | 166 | #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) |