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 Fri, Apr 17, 2009 at 11:07 AM,  <ad%netbsd.org@localhost> wrote:

>> > 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.

Alright, from now on I'll make sure to append everything.

Thanks,

-e.


Home | Main Index | Thread Index | Old Index