tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compat netbsd32 dev_t alignment fixes



On Mon, Mar 16, 2009 at 05:12:35PM +0100, Nicolas Joly wrote:
> 
> Hi,
> 
> Attached a small patch that fix some dev_t alignment problems under
> compat netbsd32. Now that dev_t is a 64bit value, we cannot use it
> directly anymore but rather netbsd32_uint64 (with 32bit alignment)
> instead.
> 
> This fix some program crashs when using all stat(2) family
> functions...
> 
> Ok to commit ?

Yes.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpULQclIxuWa.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index