• Matthew Wilcox's avatar
    [PATCH] LSM file locking patch is bogus · c997a03d
    Matthew Wilcox authored
     - 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.
    c997a03d
locks.c 48.2 KB