From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PytSZ-00036x-Uu for garchives@archives.gentoo.org; Sun, 13 Mar 2011 22:08:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 664DD1C01E; Sun, 13 Mar 2011 22:08:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 40179E0370 for ; Sun, 13 Mar 2011 22:07:51 +0000 (UTC) Received: from [192.168.3.7] (cpe-74-77-246-79.buffalo.res.rr.com [74.77.246.79]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: blueness) by smtp.gentoo.org (Postfix) with ESMTPSA id 85C0C1B40C6 for ; Sun, 13 Mar 2011 22:07:50 +0000 (UTC) Message-ID: <4D7D4034.3050906@gentoo.org> Date: Sun, 13 Mar 2011 18:07:48 -0400 From: "Anthony G. Basile" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110311 Lightning/1.0b3pre Lanikai/3.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pax-utils.eclass: elog -> einfo? References: <4D7B68D3.5000409@gentoo.org> <201103131619.57816.vapier@gentoo.org> <4D7D3955.7080006@gentoo.org> <201103131801.10750.vapier@gentoo.org> In-Reply-To: <201103131801.10750.vapier@gentoo.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 12e6b11da31dac4db9b0041580e06ac7 On 03/13/2011 06:01 PM, Mike Frysinger wrote: > On Sunday, March 13, 2011 17:38:29 Anthony G. Basile wrote: >> On 03/13/2011 04:19 PM, Mike Frysinger wrote: >>> maybe have it `elog` only when [[ $(uname -r) == *-grsec* ]] >> blueness@yellowness ~ $ uname -r >> 2.6.37-hardened-r5 >> >> so you need == *-hardened-* > you want to additionally match hardened, not replace. > [[ $(uname -r) =~ .*-(grsec|hardened).* ]] > -mike 1) I made a tiny error, but you caught it, it should be *-hardened* without the extra dash. 2) This works for me, but I'm not familiar with any gentoo kernels that have -grsec in the uname. Am I missing something, or is this just in case some of our users are deploying their own kernels? -- Anthony G. Basile, Ph.D. Gentoo Developer