diff options
| author | David Howells <dhowells@redhat.com> | 2005-01-04 05:21:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 05:21:45 -0800 |
| commit | 17c9f1a24c938a185e90ee6f786526ab3475820d (patch) | |
| tree | b044c12edfd1b132cc92a991e9ca9b4cb9e01f2f /include/linux | |
| parent | 91808d6ebe39ed3c6ab7737e720d13af1e40a687 (diff) | |
[PATCH] Fix some ELF-FDPIC binfmt problems
The attached patch fixes the following problems in the ELF-FDPIC binfmt
driver:
(1) elf_fdpic_map_file() should be passed an mm_struct pointer, not NULL.
(2) do_mmap() should be called with the mmap_sem held.
(3) mm_struct::end_brk doesn't exist in 2.6 (debugging only).
(4) Avoid debugging warnings by casting certain values to unsigned long
before printing them.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
