1. 12 Nov, 2007 4 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 46015977
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (21 commits)
        [CIFS] fix oops on second mount to same server when null auth is used
        [CIFS] Fix stale mode after readdir when cifsacl specified
        [CIFS] add mode to acl conversion helper function
        [CIFS] Fix incorrect mode when ACL had deny access control entries
        [CIFS] Add uid to key description so krb can handle user mounts
        [CIFS] Fix walking out end of cifs dacl
        [CIFS] Add upcall files for cifs to use spnego/kerberos
        [CIFS] add OIDs for KRB5 and MSKRB5 to ASN1 parsing routines
        [CIFS] Register and unregister cifs_spnego_key_type on module init/exit
        [CIFS] implement upcalls for SPNEGO blob via keyctl API
        [CIFS] allow cifs_calc_signature2 to deal with a zero length iovec
        [CIFS] If no Access Control Entries, set mode perm bits to zero
        [CIFS] when mount helper missing fix slash wrong direction in share
        [CIFS] Don't request too much permission when reading an ACL
        [CIFS] enable get mode from ACL when cifsacl mount option specified
        [CIFS] ACL support part 8
        [CIFS] acl support part 7
        [CIFS] acl support part 6
        [CIFS] acl support part 6
        [CIFS] remove unused funtion compile warning when experimental off
        ...
      46015977
    • Siddha, Suresh B's avatar
      x86: fix taking DNA during 64bit sigreturn · 92d140e2
      Siddha, Suresh B authored
      restore sigcontext is taking a DNA exception while restoring FP context
      from the user stack, during the sigreturn.  Appended patch fixes it by
      doing clts() if the app doesn't touch FP during the signal handler
      execution.  This will stop generating a DNA, during the fxrstor in the
      sigreturn.
      
      This improves 64-bit lat_sig numbers by ~30% on my core2 platform.
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      92d140e2
    • Denis Cheng's avatar
      SLUB: killed the unused "end" variable · efe44183
      Denis Cheng authored
      Since the macro "for_each_object" introduced, the "end" variable becomes unused anymore.
      Signed-off-by: default avatarDenis Cheng <crquan@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      efe44183
    • Roland McGrath's avatar
      core dump: remain dumpable · 00ec99da
      Roland McGrath authored
      The coredump code always calls set_dumpable(0) when it starts (even
      if RLIMIT_CORE prevents any core from being dumped).  The effect of
      this (via task_dumpable) is to make /proc/pid/* files owned by root
      instead of the user, so the user can no longer examine his own
      process--in a case where there was never any privileged data to
      protect.  This affects e.g. auxv, environ, fd; in Fedora (execshield)
      kernels, also maps.  In practice, you can only notice this when a
      debugger has requested PTRACE_EVENT_EXIT tracing.
      
      set_dumpable was only used in do_coredump for synchronization and not
      intended for any security purpose.  (It doesn't secure anything that wasn't
      already unsecured when a process dies by SIGTERM instead of SIGQUIT.)
      
      This changes do_coredump to check the core_waiters count as the means of
      synchronization, which is sufficient.  Now we leave the "dumpable" bits alone.
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      00ec99da
  2. 10 Nov, 2007 36 commits