Skip to content
  1. Oct 23, 2007
    • Eric Paris's avatar
      SELinux: always check SIGCHLD in selinux_task_wait · 8a535140
      Eric Paris authored
      
      
      When checking if we can wait on a child we were looking at
      p->exit_signal and trying to make the decision based on if the signal
      would eventually be allowed.  One big flaw is that p->exit_signal is -1
      for NPTL threads and so aignal_to_av was not actually checking SIGCHLD
      which is what would have been sent.  Even is exit_signal was set to
      something strange it wouldn't change the fact that the child was there
      and needed to be waited on.  This patch just assumes wait is based on
      SIGCHLD.  Specific permission checks are made when the child actually
      attempts to send a signal.
      
      This resolves the problem of things like using GDB on confined domains
      such as in RH BZ 232371.  The confined domain did not have permission to
      send a generic signal (exit_signal == -1) back to the unconfined GDB.
      With this patch the GDB wait works and since the actual signal sent is
      allowed everything functions as it should.
      
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      8a535140
  2. Oct 22, 2007
    • Trond Myklebust's avatar
      55b70a03
    • Trond Myklebust's avatar
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 · efea90a4
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
        Blackfin arch: update boards files
        Blackfin arch: dma add some API and cleanup bf54x DMA definition
        Blackfin arch: cleanup and promote the general purpose timers api to a core blackfin component
        Blackfin arch: add a cheesy install target
        Blackfin arch: add functions for converting between sclks and usecs
        Blackfin arch: add assembly function for doing 64bit unsigned division
        Blackfin arch: -mno-fdpic works
        Blackfin arch: use "char bfin_board_name[]" rather than "char *bfin_board_name" per discussion on lkml as the former uses less storage
        Blackfin arch: Fixing Bug: balance calls to get_task_mm with corresponding mmput calls
        Blackfin serial driver Kconfig: depend on DMA not being enabled rather than a specific DMA size
        Blackfin arch: Fix bug: missing CHIPID register field definition of BF54x
        Blackfin arch: Fix up /proc/cpuinfo so it is like everyone else
        Blackfin arch: Optimization - no need to make additional math here
        Blackfin arch: force irq_flags into the .data section
        Blackfin arch BF548 defconfig: enable watchdog by default
        Blackfin arch: add new processor ADSP-BF52x arch/mach support
      efea90a4
  3. Oct 21, 2007
  4. Oct 22, 2007
  5. Oct 21, 2007
  6. Oct 22, 2007
  7. Oct 21, 2007
  8. Oct 22, 2007
  9. Oct 21, 2007
  10. Oct 20, 2007
    • Kyle McMartin's avatar
      [PARISC] Zap unused variable warnings in pci.c · 7425ada2
      Kyle McMartin authored
      
      
      'bus' was basically useless and 'hba' is only applicable on
      64bit. Sigh, there's got to be a cleaner way to do this...
      
      Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
      7425ada2
    • Linus Torvalds's avatar
      Revert "kconfig: tristate choices with mixed tristate and boolean values" · e8b8c977
      Linus Torvalds authored
      This reverts commit a5bf3d89
      
      .
      
      David Brownell notes that this causes a regression visible in the
      drivers/usb/gadget Kconfig file:
      
        "That Kconfig hasn't changed (other than adding new drivers), and it's
         worked that way for several years now ...  so the issue seems to be
         changes in menuconfig/kconfig/etc semantics.
      
         The issue is that when USB_GADGET=m, it's no longer possible to
         configure peripheral controller drivers as modules ...  the
         controller drivers can now only be configured for static linkage.
      
         It should be making a choice of one of the controller drivers which
         could work on the target system, and allow that driver to be linked
         either as a module (ok iff USB_GADGET=m) or statically."
      
      Reverting this commit resolves the problem, and also fixes a second
      problem that David noticed: various dependent options couldn't be enabled.
      
      Tested-and-reported-by: default avatarDavid Brownell <david-b@pacbell.net>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Cc: Jan Beulich <jbeulich@novell.com>,
      Cc: Andrew Morton <akpm@linux-foundation.org>,
      Cc: Sam Ravnborg <sam@ravnborg.org>,
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e8b8c977