1. 17 Jun, 2011 3 commits
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 · add79446
      Linus Torvalds authored
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
        OMAP1: PM: register notifiers with generic clock ops even when !PM_RUNTIME
        omap: pandora: fix NAND support
        OMAP: PM: omap_device: fix device power domain callbacks
        OMAP: PM debug: fix section mismatch warnings
      add79446
    • David Howells's avatar
      KEYS/DNS: Fix ____call_usermodehelper() to not lose the session keyring · 87966996
      David Howells authored
      ____call_usermodehelper() now erases any credentials set by the
      subprocess_inf::init() function.  The problem is that commit
      17f60a7d ("capabilites: allow the application of capability limits
      to usermode helpers") creates and commits new credentials with
      prepare_kernel_cred() after the call to the init() function.  This wipes
      all keyrings after umh_keys_init() is called.
      
      The best way to deal with this is to put the init() call just prior to
      the commit_creds() call, and pass the cred pointer to init().  That
      means that umh_keys_init() and suchlike can modify the credentials
      _before_ they are published and potentially in use by the rest of the
      system.
      
      This prevents request_key() from working as it is prevented from passing
      the session keyring it set up with the authorisation token to
      /sbin/request-key, and so the latter can't assume the authority to
      instantiate the key.  This causes the in-kernel DNS resolver to fail
      with ENOKEY unconditionally.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarEric Paris <eparis@redhat.com>
      Tested-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      87966996
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · eb96c925
      Linus Torvalds authored
      * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm/radeon/kms: use helper functions for fence read/write
        drm/radeon/kms: set DP link config properly for DP bridges
        drm/radeon/kms/atom: AdjustPixelClock fixes for DP bridges
        drm/radeon/kms: fix handling of DP to LVDS bridges
        drm/radeon/kms: issue blank/unblank commands for ext encoders
        drm/radeon/kms: fix support for DDC on dp bridges
        drm/radeon/kms: add support for load detection on dp bridges
        drm/radeon/kms: add missing external encoder action
        drm/radeon/kms: rework atombios_get_encoder_mode()
        drm/radeon/kms: fix num crtcs for Cedar and Caicos
        Revert "drm/i915: Enable GMBUS for post-gen2 chipsets"
        drivers/gpu/drm: use printk_ratelimited instead of printk_ratelimit
        drm/radeon: workaround a hw bug on some radeon chipsets with all-0 EDIDs.
        drm: make debug levels match in edid failure code.
        drm/radeon/kms: clear wb memory by default
        drm/radeon/kms: be more pedantic about the g5 quirk (v2)
        drm/radeon/kms: signed fix for evergreen thermal
        drm: populate irq_by_busid-member for pci
      eb96c925
  2. 16 Jun, 2011 37 commits