1. 21 10月, 2006 3 次提交
  2. 17 10月, 2006 2 次提交
    • J
      [PATCH] knfsd: nfsd4: fix open permission checking · 9801d8a3
      J. Bruce Fields 提交于
      We weren't actually checking for SHARE_ACCESS_WRITE, with the result that the
      owner could open a non-writeable file for write!
      
      Continue to allow DENY_WRITE only with write access.
      
      Thanks to Jim Rees for reporting the bug.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9801d8a3
    • J
      [PATCH] knfsd: nfsd4: fix owner-override on open · dc730e17
      J. Bruce Fields 提交于
      If a client creates a file using an open which sets the mode to 000, or if a
      chmod changes permissions after a file is opened, then situations may arise
      where an NFS client knows that some IO is permitted (because a process holds
      the file open), but the NFS server does not (because it doesn't know about the
      open, and only sees that the IO conflicts with the current mode of the file).
      
      As a hack to solve this problem, NFS servers normally allow the owner to
      override permissions on IO.  The client can still enforce correct
      permissions-checking on open by performing an explicit access check.
      
      In NFSv4 the client can rely on the explicit on-the-wire open instead of an
      access check.
      
      Therefore we should not be allowing the owner to override permissions on an
      over-the-wire open!
      
      However, we should still allow the owner to override permissions in the case
      where the client is claiming an open that it already made either before a
      reboot, or while it was holding a delegation.
      
      Thanks to Jim Rees for reporting the bug.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dc730e17
  3. 04 10月, 2006 2 次提交
  4. 02 10月, 2006 1 次提交
  5. 11 7月, 2006 1 次提交
  6. 11 4月, 2006 2 次提交
  7. 08 2月, 2006 1 次提交
  8. 19 1月, 2006 5 次提交
  9. 13 9月, 2005 1 次提交
  10. 08 7月, 2005 1 次提交
  11. 24 6月, 2005 3 次提交
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4