diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-08-29 09:30:41 +0200 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-08-29 09:31:47 +0200 | 
| commit | eebc57f73d42095b778e899f6aa90ad050c72655 (patch) | |
| tree | 2ba80c75e9284093e6d7606dbb1b6a4bb752a2a5 /security/capability.c | |
| parent | d3a247bfb2c26f5b67367d58af7ad8c2efbbc6c1 (diff) | |
| parent | 2a4ab640d3c28c2952967e5f63ea495555bf2a5f (diff) | |
Merge branch 'for-ingo' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-sfi-2.6 into x86/apic
Merge reason: the SFI (Simple Firmware Interface) feature in the ACPI
              tree needs this cleanup, pull it into the APIC branch as
	      well so that there's no interactions.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'security/capability.c')
| -rw-r--r-- | security/capability.c | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/security/capability.c b/security/capability.c index 21b6cead6a8e..88f752e8152c 100644 --- a/security/capability.c +++ b/security/capability.c @@ -330,15 +330,6 @@ static int cap_file_ioctl(struct file *file, unsigned int command,  	return 0;  } -static int cap_file_mmap(struct file *file, unsigned long reqprot, -			 unsigned long prot, unsigned long flags, -			 unsigned long addr, unsigned long addr_only) -{ -	if ((addr < mmap_min_addr) && !capable(CAP_SYS_RAWIO)) -		return -EACCES; -	return 0; -} -  static int cap_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,  			     unsigned long prot)  { | 
