Date: Wed, 22 Oct 2008 21:55:48 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_misc.c syscalls.master src/sys/kern vfs_syscalls.c src/sys/sys syscallsubr.h Message-ID: <200810222156.m9MLuPl7088580@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2008-10-22 21:55:48 UTC
FreeBSD src repository
Modified files:
sys/compat/freebsd32 freebsd32_misc.c syscalls.master
sys/kern vfs_syscalls.c
sys/sys syscallsubr.h
Log:
SVN rev 184183 on 2008-10-22 21:55:48Z by jhb
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
Revision Changes Path
1.81 +18 -0 src/sys/compat/freebsd32/freebsd32_misc.c
1.109 +2 -2 src/sys/compat/freebsd32/syscalls.master
1.458 +23 -10 src/sys/kern/vfs_syscalls.c
1.51 +2 -0 src/sys/sys/syscallsubr.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810222156.m9MLuPl7088580>
