From owner-freebsd-current@freebsd.org Tue Jul 21 16:24:43 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD6DF9A7966 for ; Tue, 21 Jul 2015 16:24:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 995571FFE; Tue, 21 Jul 2015 16:24:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iecri3 with SMTP id ri3so51601362iec.2; Tue, 21 Jul 2015 09:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=g7aXoijEPfZRJzTudu67XyooPejxXpd5stkkk6npELc=; b=IpvFqXya0LpSyP1AoNUpGE0FL0r2HJL48VLFjUb6NoU6Q79C/3bMY7Q6povk39YVRF qdJSPD9lv6DNDOTQjcLPN3ZEeT4dVJ+DRuA3h2D74oII7SqZFluIQ7100TrczuxBRUzy trHqKOAIp8zj2VMXsEG9A0ZTnoanUMSqXFrTFg/iMfx0du0TglgBl8CK5rY0UrHeW/Oi of2yMcsZ4ZeqzmluKIsxuNoDPn2QAuMow6k/Zhfnf65OEWKVlhDYKnKc/wKEVU/WEVsT pQiBhJD0bZ8mxRC1MfLmZFdK4NnRIAyEnG1zra2TXbhJ2jV5kNqEmlUIX83Cj4urtKDe F50g== MIME-Version: 1.0 X-Received: by 10.107.129.215 with SMTP id l84mr30469135ioi.78.1437495882581; Tue, 21 Jul 2015 09:24:42 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Tue, 21 Jul 2015 09:24:42 -0700 (PDT) In-Reply-To: References: <55A9157A.8050208@freebsd.org> <55A91837.50805@freebsd.org> Date: Tue, 21 Jul 2015 09:24:42 -0700 Message-ID: Subject: Re: Kernel Application Binary Interface (kABI) support in FreeBSD From: Adrian Chadd To: Venkat Duvvuru Cc: Allan Jude , freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 16:24:44 -0000 Yes, I think the FreeBSD developers have been doing this since before Redhat was a thing. -a On 20 July 2015 at 23:02, Venkat Duvvuru wrote: > Yes, my question was about kernel module compatibililty with FreeBSD's > major releases of a particular version. > For example, will FreeBSD makes sure that the driver built on 10.0 version > of Freebsd seamlessly load on all other 10.x versions of FreeBSD? > Does it make sure that the symbols and their parameters are not blindly > changed without considering the binary compatibility with other FreeBSD > version binaries? > > RHEL kABI whitelist makes sure that once the symbol is added into the > whitelist, it will never be changed during the major releases of that > kernel. > > > Thanks, > Venkat. > > On Fri, Jul 17, 2015 at 8:29 PM, Allan Jude wrote: > >> 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@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> >> To unsubscribe, send any mail to >> >> "freebsd-current-unsubscribe@freebsd.org" >> >> >> >> >> > >> > _______________________________________________ >> > freebsd-current@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-current >> > To unsubscribe, send any mail to " >> freebsd-current-unsubscribe@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 >> >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"