Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3b322077
Commit
3b322077
authored
Apr 16, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
757fd8a6
92a16de9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
include/linux/compiler.h
include/linux/compiler.h
+2
-0
include/net/sock.h
include/net/sock.h
+2
-2
net/core/sock.c
net/core/sock.c
+2
-2
No files found.
include/linux/compiler.h
View file @
3b322077
...
...
@@ -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__
...
...
include/net/sock.h
View file @
3b322077
...
...
@@ -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
*
,
...
...
net/core/sock.c
View file @
3b322077
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment