From owner-freebsd-arch@FreeBSD.ORG Fri Apr 17 13:30:51 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 194ED99B; Fri, 17 Apr 2015 13:30:51 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E98E310C; Fri, 17 Apr 2015 13:30:50 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E55BDB924; Fri, 17 Apr 2015 09:30:49 -0400 (EDT) From: John Baldwin To: freebsd-arch@freebsd.org, peter@freebsd.org Cc: Konstantin Belousov Subject: Re: Removal of the 6.x kernel compat code from libc Date: Fri, 17 Apr 2015 09:29:38 -0400 Message-ID: <3447437.tTGu6eNHtf@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: <20150417075942.GI2390@kib.kiev.ua> References: <20150417075942.GI2390@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 17 Apr 2015 09:30:50 -0400 (EDT) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 13:30:51 -0000 On Friday, April 17, 2015 10:59:42 AM Konstantin Belousov wrote: > Our libc changes in sync with the kernel, but switching of libc to use > new interfaces means that upgrade of the userspace becomes the flag day. > People usually add backward-compatible shims for libc to use older > interfaces on old kernels. > > There is no reason to keep the compat shims after many years of the > transition. Patch below purges the compat code for pre-r171219, which > added pad-less versions of syscalls taking off_t, and for r177911, which > handles the struct flock/oflock transition. This is 6.x/7.x compat, > we absolutely not support running HEAD libc on such old kernels. I think this is fine. -- John Baldwin