git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
seq_file: fix new kernel-doc warnings
[safe/jmp/linux-2.6]
/
fs
/
select.c
diff --git
a/fs/select.c
b/fs/select.c
index
fd38ce2
..
73715e9
100644
(file)
--- a/
fs/select.c
+++ b/
fs/select.c
@@
-821,7
+821,7
@@
int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds,
struct poll_list *walk = head;
unsigned long todo = nfds;
- if (nfds >
current->signal->rlim[RLIMIT_NOFILE].rlim_cur
)
+ if (nfds >
rlimit(RLIMIT_NOFILE)
)
return -EINVAL;
len = min_t(unsigned int, nfds, N_STACK_PPS);