diff options
author | jhb <jhb@FreeBSD.org> | 2008-10-22 21:55:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-10-22 21:55:48 +0000 |
commit | 327ae6eb3a1a8aa10419a446a94f60c35996d868 (patch) | |
tree | 52c2acf2cfeb0ab76a95a909620cf9d9508ff19a /lib/libc | |
parent | 486f9a87d63369b9373a2644a6ec68fb77d6e818 (diff) | |
download | FreeBSD-src-327ae6eb3a1a8aa10419a446a94f60c35996d868.zip FreeBSD-src-327ae6eb3a1a8aa10419a446a94f60c35996d868.tar.gz |
Split the copyout of *base at the end of getdirentries() out leaving the
rest in kern_getdirentries(). Use kern_getdirentries() to implement
freebsd32_getdirentries(). This fixes a bug where calls to getdirentries()
in 32-bit binaries would trash the 4 bytes after the 'long base' in
userland.
Submitted by: ups
MFC after: 1 week
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions