From mboxrd@z Thu Jan 1 00:00:00 1970 From: Casey Schaufler Subject: Re: [RFC][PATCH] Smack<->Audit integration Date: Mon, 10 Mar 2008 11:43:50 -0700 (PDT) Message-ID: <728222.69530.qm@web36607.mail.mud.yahoo.com> References: <20080310182634.GA448@ubuntu> Reply-To: casey@schaufler-ca.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <20080310182634.GA448@ubuntu> Sender: linux-security-module-owner@vger.kernel.org To: "Ahmed S. Darwish" , Casey Schaufler Cc: Andrew Morton , James Morris , Paul Moore , LKML , LSM-ML , Audit-ML List-Id: linux-audit@redhat.com --- "Ahmed S. Darwish" wrote: > ... > > > > You've meant using the short-circuit: > smk_rule->smk_smack == smack || strnmp(smack, ..., ..) > Right ? Yes, that's the safe approach. Thank you. Casey Schaufler casey@schaufler-ca.com