1. 29 Dec, 2003 36 commits
    • Andrew Morton's avatar
      [PATCH] EFI support for ia32 · c596442a
      Andrew Morton authored
      From: Matt Tolentino <metolent@snoqualmie.dp.intel.com>
      
      Attached is a patch that enables EFI boot-up support in ia32 kernels.
      
      In order to continue to determine whether the kernel should initialize using
      EFI tables, I've temporarily added a check on the LOADER_TYPE boot parameter.
       Although I haven't requested that elilo be assigned an id for this yet, I've
      used this to determine whether the kernel should use the EFI initialization
      path as well as a check to see if the EFI_SYSTAB boot parameter contains
      anything.  If someone has a better suggestion for determining this, I'm
      open...
      
      This patch also uses the existing ioremapping functions to map the efi tables
      into kernel virtual address space.  I've added an option such that I could
      use Dave Hansen's boot_ioremap() before paging_init().  After paging_init, I
      then remap the efi memmap using bt_ioremap for use later.  This has
      eliminated the need for several functions...thanks for the suggestions and
      thanks for your help Dave.  Still this could use a look-see.
      c596442a
    • Andrew Morton's avatar
      [PATCH] ia32 Message Signalled Interrupt support · f036d4ea
      Andrew Morton authored
      From: long <tlnguyen@snoqualmie.dp.intel.com>
      
      
      Add support for Message Signalled Interrupt delivery on ia32.
      
      With a fix from Zwane Mwaikambo <zwane@arm.linux.org.uk>
      f036d4ea
    • Andrew Morton's avatar
      [PATCH] futex uninlining · 82b699a6
      Andrew Morton authored
                 text    data     bss     dec     hex filename
      Before:    4674    1040    4100    9814    2656 kernel/futex.o
      After:     4098    1176    4100    9374    249e kernel/futex.o
      82b699a6
    • Andrew Morton's avatar
      [PATCH] make /proc/tty/driver/ S_IRUSR | S_IXUSR for root only · 4b66a41d
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Fix for CAN-2003-0461: /proc/tty/driver/serial in Linux 2.4.x reveals the
      exact number of characters used in serial links, which could allow local
      users to obtain potentially sensitive information such as the length of
      passwords.
      4b66a41d
    • Andrew Morton's avatar
      [PATCH] fix suid leak in /proc · ce3323db
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Fix for CAN-2003-0501: The /proc filesystem in Linux allows local users to
      obtain sensitive information by opening various entries in /proc/self
      before executing a setuid program, which causes the program to fail to
      change the ownership and permissions of those entries.
      ce3323db
    • Andrew Morton's avatar
      [PATCH] fix unsigned issue with env_end - env_start · d585d2c0
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Fix for CAN-2003-0462:  A race condition in the way env_start and
      env_end pointers are initialized in the execve system call and used in
      fs/proc/base.c on Linux 2.4 allows local users to cause a denial of
      service (crash).
      d585d2c0
    • Andrew Morton's avatar
      [PATCH] use new steal_locks helper · 02c541ec
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Use the new steal_locks helper to steal the locks from the old files struct
      left from unshare_files() when the new unshared struct files gets used.
      02c541ec
    • Andrew Morton's avatar
      [PATCH] add steal_locks helper · 088f5d72
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Add steal_locks helper for use in conjunction with unshare_files to make
      sure POSIX file lock semantics aren't broken due to unshare_files.
      088f5d72
    • Andrew Morton's avatar
      [PATCH] use new unshare_files helper · 04e9bcb4
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Use unshare_files during binary loading to eliminate potential leak of
      the binary's fd installed during execve().  As is, this breaks
      binfmt_som.c
      04e9bcb4
    • Andrew Morton's avatar
      [PATCH] unshare_files · 02cda956
      Andrew Morton authored
      From: Chris Wright <chrisw@osdl.org>
      
      Introduce unshare_files as a helper for use during execve to eliminate
      potential leak of the execve'd binary's fd.
      02cda956
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/compat-aio-2.6 · 3a8d5347
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      3a8d5347
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/disk1/davem/BK/compat-aio-2.5 · 30ca6c0b
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/compat-aio-2.5
      30ca6c0b
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-exp · 42c1faa2
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      42c1faa2
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · 0b170e19
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      0b170e19
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/usb-devel-2.6 · 9ade0432
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      9ade0432
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.5 · 3a613294
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/sparc-2.5
      3a613294
    • Pete Zaitcev's avatar
      [SPARC]: Get sun4c functional again in 2.6.0 · f2a39c2b
      Pete Zaitcev authored
      Move some elements of task_struct into thread_info so that
      these elements are locked into the TLB in the trap handlers
      and thus will not cause a watchdog reset.
      f2a39c2b
    • Linus Torvalds's avatar
      Fix ATA 64-bit divides with CONFIG_LBD. · 88891ed3
      Linus Torvalds authored
      Use "sector_div()" to do the division, that's what it
      exists for.
      88891ed3
    • David S. Miller's avatar
      Merge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.5 · 361d16e2
      David S. Miller authored
      into nuts.ninka.net:/disk1/davem/BK/sparc-2.5
      361d16e2
    • Arnaud Quette's avatar
      [PATCH] USB: disable hiddev support for MGE UPS · ad2188e3
      Arnaud Quette authored
      following my recent posts on libusb-devel and hidups, here's
      a patch to disable hiddev support for MGE UPSs. It only
      declares VID/PID as QUIRK_IGNORE in hid-core's blacklist.
      This simply prevent hiddev to be loaded when plugging
      an MGE UPS.
      ad2188e3
    • David Brownell's avatar
      [PATCH] USB: let USB_{PEGASUS,USBNET} depend on NET_ETHERNET · 4606bd17
      David Brownell authored
      Adrian Bunk wrote:
      > I observed the following small problem in 2.6:
      >
      > - MII depends on NET_ETHERNET
      > - USB_PEGASUS and USB_USBNET select MII, but they depend only on NET
      >
      > The patch below lets USB_PEGASUS and USB_USBNET depend on NET_ETHERNET
      > instead of NET to fix this issue.
      
      Actually how about this one instead?  The PEGASUS bit is the same.
      The difference is that MII (and CRC32) are only attributed to the
      driver code that needs those ... AX8817X needs both, ZAURUS just
      needs CRC32.  The core (which should eventually become a separate
      module) shouldn't depend on those modules at all.
      
      Also both CDCETHER and AX8817X are marked as non-experimental;
      I recall Dave Hollis submitted a patch to do that for AX8817X,
      and CDCETHER now seems to have gotten enough success reports too.
      4606bd17
    • David Brownell's avatar
      [PATCH] USB: ethernet gadget supports goku_udc · 3b99c1c4
      David Brownell authored
      This patch just adds TC86c001 (goku) UDC support to
      the "ether.c" gadget driver.  This hardware supports
      a full speed CDC Ethernet interface.
      3b99c1c4
    • David Brownell's avatar
      [PATCH] USB: gadget zero updates · 4a0764a0
      David Brownell authored
      Small updates:
      
         - support TC86c001 (goku_udc) controller
         - simplify the per-controller configuration
         - add two vendor requests to test control-OUT
         - some minor fixes
      4a0764a0
    • David Brownell's avatar
      [PATCH] USB: <linux/usb_gadget.h> doc updates · df4dfbbd
      David Brownell authored
      As more people have been using this API, the need for some
      clarifications has (no surprise!) came up.
      
      Most significant is the halt processing, needed to make
      Alan's "File Storage Gadget" (mass storage class, talks
      to usb-storage and Windows) handle fault cases cleanly.
      Gadget drivers can't halt IN endpoints until the FIFO is
      emptied by the host ...  virtually no hardware tries to
      sequence the DATA and STALL packets by itself.
      df4dfbbd
    • Adam Kropelin's avatar
      [PATCH] USB: Stop hiddev generating empty events · d3d1e308
      Adam Kropelin authored
      hiddev is mistakenly returning empty hiddev_event structures for report
      events. According to Documentation/usb/hiddev.txt, report events are
      only sent when HIDDEV_FLAG_REPORT and HIDDEV_FLAG_UREF are both set.
      Currently, report events from hid cause hiddev to generate empty
      hiddev_event events when HIDDEV_FLAG_UREF is not set.
      d3d1e308
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/libata-2.5 · e241138a
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      e241138a
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/linux-2.5 · a76a8a35
      Jeff Garzik authored
      into redhat.com:/spare/repo/libata-2.5
      a76a8a35
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.5 · 7629bad2
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      7629bad2
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/linux-2.5 · 8a2e73e1
      Jeff Garzik authored
      into redhat.com:/spare/repo/net-drivers-2.5
      8a2e73e1
    • Wim Van Sebroeck's avatar
      [PATCH] Watchdog update · 4c538d4e
      Wim Van Sebroeck authored
      Kconfig:
         Reflect new watchdog Documentation directory.
      
      [USB] hid blacklist addition:
         Add the Berkshire Products USB PC Watchdog to the hid blacklist.
         This to avoid problems with USB-Disconnects when the card feels it
         should reboot...
      4c538d4e
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/linux/BK/bleed-2.5 · a59205e0
      Greg Kroah-Hartman authored
      into kroah.com:/home/linux/BK/usb-new_drivers-2.6
      a59205e0
    • Linus Torvalds's avatar
      Don't print out I/O error warnings for non-filesystem requests. · dbf8623b
      Linus Torvalds authored
      The errors will be reported by the code that started the request,
      and printing out "sector numbers" for special requests makes no
      sense. 
      dbf8623b
    • Ingo Molnar's avatar
      [PATCH] Fix context switch accounting · f71d2899
      Ingo Molnar authored
      Noted by Nick Piggin, fix based on a patch by Linus.
      
      I've done some additional cleanups: fixed a compilation warning on UP
      and cleaned up the goto pick_next_task code.  Moved the 'unlikely' to
      the test as a whole.
      
      I've tested this patch and the context-switch stats look OK.
      f71d2899
    • Linus Torvalds's avatar
      Turn off UHCI interrupts at initialization. · 5326c535
      Linus Torvalds authored
      The BIOS may have left the USB controller in some strange
      state, and we want to fully initialize it before we are
      ready to handle interrupts.
      5326c535
    • Linus Torvalds's avatar
      Release the mmap semaphore in the legacy 80386 "verify_area()" · 396b282f
      Linus Torvalds authored
      if an error happens.
      396b282f
    • Linus Torvalds's avatar
      Add support for checking before-the-fact whether an IRQ is · d924c951
      Linus Torvalds authored
      already registered or not. The x86 PCI layer wants this for
      its availability testing.
      
      Doing a request_irq()/free_irq() pair to check this condition
      like we used to do can lock the machine if the irq happens to
      be screaming.
      d924c951
  2. 24 Dec, 2003 4 commits
    • Russell King's avatar
      [ARM] Fix a small typo in SA1100 time.h · f23e0372
      Russell King authored
      f23e0372
    • Christopher Hoover's avatar
      [ARM PATCH] 1720/1: SA-1111 IRQ fix (for OHCI USB HC) · 65ba6515
      Christopher Hoover authored
      Patch from Christopher Hoover
      
      dev->irq and dev->skpcr_mask aren't initialized.  this makes the sa-1111 bus glue for the ohci driver fail.
      65ba6515
    • Peter Teichmann's avatar
      [ARM PATCH] 1718/1: vidc.c: remove vidc_mksound, add external reference clock · 7e03417a
      Peter Teichmann authored
      Patch from Peter Teichmann
      
      vidc_mksound causes the kernel to crash badly when executed. As it does not do anything useful I did not take the time to find out why, but removed it.
      
      The vidc does have an external reference clock that is used to generate 44100/20050/10025kHz sample rates. The code is changed in a way that it uses that reference clock that can better approximate the desired clock.
      
      If we can approximate the desired rate to more than 1/256 accuracy, we return the desired rate instead of the real rate. This is to assist using some programs that for instance believe they need exacly 8kHz which we can not have, but we can have 8.018kHz which is pretty close so that nobody would notice the difference.
      7e03417a
    • Woody Suwalski's avatar
      [ARM PATCH] 1737/1: GNU assembler 2.12.90.0.1 on Debian aborts on "'" character · b2570560
      Woody Suwalski authored
      Patch from Woody Suwalski
      
      GNU assembler 2.12.90.0.1 on Debian aborts on "'" character in the arch/arm/lib/div64.S file (in comments).
      
      
      
      Hence I have converted them into accepted English format ;-)
      
      
      
      Woody
      b2570560