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
Kirill Smelkov
linux
Commits
b4936449
Commit
b4936449
authored
Apr 10, 2003
by
James Simmons
Browse files
Options
Browse Files
Download
Plain Diff
Merge maxwell.earthlink.net:/usr/src/linus-2.5
into maxwell.earthlink.net:/usr/src/fbdev-2.5
parents
470d3cc3
d55d7cdf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
fs/select.c
fs/select.c
+2
-2
include/linux/poll.h
include/linux/poll.h
+2
-2
kernel/timer.c
kernel/timer.c
+1
-1
No files found.
fs/select.c
View file @
b4936449
...
...
@@ -268,7 +268,7 @@ static void select_bits_free(void *bits, int size)
((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1)
asmlinkage
long
sys_select
(
int
n
,
fd_set
*
inp
,
fd_set
*
outp
,
fd_set
*
exp
,
struct
timeval
*
tvp
)
sys_select
(
int
n
,
fd_set
__user
*
inp
,
fd_set
__user
*
outp
,
fd_set
__user
*
exp
,
struct
timeval
__user
*
tvp
)
{
fd_set_bits
fds
;
char
*
bits
;
...
...
@@ -429,7 +429,7 @@ static int do_poll(unsigned int nfds, struct poll_list *list,
return
count
;
}
asmlinkage
long
sys_poll
(
struct
pollfd
*
ufds
,
unsigned
int
nfds
,
long
timeout
)
asmlinkage
long
sys_poll
(
struct
pollfd
__user
*
ufds
,
unsigned
int
nfds
,
long
timeout
)
{
struct
poll_wqueues
table
;
int
fdcount
,
err
;
...
...
include/linux/poll.h
View file @
b4936449
...
...
@@ -67,7 +67,7 @@ typedef struct {
* Use "unsigned long" accesses to let user-mode fd_set's be long-aligned.
*/
static
inline
int
get_fd_set
(
unsigned
long
nr
,
void
*
ufdset
,
unsigned
long
*
fdset
)
int
get_fd_set
(
unsigned
long
nr
,
void
__user
*
ufdset
,
unsigned
long
*
fdset
)
{
nr
=
FDS_BYTES
(
nr
);
if
(
ufdset
)
{
...
...
@@ -82,7 +82,7 @@ int get_fd_set(unsigned long nr, void *ufdset, unsigned long *fdset)
}
static
inline
void
set_fd_set
(
unsigned
long
nr
,
void
*
ufdset
,
unsigned
long
*
fdset
)
void
set_fd_set
(
unsigned
long
nr
,
void
__user
*
ufdset
,
unsigned
long
*
fdset
)
{
if
(
ufdset
)
__copy_to_user
(
ufdset
,
fdset
,
FDS_BYTES
(
nr
));
...
...
kernel/timer.c
View file @
b4936449
...
...
@@ -1091,7 +1091,7 @@ asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp)
/*
* sys_sysinfo - fill in sysinfo struct
*/
asmlinkage
long
sys_sysinfo
(
struct
sysinfo
*
info
)
asmlinkage
long
sys_sysinfo
(
struct
sysinfo
__user
*
info
)
{
struct
sysinfo
val
;
u64
uptime
;
...
...
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