svn commit: r198706 - head/sys/sys

Ed Schouten ed at 80386.nl
Mon Nov 2 10:24:05 UTC 2009


Hello David,

* David Malone <dwmalone at 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 <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20091102/c136ef04/attachment.pgp


More information about the svn-src-head mailing list