Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2009 11:24:04 +0100
From:      Ed Schouten <ed@80386.nl>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: svn commit: r198706 - head/sys/sys
Message-ID:  <20091102102404.GP1293@hoeg.nl>
In-Reply-To: <20091102100435.GA67211@walton.maths.tcd.ie>
References:  <200910311035.n9VAZfIb082932@svn.freebsd.org> <20091031.190353.-332187386.imp@bsdimp.com> <20091101011212.GG1293@hoeg.nl> <20091102100435.GA67211@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help

--BXjkYym6qfApNY5c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello David,

* David Malone <dwmalone@maths.tcd.ie> wrote:
> Surely it is an API change, but not an ABI change? Code that used
> to do:
>=20
> 	d.d_uid =3D 3;
>=20
> 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=3Drevision&revision=3D143746
- http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D150342

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--BXjkYym6qfApNY5c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkrus0QACgkQ52SDGA2eCwUlKwCdG75s+oKDvQJLRpiEgWUpC5By
QJ0AniOiL7vUESGkSnqFOsxOWNq0LdK3
=EgKL
-----END PGP SIGNATURE-----

--BXjkYym6qfApNY5c--



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