1. 13 Jan, 2008 2 commits
    • NeilBrown's avatar
      knfsd: Allow NFSv2/3 WRITE calls to succeed when krb5i etc is used. · ba67a39e
      NeilBrown authored
      When RPCSEC/GSS and krb5i is used, requests are padded, typically to a multiple
      of 8 bytes.  This can make the request look slightly longer than it
      really is.
      
      As of
      
      	f34b9568 "The NFSv2/NFSv3 server does not handle zero
      		length WRITE request correctly",
      
      the xdr decode routines for NFSv2 and NFSv3 reject requests that aren't
      the right length, so krb5i (for example) WRITE requests can get lost.
      
      This patch relaxes the appropriate test and enhances the related comment.
      Signed-off-by: default avatarNeil Brown <neilb@suse.de>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      Cc: Peter Staubach <staubach@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ba67a39e
    • Roland McGrath's avatar
      remove task_ppid_nr_ns · 84427eae
      Roland McGrath authored
      task_ppid_nr_ns is called in three places.  One of these should never
      have called it.  In the other two, using it broke the existing
      semantics.  This was presumably accidental.  If the function had not
      been there, it would have been much more obvious to the eye that those
      patches were changing the behavior.  We don't need this function.
      
      In task_state, the pid of the ptracer is not the ppid of the ptracer.
      
      In do_task_stat, ppid is the tgid of the real_parent, not its pid.
      I also moved the call outside of lock_task_sighand, since it doesn't
      need it.
      
      In sys_getppid, ppid is the tgid of the real_parent, not its pid.
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      84427eae
  2. 12 Jan, 2008 1 commit
  3. 11 Jan, 2008 23 commits
  4. 10 Jan, 2008 14 commits