From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [PATCH 10/10] cr: lsm: restore file->f_security Date: Wed, 10 Jun 2009 08:58:33 -0500 Message-ID: <20090610135833.GA14218@us.ibm.com> References: <20090610014412.GA5628@us.ibm.com> <20090610014704.GI5658@us.ibm.com> <4A2F2B08.40701@schaufler-ca.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4A2F2B08.40701-iSGtlc1asvQWG2LlvL+J4A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Casey Schaufler Cc: David Howells , SELinux , Linux Containers , Alexey Dobriyan , Andrew Morgan List-Id: containers.vger.kernel.org Quoting Casey Schaufler (casey-iSGtlc1asvQWG2LlvL+J4A@public.gmane.org): > > @@ -1630,7 +1654,6 @@ static int smack_msg_msg_restore_security(struct msg_msg *msg, > > msg->security = str; > > } > > return 0; > > - return 0; > > > > Looks like you caught that. Thank you Huh. No, I didn't :) I'm guessing that both the original problem and this accidental fix came about through my inexperience with resolving conflicts in git-rebase... Thanks for taking a look, I will address all of your comments in the next posting. For the next version I may split up the smack, selinux, and tomoyo hooks into separate patches from the core LSM patch (and nix the rather silly split of the security_file_restore hook) for easier review... thanks, -serge