aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-09-08 05:43:49 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-08 05:43:49 -0400
commit1d6ae775d7a948c9575658eb41184fd2e506c0df (patch)
tree8128a28e89d82f13bb8e3a2160382240c66e2816 /ipc/compat.c
parent739cdbf1d8f0739b80035b80d69d871e33749b86 (diff)
parentcaf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff)
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'ipc/compat.c')
-rw-r--r--ipc/compat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipc/compat.c b/ipc/compat.c
index 3881d564c668..1fe95f6659dd 100644
--- a/ipc/compat.c
+++ b/ipc/compat.c
@@ -42,10 +42,10 @@ struct compat_msgbuf {
42 42
43struct compat_ipc_perm { 43struct compat_ipc_perm {
44 key_t key; 44 key_t key;
45 compat_uid_t uid; 45 __compat_uid_t uid;
46 compat_gid_t gid; 46 __compat_gid_t gid;
47 compat_uid_t cuid; 47 __compat_uid_t cuid;
48 compat_gid_t cgid; 48 __compat_gid_t cgid;
49 compat_mode_t mode; 49 compat_mode_t mode;
50 unsigned short seq; 50 unsigned short seq;
51}; 51};
@@ -174,8 +174,8 @@ static inline int __put_compat_ipc_perm(struct ipc64_perm *p,
174 struct compat_ipc_perm __user *up) 174 struct compat_ipc_perm __user *up)
175{ 175{
176 int err; 176 int err;
177 compat_uid_t u; 177 __compat_uid_t u;
178 compat_gid_t g; 178 __compat_gid_t g;
179 179
180 err = __put_user(p->key, &up->key); 180 err = __put_user(p->key, &up->key);
181 SET_UID(u, p->uid); 181 SET_UID(u, p->uid);