Hello David,

* David Malone <dwmal...@maths.tcd.ie> wrote:
> Surely it is an API change, but not an ABI change? Code that used
> to do:
> 
>       d.d_uid = 3;
> 
> will no longer compile, but code that was comipled with the old
> version will still run. I understand that the assignment doesn't
> do anything useful, but I suppose there still could be code that
> does it?

Yes, in theory there could be pieces of code that do that, but keep in
mind that d_uid was never meant to be used by device drivers. It was
used by devfs internally, before cdevpriv existed.

Looking at the SVN logs, it was introduced in March 2005, but it was
already rendered useless in September that same year, when devfs was
modified to just obtain the ownership/modes from the cdevpriv instead of
the cdevsw.

Interesting commits:

- http://svn.freebsd.org/viewvc/base?view=revision&revision=143746
- http://svn.freebsd.org/viewvc/base?view=revision&revision=150342

-- 
 Ed Schouten <e...@80386.nl>
 WWW: http://80386.nl/

Attachment: pgpLJh1tG7CbQ.pgp
Description: PGP signature

Reply via email to