From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] LSM file locking patch is bogus Date: Sun, 28 Jul 2002 11:47:53 -0700 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20020728184753.GB5767@kroah.com> References: <20020727233149.G1441@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-security-module@wirex.com, linux-fsdevel@vger.kernel.org Return-path: To: Matthew Wilcox Content-Disposition: inline In-Reply-To: <20020727233149.G1441@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org On Sat, Jul 27, 2002 at 11:31:49PM +0100, Matthew Wilcox wrote: > > - Remove third argument from file_lock security op. Whether the lock is > blocking or not cannot make any difference to a security module! > - Fix the call in sys_flock to pass the translated lock command, not the > original. > - Add a call in fcntl_setlease. If they're going to know about two types > of lock, let's tell them about the third too. Thanks a lot for the patch, looks like Linus already took it. greg k-h