diff options
author | marcel <marcel@FreeBSD.org> | 2003-05-31 19:55:05 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-05-31 19:55:05 +0000 |
commit | 9bba923f2e3e4a4a2918fcf3e5e5df9c9c338a9f (patch) | |
tree | 7f874477443cb9663f7b30b002f002be3fbdfcc6 /sys/security/mac_lomac/mac_lomac.c | |
parent | 22c73f78e77c007d9ecf2a43b181f7132905ebd5 (diff) | |
download | FreeBSD-src-9bba923f2e3e4a4a2918fcf3e5e5df9c9c338a9f.zip FreeBSD-src-9bba923f2e3e4a4a2918fcf3e5e5df9c9c338a9f.tar.gz |
Fix ia32 compat on ia64. Recent ia64 MD changes caused the garbage on
the stack to be changed in a way incompatible with elf32_map_insert()
where we used data_buf without initializing it for when the partial
mapping resulting in a misaligned image (typical when the page size
implied by the image is not the same as the page size in use by the
kernel). Since data_buf is passed by reference to vm_map_find(), the
compiler cannot warn about it.
While here, move all local variables to the top of the function.
Diffstat (limited to 'sys/security/mac_lomac/mac_lomac.c')
0 files changed, 0 insertions, 0 deletions