From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8611 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: linux/vt.h Date: Sat, 3 Oct 2015 14:00:15 -0400 Message-ID: <20151003180015.GA8645@brightrain.aerifal.cx> References: <20151003122734.GA3258@localhost> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1443895233 27018 80.91.229.3 (3 Oct 2015 18:00:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 18:00:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8623-gllmg-musl=m.gmane.org@lists.openwall.com Sat Oct 03 20:00:33 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZiR6l-0007It-Vl for gllmg-musl@m.gmane.org; Sat, 03 Oct 2015 20:00:32 +0200 Original-Received: (qmail 30388 invoked by uid 550); 3 Oct 2015 18:00:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 30360 invoked from network); 3 Oct 2015 18:00:28 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8611 Archived-At: On Sat, Oct 03, 2015 at 06:01:30AM -0700, Jorge Almeida wrote: > On Sat, Oct 3, 2015 at 5:27 AM, vlse wrote: > >>In order to use these, you need to have kernel headers installed. > >>There are several ways to get them, but the easiest is the way > >>provided by the kernel: > > > >>https://www.kernel.org/doc/Documentation/kbuild/headers_install.txt > > > > But the vanilla kernel headers/source are not properly adapted for > > musl; is'nt it. Or has it changed with musl and we can use the > > vanilla kernel sources from www.kernel.org. > > > > But then why do sabotage uses modified/adapted kernel headers. > > Good question. Conventional wisdom states that one must keep the > headers glibc was compiled against, not the headers of the current > kernel, but the why is never explained. Does it apply here (with > s/glibc/musl)? This does not apply whatsoever to musl since musl does not use kernel headers at all -- unless you want to count the few wrappers in sys/*.h which this thread is about, but musl is not actually "using" the kernel headers here, just helping applications that use the official includes find the kernel headers for their own use. Rich