lkml.org 
[lkml]   [2006]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: wpa supplicant/ipw3945, ESSID last char missing
Jean Tourrilhes wrote:
> You can't froze kernel userspace API forever. That is simply
> not workable, it will lead to stagnation and obsolescence. This is
> especially unfair because some other kernel userspace API are allow to
> change whenever their maintainers feels like.
>
> Just to give you an example why we sometime need to
> change. The first two generations of 802.11 hardware were using the
> ESSID as a C-string (no NUL char), so the API was also using a
> C-string (no NUL char). New 802.11 hardware do accept NUL in the
> ESSID, therefore the API need to evolve away from C-string to offer
> this new feature to userspace. Especially that new WPA standard may
> use that in the future (cf. Jouni's e-mail).
>
> In the past, kernel userspace API changes were done during the
> devel series, but we don't have this option anymore. What I would like
> people to discuss is what are the best practice to perform kernel
> userspace API changes in 2.6.X.

You can _add_ to the userspace API, because that obviously does not
break old programs.

You just should not introduce changes which break old programs.

Binaries built in the 1990's still work under Linux, you know...

API changes require new ioctl/sub-ioctl numbers, so that new programs
can take advantage of new capabilities while old programs continue to work.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-04 20:37    [W:0.102 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site