tech-kern archive

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

Re: Removal of some KAUTH_GENERIC_ISSUSER (pass 1)



On Wed, Apr 15, 2009 at 11:40:30PM +0300, Elad Efrat wrote:

> > Looks ok to me now.
> 
> Thanks for reviewing & your input. :)
> 
> > FYI this type of change is kernel ABI breaking but it does not matter at
> > the moment:
> >
> > ?enum {
> > - ? ? ? KAUTH_MACHDEP_IOPERM_GET=1,
> > + ? ? ? KAUTH_MACHDEP_CACHEFLUSH=1,
> > + ? ? ? KAUTH_MACHDEP_IOPERM_GET,
> > ? ? ? ?KAUTH_MACHDEP_IOPERM_SET,

Actually, I was wrong. We have existing modules that use these constants.
The out is to bump the kernel version when they change in an incompatible
way (yamt@ has done this).

The best way to handle it is to simply not change them in incompatible ways.
That could mean, for example, adding new items to the end of an enum, rather
than rearranging existing items.


Home | Main Index | Thread Index | Old Index