Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 2004 19:25:41 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Scott Long <scottl@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: dev_t / udev_t confusion ? 
Message-ID:  <56598.1086801941@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 09 Jun 2004 11:02:24 MDT." <40C742A0.5090704@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <40C742A0.5090704@freebsd.org>, Scott Long writes:

>> 	cdevsw->ioctl() takes a caddr_t pointer argument which
>> 	really should be a void *, do we want to change that
>> 	as well (since it is all the same files we'll have to
>> 	change).
>> 
>
>Is this going to have any consequences on COMPAT_LINUX code or anything
>else that calls ioctl() through obscure means?

Well, it has more impact for the places which implement the ioctl,
in particular if they do pointer arithmetic on the pointer (legal
on caddr_t but illegal on void *).

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56598.1086801941>