projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
arch
/
x86
/
ia32
/
ia32_aout.c
diff --git
a/arch/x86/ia32/ia32_aout.c
b/arch/x86/ia32/ia32_aout.c
index
14531ab
..
280c019
100644
(file)
--- a/
arch/x86/ia32/ia32_aout.c
+++ b/
arch/x86/ia32/ia32_aout.c
@@
-297,7
+297,7
@@
static int load_aout_binary(struct linux_binprm *bprm, struct pt_regs *regs)
* size limits imposed on them by creating programs with large
* arrays in the data or bss.
*/
- rlim =
current->signal->rlim[RLIMIT_DATA].rlim_cur
;
+ rlim =
rlimit(RLIMIT_DATA)
;
if (rlim >= RLIM_INFINITY)
rlim = ~0;
if (ex.a_data + ex.a_bss > rlim)