Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754407AbZG0HoT (ORCPT ); Mon, 27 Jul 2009 03:44:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754182AbZG0HoT (ORCPT ); Mon, 27 Jul 2009 03:44:19 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:59395 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754073AbZG0HoS (ORCPT ); Mon, 27 Jul 2009 03:44:18 -0400 Date: Mon, 27 Jul 2009 03:44:18 -0400 From: Christoph Hellwig To: Dave Jones , Linux Kernel , linux-scsi@vger.kernel.org Subject: Re: [PATCH] Don't export scsi kernel variables in userspace headers. Message-ID: <20090727074418.GA14765@infradead.org> References: <20090725021026.GA6942@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090725021026.GA6942@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 14 On Fri, Jul 24, 2009 at 10:10:26PM -0400, Dave Jones wrote: > Found with make headers_check > > /usr/include/scsi/scsi.h:159: userspace cannot call function or variable defined in the kernel > /usr/include/scsi/scsi.h:285: userspace cannot call function or variable defined in the kernel The headers shouldn't be exported at all because scsi/ headers are exported from glibc. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/