1. 29 Aug, 2019 1 commit
    • J. Bruce Fields's avatar
      nfsd: eliminate an unnecessary acl size limit · 2b86e3aa
      J. Bruce Fields authored
      We're unnecessarily limiting the size of an ACL to less than what most
      filesystems will support.  Some users do hit the limit and it's
      confusing and unnecessary.
      It still seems prudent to impose some limit on the number of ACEs the
      client gives us before passing it straight to kmalloc().  So, let's just
      limit it to the maximum number that would be possible given the amount
      of data left in the argument buffer.
      That will still leave one limit beyond whatever the filesystem imposes:
      the client and server negotiate a limit on the size of a request, which
      we have to respect.
      But we're no longer imposing any additional arbitrary limit.
      struct nfs4_ace is 20 bytes on my system and the maximum call size we'll
      negotiate is about a megabyte, so in practice this is limiting the
      allocation here to about a megabyte.
      Reported-by: default avatar"de Vandiere, Louis" <louis.devandiere@atos.net>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
  2. 08 Jul, 2014 1 commit
  3. 28 May, 2014 1 commit
    • J. Bruce Fields's avatar
      nfsd4: use xdr_reserve_space in attribute encoding · ddd1ea56
      J. Bruce Fields authored
      This is a cosmetic change for now; no change in behavior.
      Note we're just depending on xdr_reserve_space to do the bounds checking
      for us, we're not really depending on its adjustment of iovec or xdr_buf
      lengths yet, as those are fixed up by as necessary after the fact by
      read-link operations and by nfs4svc_encode_compoundres.  However we do
      have to update xdr->iov on read-like operations to prevent
      xdr_reserve_space from messing with the already-fixed-up length of the
      the head.
      When the attribute encoding fails partway through we have to undo the
      length adjustments made so far.  We do it manually for now, but later
      patches will add an xdr_truncate_encode() helper to handle cases like
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
  4. 29 Mar, 2014 1 commit
  5. 26 Jan, 2014 1 commit
  6. 08 Jan, 2014 1 commit
  7. 13 Feb, 2013 1 commit
  8. 04 Jan, 2011 2 commits
  9. 09 May, 2007 1 commit
  10. 16 Feb, 2007 1 commit
  11. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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!