1. 03 Oct, 2003 3 commits
    • Roland McGrath's avatar
      [PATCH] fix vsyscall page in core dumps · fb16cbc2
      Roland McGrath authored
      My change to core dumps that was included with the vsyscall DSO
      implementation had a bug (braino on my part).  Core dumps don't include the
      full page of the vsyscall DSO, and so don't accurately represent the whole
      memory image of the process.  This patch fixes it.  I have tested it on
      x86, but not tested the same change to 32-bit core dumps on AMD64 (haven't
      even compiled on AMD64).
      
      I've also included the corresponding change for the IA64 code that was
      copied blindly from the x86 vsyscall implementation, which looks like more
      change than it is since I preserved the formatting of the copied code
      instead of arbitrarily diddling it along with the trivial symbol name
      changes.  I haven't compiled or tested on ia64.
      fb16cbc2
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 5e2995a5
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      5e2995a5
    • David S. Miller's avatar
      [SPARC64]: vmap/vunmap cache flushing need not do anything. · 889be673
      David S. Miller authored
      We do though need an I-cache flush on spitfire chips when
      doing a module load.
      
      Happily this allows us to kill off flush_cache_all() from
      sparc64.
      889be673
  2. 02 Oct, 2003 20 commits
  3. 01 Oct, 2003 17 commits
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5 · 6ae80eaa
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/net-2.5
      6ae80eaa
    • Arun Sharma's avatar
      0141a137
    • Alexander Viro's avatar
      [PATCH] Better UDF oops fix · 7db66084
      Alexander Viro authored
      Rather than not kfree'ing the UDF data in the case of a bad inode (which
      still _may_ have had the UDF data already allocated to it), make sure to
      initialize the pointer to NULL properly when we're done with it.
      7db66084
    • Andrew Morton's avatar
      [PATCH] Disable floppy and the related ioctl32s on some platforms · 0a6e048f
      Andrew Morton authored
      From: Arun Sharma <arun.sharma@intel.com>
      
      Based on some earlier discussion:
      
      http://marc.theaimsgroup.com/?t=106015010700002&r=1&w=2
      
      here's a new patch that attempts to disable BLK_DEV_FD on platforms which
      don't support it.  The patch also attempts to remove the duplication of the
      logic in compat_ioctl.h.
      0a6e048f
    • Andrew Morton's avatar
      [PATCH] update unistd.h for sys_vserver · 5552bd28
      Andrew Morton authored
      5552bd28
    • Andrew Morton's avatar
      [PATCH] Update James Morris's email address · f47ec725
      Andrew Morton authored
      From: James Morris <jmorris@redhat.com>
      f47ec725
    • Andrew Morton's avatar
      [PATCH] ioctl32 fix to SG_IO · 79841dae
      Andrew Morton authored
      From: Arun Sharma <arun.sharma@intel.com>
      
      A minor bug fix to the ioctl32 code handling SG_IO.  sgio->dxferp is not
      initialzed properly.
      79841dae
    • Andrew Morton's avatar
      [PATCH] Fix allyesconfig for HugeTLB-less archs · c9a57afa
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Make that allyesconfig works on architectures that don't support HugeTLBs.
      c9a57afa
    • Andrew Morton's avatar
      [PATCH] Fix compile warning in g_NCR5380 · 8a1d611a
      Andrew Morton authored
      From: Andries.Brouwer@cwi.nl
      
       `generic_NCR5380_biosparam' declared `static' but never defined
      8a1d611a
    • Andrew Morton's avatar
      [PATCH] update Documentation/iostats.txt · 8ff8bd39
      Andrew Morton authored
      From: Rick Lindsley <ricklind@us.ibm.com>
      
      One typo corrected, and the references to 2.5 are minimized and mostly
      changed to 2.6.
      8ff8bd39
    • Andrew Morton's avatar
      [PATCH] /proc/PID/auxv file and NT_AUXV core note · 2e54af56
      Andrew Morton authored
      From: Roland McGrath <roland@redhat.com>
      
      gdb really needs some way to know the AT_SYSINFO_EHDR value for a process
      being debugged or for the dead process described by a core file.  Without
      this value, it can't find the information necessary to show backtraces of
      threads waiting in system calls.  There are any number of ways this
      information could be made available.  Here is one solution that provides
      more debugging information in a clean and general fashion.
      
      I've added access to the AT_* values passed to a process for third parties
      to examine for debugging purposes.  The same data passed on the stack at
      startup is made available in /proc/PID/auxv and is written in an NT_AUXV
      note in core dumps.  (Both of these are consistent with what Solaris does
      using the same names.)
      
      Here are two different patches that implement the same thing differently.
      The first patch uses a ref-counted data structure to copy the aux vector
      and shares among forked mm's until they exec and get a new one.  The second
      patch avoids the complexity of that data structure by simply expanding the
      mm_struct with space to hold a copy of the data.  Both patches work
      correctly; I have examined the new /proc/PID/auxv file and core dumps.
      
      I hope you will consider including one of these patches, or at least some
      way of getting at this information from the debugger.  I am certainly open
      to other suggestions on implementing this feature, and to suggestions on
      alternative interfaces for getting the AT_SYSINFO_EHDR value cleanly.
      2e54af56
    • Andrew Morton's avatar
      [PATCH] misc fixes · e13a7aa5
      Andrew Morton authored
      - mpparse printk should be in hex (john stultz <johnstul@us.ibm.com>)
      
      - fiddle with RCU copyright messages (Dipankar Sarma <dipankar@in.ibm.com>)
      
      - use print_dev_t() for sysfs dev file in videodev.c (Gerd Knorr
        <kraxel@bytesex.org>)
      
      - comx-hw-munich.c 64-bit warning fix (Vinay K Nallamothu
        <vinay.nallamothu@gsecone.com>)
      
      - random.c return val fix
      e13a7aa5
    • Andrew Morton's avatar
      [PATCH] befs: fix resource leak on register_filesystem failure · 9230fbc5
      Andrew Morton authored
      From: Will Dyson <will_dyson@pobox.com>
      
      Remember to free the inode cache if register_filesystem() fails.
      9230fbc5
    • Andrew Morton's avatar
      [PATCH] scripts/pnmtologo.c warning fixes · 1f6fcc21
      Andrew Morton authored
      From: Rolf Eike Beer <eike-kernel@sf-tec.de>
      
      this patch makes some ints to unsigned ints.  They are only used as loop
      counters and compared to unsigned ints.  GCC 3.3 doesn't like this.  They
      will never be negative anyway, so we could easily shut him up.
      1f6fcc21
    • Andrew Morton's avatar
      [PATCH] Pass nameidata to security_inode_permission hook · d5f1f9dd
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch changes the security_inode_permission hook to also take a
      nameidata parameter in addition to the existing inode and mask parameters. 
      
      A nameidata is already passed (although sometimes NULL) to
      fs/namei.c:permission(), and the patch changes exec_permission_lite() to
      also take a nameidata parameter so that it can pass it along to the
      security hook.
      
      The patch includes corresponding changes to the SELinux module to use the
      nameidata information when it is available; this allows SELinux to include
      pathname information in audit messages when a nameidata structure was
      supplied.
      d5f1f9dd
    • Andrew Morton's avatar
      [PATCH] Fix bug in SELinux convert_context · 4dfbe983
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch fixes a bug introduced by earlier code cleanups in the SELinux
      convert_context code that manifests upon a policy reload that removes
      previously valid security attributes.  Thanks to Magosanyi Arpad for
      reporting the bug.
      4dfbe983
    • Andrew Morton's avatar
      [PATCH] fix memleak in mtd/chips/cfi_cmdset_0020.c · ff2de3b3
      Andrew Morton authored
      From: Felipe W Damasio <felipewd@terra.com.br>
      
      If other kmallocs failed after successfully allocating a "struct mtd_info",
      it should be freed before returning NULL.
      ff2de3b3