1. 25 Jun, 2003 30 commits
    • Andrew Morton's avatar
      [PATCH] Column counting fix in n_tty.c · 4f758d8f
      Andrew Morton authored
      From: Chris Heath <chris@heathens.co.nz>
      
      Here's a column counting bug that was lurking in a corner of n_tty.c.
      4f758d8f
    • Andrew Morton's avatar
      [PATCH] workaround for smb_proc_getattr oops · 1a5cf580
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@linuxpower.ca>
      
      smbfs tends to oops over a null server->ops->getattr in smb_proc_getattr().
      
      Urban says:
      
       In 2.5 the server->ops is initialized when smbfs gets a connection, to
       match whatever the server is capable of or not. This happens after the
       mount syscall so smbfs is then mounted but not usable.
      
       Not sure if smb_lookup is always called before any other operation that
       uses server->ops. If it is then it would be enough to have a test there.
      
       Otherwise I will just change all users of server->ops to verify the
       pointer first and return -EIO or something.
      
      Al Viro says (paraphrasing)
      
       ugh, we need mount2().
      
      It doesn't look to me like we'll be getting mount2() in the 2.6 timeframe.
      Zwane's patch implement's Urban's workaround.
      1a5cf580
    • Andrew Morton's avatar
      [PATCH] dentry->d_count fixes: hpfs · 06171a48
      Andrew Morton authored
      From: Maneesh Soni <maneesh@in.ibm.com>
      
      - hpfs_unlink() can race with lockless d_lookup(), as we can have situations
        where d_lookup() has successfully looked-up a dentry and at the sametime
        hpfs_unlink()--->d_drop() has dropped it. Taking the per dentry lock
        before checking the d_count in hpfs_unlink() solves this race condition.
      06171a48
    • Andrew Morton's avatar
      [PATCH] dentry->d_count fixes: nfs_unlink · e59317b4
      Andrew Morton authored
      From: Maneesh Soni <maneesh@in.ibm.com>
      
      - nfs_unlink() can race with lockless d_lookup() as d_lookup() can
        successfully lookup a dentry for which nfs_unlink() can assume that no one
        else is using and can go ahead and do nfs_safe_remove() on it. By using
        per dentry lock, it is solved as we d_lookup() will fail the lookup for
        unhashed dentries.
      e59317b4
    • Andrew Morton's avatar
      [PATCH] dentry->d_count fixes: d_invalidate · 67ae67d5
      Andrew Morton authored
      From: Maneesh Soni <maneesh@in.ibm.com>
      
      - d_invalidate() can incorrectly return success instead of returning -EBUSY
        as we can have situations where lockless d_lookup has found a dentry
        successfully before d_invalidate drops it
      67ae67d5
    • Andrew Morton's avatar
      [PATCH] get_unmapped_area() speedup · 91bf7a38
      Andrew Morton authored
      From: Ingo Molnar
      
      Apparently our thread-creation performance has gone down the tubes again,
      because the mm.free_area_cache search heuristic broke.
      
      The initial, more naive hole-cache patch helped the testcode in the
      beginning.  Then after some point glibc started creating a 'small hole' in
      the vmas, which hole was _below_ the thread stacks, and which hole thus
      prevented the intended operation of the cache.
      
      The new code solves the problem by relaxing the 'smallest address hole cache'
      rule a bit, the cache is now not re-set at every get_unmapped_area() time,
      it's only re-set during unmaps.  It's also re-set if there are no allocatable
      mappings at all - ie.  correctness is not affected.
      91bf7a38
    • Andrew Morton's avatar
      [PATCH] common name for the kernel DSO · 212d286c
      Andrew Morton authored
      From: David Mosberger <davidm@napali.hpl.hp.com>
      
      Give the ia32 vsyscall DSO the same name as ia64's.
      212d286c
    • Andrew Morton's avatar
      [PATCH] AT_SECURE auxv entry · 177be0a4
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch adds an AT_SECURE auxv entry to pass a boolean flag indicating
      whether "secure mode" should be enabled (i.e.  sanitize the environment,
      initial descriptors, etc) and allows each security module to specify the
      flag value via a new hook.
      
      New userland can then simply obey this flag when present rather than
      applying other methods of deciding (sample patch for glibc-2.3.2 can be
      found at http://www.cs.utah.edu/~sds/glibc-secureexec.patch).
      
      This change enables security modules like SELinux to request secure mode
      upon changes to other security attributes (e.g.  capabilities,
      roles/domains, etc) in addition to uid/gid changes or even to completely
      override the legacy logic.
      
      The legacy decision algorithm is preserved in the default hook functions
      for the dummy and capability security modules.
      
      Credit for the idea of adding an AT_SECURE auxv entry goes to Roland
      McGrath.
      177be0a4
    • Andrew Morton's avatar
      [PATCH] misc fixes · b10b09be
      Andrew Morton authored
      - unused var warning in pnp_add_irq_resource()
      
      - unused var in fd_mcs.c (Adrian Bunk)
      
      - remove dead code in i810_main.c (a u8 cannot exceed 255) (Adrian Bunk)
      
      - don't truncate dma_addr_t's in gdth.c (Jes Sorensen)
      
      - vgastate.c needs vmalloc.h (Geert Uytterhoeven <geert@linux-m68k.org>)
      
      - revert bogus test from rd_open() - it was a 2.4 forward-port, and 2.5
        doesn't need it.  (The gendisks aren't registered, we cannot get there
        anyway).
      b10b09be
    • Andrew Morton's avatar
      [PATCH] setscheduler needs to force a reschedule · 71c19018
      Andrew Morton authored
      From: Robert Love <rml@tech9.net>
      
      Basically, the problem is that setscheduler() does not set need_resched
      when needed.  There are two basic cases where this is needed:
      
      	- the task is running, but now it is no longer the highest
      	  priority task on the rq
      	- the task is not running, but now it is the highest
      	  priority task on the rq
      
      In either case, we need to set need_resched to invoke the scheduler.
      71c19018
    • Andrew Morton's avatar
      [PATCH] show_stack fix · dc0cf8b1
      Andrew Morton authored
      sysrq-T currently displays the same stack trace for every process.
      
      Teach show_stack() to look in the passed task_struct first if the caller did
      not pass in a stack address.
      dc0cf8b1
    • Andrew Morton's avatar
      [PATCH] GCC 2.95.4 needs the spinlock workaround · 8b13d89a
      Andrew Morton authored
      From: Mikael Pettersson <mikpe@csd.uu.se>
      
      2.5.73 removed the workaround needed to prevent gcc-2.95.x from
      miscompiling spinlocks on UP.  It turns out that some versions of
      gcc-2.95 still do have problems with empty structs, so re-introduce
      the workaround.
      8b13d89a
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.5 · 92ce78fd
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/pci-2.5
      92ce78fd
    • Greg Kroah-Hartman's avatar
      PCI Hotplug: add fake PCI hotplug driver. · 309e1ca8
      Greg Kroah-Hartman authored
      Useful for testing hotplug issues with pci drivers.
      309e1ca8
    • Greg Kroah-Hartman's avatar
      272412c0
    • Greg Kroah-Hartman's avatar
      [PATCH] PCI Hotplug: fix core problem with kobject lifespans. · 69f8d663
      Greg Kroah-Hartman authored
      Added needed release function, now all pci hotplug drivers need to implement
      it...
      69f8d663
    • Matthew Wilcox's avatar
      [PATCH] PCI: fixes for pci/probe.c · 5b528b00
      Matthew Wilcox authored
       - Combine pci_alloc_primary_bus_parented into pci_scan_bus_parented.
       - Move the EXPORT_SYMBOL for pci_root_buses up to its definition.
       - Don't EXPORT_SYMBOL pci_scan_bus since it's a static inline.
       - Add the pci_domain_nr() to the sysfs name for this bus.
      5b528b00
    • Matthew Wilcox's avatar
      [PATCH] PCI: more PCI gubbins · 02b546b6
      Matthew Wilcox authored
      I noticed we have a couple of redundancies in drivers/pci/Makefile,
      have a patch...
      02b546b6
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5 · 23dabca3
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      23dabca3
    • Ralf Bächle's avatar
      [netdrvr] misc small mips updates · 89aaa1a6
      Ralf Bächle authored
      Add missing CONFIG_TC35805 entry to Kconfig.
      Update CONFIG_NET_SB1250_MAC Kconfig entry.
      Minor cosmetic updates to gt96100eth.
      89aaa1a6
    • Ralf Bächle's avatar
      [netdrvr tulip] add mips cobalt support · 294b5f14
      Ralf Bächle authored
      294b5f14
    • Ralf Bächle's avatar
      [netdrvr] update sb1250-mac · 8e21c010
      Ralf Bächle authored
      8e21c010
    • Ralf Bächle's avatar
      [netdrvr] au1000_eth update · aadf0cf9
      Ralf Bächle authored
      aadf0cf9
    • Ralf Bächle's avatar
      [netdrvr] update declance · 3f8e1a1d
      Ralf Bächle authored
      3f8e1a1d
    • Ralf Bächle's avatar
      [netdrvr] update ioc3_eth · 022dc70e
      Ralf Bächle authored
      022dc70e
    • Ralf Bächle's avatar
      [netdrvr] sgiseeq update · f0e373dc
      Ralf Bächle authored
      f0e373dc
    • Ralf Bächle's avatar
      e3e33952
    • Jeff Garzik's avatar
      [irda] add driver for mips Alchemy Au1000 SIR/FIR · 6acd6bab
      Jeff Garzik authored
      Submitted by Ralf Baechle <ralf@linux-mips.org>
      6acd6bab
    • Randy Dunlap's avatar
      [PATCH] Unionize IO-APIC registers · 45fad661
      Randy Dunlap authored
      [ Registers of the world, unite! ]
      
      This makes the IO-APIC data structures use unions, so that we can
      cleanly access them both as flat "raw" values, and as the bitmap
      sub-entries.
      45fad661
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · 1d8c1ffb
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      1d8c1ffb
  2. 26 Jun, 2003 1 commit
  3. 25 Jun, 2003 1 commit
  4. 24 Jun, 2003 8 commits
    • Stephen Hemminger's avatar
      [PATCH] 2.5.70 - eepro100 - use alloc_etherdev · 758a617c
      Stephen Hemminger authored
      Ignore earlier patch -- this one locks and free's as appropriate.
      Tested on 2.5.72 with SMP.
      
      Of course, it begs the question why have two (now three) versions of drivers for
      the same hardware...
      758a617c
    • Scott Feldman's avatar
      [PATCH] Remove CAP_NET_ADMIN check for SIOCETHTOOL's · 88695870
      Scott Feldman authored
      dev_ioctl already checks capable(CAP_NET_ADMIN), so no need to do so in
      drivers.
      88695870
    • Daniel Ritz's avatar
      [PATCH] alloc_etherdev for smc91c92_cs · ada4d464
      Daniel Ritz authored
      net_device is no longer allocated as part of the driver's private structure,
      instead it's allocated via alloc_netdev. compile tested only since no hardware
      against 2.5.73-bk
      
      
      -daniel
      
      ===== smc91c92_cs.c 1.18 vs edited =====
      ada4d464
    • Daniel Ritz's avatar
      [PATCH] alloc_etherdev for nmclan_cs · ee2577f0
      Daniel Ritz authored
      net_device is no longer allocated as part of the driver's private structure,
      instead it's allocated via alloc_netdev. compile tested only since no hardware
      against 2.5.73-bk
      
      
      -daniel
      
      ===== nmclan_cs.c 1.14 vs edited =====
      ee2577f0
    • Daniel Ritz's avatar
      [PATCH] alloc_etherdev for fmvj18x_cs · d3e4b9dd
      Daniel Ritz authored
      net_device is no longer allocated as part of the driver's private structure,
      instead it's allocated via alloc_netdev. compile tested only since no hardware
      against 2.5.73-bk
      
      
      -daniel
      
      ===== fmvj18x_cs.c 1.21 vs edited =====
      d3e4b9dd
    • Daniel Ritz's avatar
      [PATCH] alloc_etherdev for 3c589_cs · 3c944835
      Daniel Ritz authored
      net_device is no longer allocated as part of the driver's private structure,
      instead it's allocated via alloc_netdev. compile tested only since no hardware
      against 2.5.73-bk
      
      
      -daniel
      
      ===== drivers/net/pcmcia/3c589_cs.c 1.17 vs edited =====
      3c944835
    • Daniel Ritz's avatar
      [PATCH] alloc_etherdev for 3c574_cs · be42dd4c
      Daniel Ritz authored
      net_device is no longer allocated as part of the driver's private structure,
      instead it's allocated via alloc_netdev. compile tested only since no hardware
      against 2.5.73-bk
      
      
      -daniel
      
      
      ===== drivers/net/pcmcia/3c574_cs.c 1.17 vs edited =====
      be42dd4c
    • Paul Mackerras's avatar
      Merge samba.org:/stuff/paulus/kernel/linux-2.5 · 4d4f47fc
      Paul Mackerras authored
      into samba.org:/stuff/paulus/kernel/for-linus-ppc
      4d4f47fc