Commit 3b322077 authored by Linus Torvalds's avatar Linus Torvalds

Merge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux

parents 757fd8a6 92a16de9
......@@ -4,9 +4,11 @@
#ifdef __CHECKER__
# define __user __attribute__((noderef, address_space(1)))
# define __kernel /* default address space */
# define __safe __attribute__((safe))
#else
# define __user
# define __kernel
# define __safe
#endif
#ifdef __KERNEL__
......
......@@ -623,9 +623,9 @@ extern int sock_no_ioctl(struct socket *, unsigned int,
extern int sock_no_listen(struct socket *, int);
extern int sock_no_shutdown(struct socket *, int);
extern int sock_no_getsockopt(struct socket *, int , int,
char *, int *);
char __user *, int __user *);
extern int sock_no_setsockopt(struct socket *, int, int,
char *, int);
char __user *, int);
extern int sock_no_sendmsg(struct kiocb *, struct socket *,
struct msghdr *, size_t);
extern int sock_no_recvmsg(struct kiocb *, struct socket *,
......
......@@ -973,13 +973,13 @@ int sock_no_shutdown(struct socket *sock, int how)
}
int sock_no_setsockopt(struct socket *sock, int level, int optname,
char *optval, int optlen)
char __user *optval, int optlen)
{
return -EOPNOTSUPP;
}
int sock_no_getsockopt(struct socket *sock, int level, int optname,
char *optval, int *optlen)
char __user *optval, int __user *optlen)
{
return -EOPNOTSUPP;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment