Re: 2.3.16-1: 'struct sysinfo' ABI has incompatible change

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
31 Aug 1999 23:19:55 -0700


In article <linux.kernel.E11LlYO-0003bv-00@taurus.cus.cam.ac.uk>,
Peter Benie <pjb1008@cam.ac.uk> wrote:
>Michael Elizabeth Chastain writes ("2.3.16-1: 'struct sysinfo' ABI has incompatible change"):
>> --- v2.3.15/linux/include/linux/kernel.h Thu Aug 26 13:05:41 1999
>> +++ linux/include/linux/kernel.h Thu Aug 26 12:34:55 1999
>> [snip]
>>
>> This is in 'struct sysinfo', which is the argument of the obscure
>> 'sysinfo' call.
>>
>> Thus, 2.2 clients will give strange results on 2.4 servers; and 2.4
>> clients will experience memory corruption when running on 2.2 servers.
>
>The sysinfo interface produces strange effects anyway - you can't tell
>if a particular field is valid or not without using a lookup table
>from kernel version numbers to fields.

But, if implemented properly, you can rest assured that a sysinfo
call in a program compiled on version n-1 of the kernel will
continue to work properly on version n+1 of the kernel.

____
david parsons \bi/ At least until you run out of the pad space that
\/ was so nicely provided.

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