diff options
| author | Ivan Kokshaysky <[email protected]> | 2008-04-24 12:54:50 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-24 15:35:47 +0000 |
| commit | 2444e56b0c08e6f3e3877583841a1213e3263d98 (patch) | |
| tree | b35291a16faa7930c64171ea8a4d2365686029fe /net/ipv4/tcp_input.c | |
| parent | alpha: fix legacy mode PCI IDE controllers (diff) | |
| download | kernel-2444e56b0c08e6f3e3877583841a1213e3263d98.tar.gz kernel-2444e56b0c08e6f3e3877583841a1213e3263d98.zip | |
alpha: unbreak OSF/1 (a.out) binaries
OSF/1 brk(2) was broken by following one-liner in sys_brk()
(commit 4cc6028d4040f95cdb590a87db478b42b8be0508):
- if (brk < mm->end_code)
+ if (brk < mm->start_brk)
goto out;
The problem is that osf_set_program_attributes()
does update mm->end_code, but not mm->start_brk,
which still contains inappropriate value left from
binary loader, so brk() always fails.
Signed-off-by: Ivan Kokshaysky <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
