1. 30 9月, 2005 3 次提交
  2. 29 9月, 2005 5 次提交
    • R
      [ARM] Don't include mach-types.h unnecessarily · fc611a1a
      Russell King 提交于
      It's pointless to include mach-types.h if you're not going to use
      anything from it.  These references were removed as a result of:
      
      grep -lr 'asm/mach-types\.h' . | xargs grep -L 'machine_is_\|MACH_TYPE_\|MACHINE_START\|machine_type'
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      fc611a1a
    • R
      [ARM] Don't include asm/arch/hardware.h directly · d0877904
      Russell King 提交于
      Since asm/hardware.h's only reason for existing is to include
      asm/arch/hardware.h, it's completely pointless to include both.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d0877904
    • R
      [ARM] Fix warning in arch/arm/mach-pxa/generic.c · eb9181a2
      Russell King 提交于
      Fix
       arch/arm/mach-pxa/generic.c:242: warning: 'struct i2c_pxa_platform_data' declared inside parameter list
      caused by missing asm/arch/i2c.h include.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      eb9181a2
    • R
      [ARM] pxafb: Remove #if DEBUG, convert DPRINTK to pr_debug · ca5da710
      Russell King 提交于
      Fix warning:
       drivers/video/pxafb.h:119:5: warning: "DEBUG" is not defined
      by removing the whole
       #if DEBUG
       #define DPRINTK(fmt, args...) printk...etc...
       #else
       #define DPRINTK(fmt, args...)
       #endif
      stuff - we have pr_debug() for this.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ca5da710
    • D
      [PATCH] Keys: Add possessor permissions to keys [try #3] · 664cceb0
      David Howells 提交于
      The attached patch adds extra permission grants to keys for the possessor of a
      key in addition to the owner, group and other permissions bits. This makes
      SUID binaries easier to support without going as far as labelling keys and key
      targets using the LSM facilities.
      
      This patch adds a second "pointer type" to key structures (struct key_ref *)
      that can have the bottom bit of the address set to indicate the possession of
      a key. This is propagated through searches from the keyring to the discovered
      key. It has been made a separate type so that the compiler can spot attempts
      to dereference a potentially incorrect pointer.
      
      The "possession" attribute can't be attached to a key structure directly as
      it's not an intrinsic property of a key.
      
      Pointers to keys have been replaced with struct key_ref *'s wherever
      possession information needs to be passed through.
      
      This does assume that the bottom bit of the pointer will always be zero on
      return from kmem_cache_alloc().
      
      The key reference type has been made into a typedef so that at least it can be
      located in the sources, even though it's basically a pointer to an undefined
      type. I've also renamed the accessor functions to be more useful, and all
      reference variables should now end in "_ref".
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      664cceb0
  3. 28 9月, 2005 32 次提交