Re: Kernel Application Binary Interface (kABI) support in FreeBSD

From: Allan Jude <allanjude_at_freebsd.org>
Date: Fri, 17 Jul 2015 10:59:03 -0400
On 2015-07-17 10:47, Julian Elischer wrote:
> On 7/17/15 9:02 PM, Venkat Duvvuru wrote:
>> Hi,
>>
>> Is there kABI (Kabi-whitelist) equivalent feature in FreeBSD?
> well, yes and no.
> 
> Firstly, FreeBSD maintains a backwards compatible kABI (with the
> exception of programs that hunt around in kernel memory).
> We also use symbol versioning on the libc. so depending on what you want
> to do. the answer may be useful to you or not.
> Basically any binary should continue to run on a newer kernel, even if
> the syscalls change, because we should still support the old abi.
> 
> tell us more about what you need and we can be more specific.
> 
> I have run Freebsd 1.1 binaries on a Freebsd 8  system, in fact I have
> done a system build in a freebsd 1.1 chroot on an 8 system.
> I haven't tried it on 9 or 10 but I'd expect it to work..
> 
> 
>>
>>
>>
>> Thanks,
>>
>> Venkat.
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscribe_at_freebsd.org"
>>
>>
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

I think the question related to drivers (kernel modules).

In which case, they should be compatible across major versions (module
from 10.0 works in 10.2, but not 9.3 or 11.0)

-- 
Allan Jude


Received on Fri Jul 17 2015 - 12:58:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC