03 Jan, 2006

4 commits

  • Hey, it's fifteen years today since I bought the machine that got Linux
    started. January 2nd is a good date.

    Linus Torvalds
     
  • Otherwise a bad mem policy system call can confuse the interleaving
    code into referencing undefined nodes.

    Originally reported by Doug Chapman

    I was told it's CVE-2005-3358
    (one has to love these security people - they make everything sound important)

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • In commit 3D59121003721a8fad11ee72e646fd9d3076b5679c, the x86 and x86-64
    was changed to include for the
    configurable timer frequency.

    However, asm/param.h is sometimes used in userland (it is included
    indirectly from ), so your commit pollutes the userland
    namespace with tons of CONFIG_FOO macros. This greatly confuses
    software packages (such as BusyBox) which use CONFIG_FOO macros
    themselves to control the inclusion of optional features.

    After a short exchange, Christoph approved this patch

    Signed-off-by: Linus Torvalds

    Dag-Erling Smørgrav
     
  • Some G5s still occasionally experience shutdowns due to overtemp
    conditions despite the recent fix. After analyzing logs from such
    machines, it appears that the overtemp code is a bit too quick at
    shutting the machine down when reaching the critical temperature (tmax +
    8) and doesn't leave the fan enough time to actually cool it down. This
    happens if the temperature of a CPU suddenly rises too high in a very
    short period of time, or occasionally on boot (that is the CPUs are
    already overtemp by the time the driver loads).

    This patches makes the code a bit more relaxed, leaving a few seconds to
    the fans to do their job before kicking the machine shutown.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

01 Jan, 2006

3 commits


31 Dec, 2005

6 commits

  • For the sysctl syscall, if the user wants to get the old value of a
    sysctl entry and set a new value for it in the same syscall, the old
    value is always overwritten by the new value if the sysctl entry is of
    string type and if the user sets its strategy to sysctl_string. This
    issue lies in the strategy being run twice if the strategy is set to
    sysctl_string, the general strategy sysctl_string always returns 0 if
    success.

    Such strategy routines as sysctl_jiffies and sysctl_jiffies_ms return 1
    because they do read and write for the sysctl entry.

    The strategy routine sysctl_string return 0 although it actually read
    and write the sysctl entry.

    According to my analysis, if a strategy routine do read and write, it
    should return 1, if it just does some necessary check but not read and
    write, it should return 0, for example sysctl_intvec.

    Signed-off-by: Yi Yang
    Signed-off-by: Linus Torvalds

    Yi Yang
     
  • If the string was too long to fit in the user-supplied buffer,
    the sysctl layer would zero-terminate it by writing past the
    end of the buffer. Don't do that.

    Noticed by Yi Yang

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • The old /proc interfaces were never updated to use loff_t, and are just
    generally broken. Now, we should be using the seq_file interface for
    all of the proc files, but converting the legacy functions is more work
    than most people care for and has little upside..

    But at least we can make the non-LFS rules explicit, rather than just
    insanely wrapping the offset or something.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This patch fixes a typo introduced by conversion to dynamic input_dev
    allocation.

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Linus Torvalds

    Denny Priebe
     
  • This patch fixes a typo introduced by conversion to dynamic input_dev
    allocation.

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Linus Torvalds

    Dmitry Torokhov
     
  • This patch fixes a typo introduced by conversion to dynamic input_dev
    allocation.

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Linus Torvalds

    Dmitry Torokhov
     

30 Dec, 2005

15 commits


29 Dec, 2005

5 commits


28 Dec, 2005

4 commits

  • As reported by Jules Villard and some others, the
    recent GART aperture start reconfiguration causes problems on some
    setups.

    What I _think_ might be happening is that the X server is also trying to
    muck around with the card memory map and is forcing it back into a wrong
    setting that also happens to no longer match what the DRM wants to do
    and blows up. There are bugs all over the place in that code (and still
    some bugs in the DRM as well anyway).

    This patch attempts to avoid that by using the largest of the 2 values,
    which I think will cause it to behave as it used to for you and will
    still fix the problem with machines that have an aperture size smaller
    than the video memory.

    Acked-by: Jules Villard
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     
  • The below "jumbo" patch fixes the following problems in MLDv2.

    1) Add necessary "ntohs" to recent "pskb_may_pull" check [breaks
    all nonzero source queries on little-endian (!)]

    2) Add locking to source filter list [resend of prior patch]

    3) fix "mld_marksources()" to
    a) send nothing when all queried sources are excluded
    b) send full exclude report when source queried sources are
    not excluded
    c) don't schedule a timer when there's nothing to report

    NOTE: RFC 3810 specifies the source list should be saved and each
    source reported individually as an IS_IN. This is an obvious DOS
    path, requiring the host to store and then multicast as many sources
    as are queried (e.g., millions...). This alternative sends a full,
    relevant report that's limited to number of sources present on the
    machine.

    4) fix "add_grec()" to send empty-source records when it should
    The original check doesn't account for a non-empty source
    list with all sources inactive; the new code keeps that
    short-circuit case, and also generates the group header
    with an empty list if needed.

    5) fix mca_crcount decrement to be after add_grec(), which needs
    its original value

    These issues (other than item #1 ;-) ) were all found by Yan Zheng,
    much thanks!

    Signed-off-by: David L Stevens
    Signed-off-by: David S. Miller

    David L Stevens
     
  • Currently the checks are scattered all over and this leads
    to inconsistencies and even cases where the check is not made.

    Based upon a patch from Kris Katterjohn.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • We need to release idev->lcok before we call addrconf_dad_stop().
    It calls ipv6_addr_del(), which will hold idev->lock.

    Bug spotted by Yasuyuki KOZAKAI .

    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki
     

27 Dec, 2005

3 commits