login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
10
Re: [PATCH 09/11] security: Protection for exploiting null dereference using mmap
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jan Engelhardt <jengelh@...>
To: James Morris <jmorris@...>
Cc: Linus Torvalds <torvalds@...>, Stephen Smalley <sds@...>, <linux-kernel@...>
Subject:
Re: [PATCH 09/11] security: Protection for exploiting null dereference using mmap
Date: Tuesday, July 10, 2007 - 3:52 am
On Jul 8 2007 22:59, James Morris wrote:
quoted text
>@@ -420,8 +420,12 @@ static int dummy_file_ioctl (struct file *file, unsigned int command, > > static int dummy_file_mmap (struct file *file, unsigned long reqprot, > unsigned long prot, >- unsigned long flags) >+ unsigned long flags, >+ unsigned long addr, >+ unsigned long addr_only) > { >+ if (addr < mmap_min_addr) >+ return -EACCES; > return 0; > } >
Not -EPERM? Jan -- -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/11] SELinux patches for 2.6.23
, James Morris
, (Sun Jul 8, 10:54 pm)
[PATCH 10/11] SELinux: use SECINITSID_NETMSG instead of SECI...
, James Morris
, (Sun Jul 8, 11:00 pm)
[PATCH 07/11] SELinux: allow preemption between transition p...
, James Morris
, (Sun Jul 8, 11:02 pm)
[PATCH 08/11] SELinux: Use %lu for inode->i_no when print...
, James Morris
, (Sun Jul 8, 10:59 pm)
[PATCH 11/11] security: unexport mmap_min_addr
, James Morris
, (Sun Jul 8, 11:01 pm)
[PATCH 06/11] selinux: introduce schedule points in policydb...
, James Morris
, (Sun Jul 8, 10:58 pm)
[PATCH 04/11] selinux: add selinuxfs structure for object cl...
, James Morris
, (Sun Jul 8, 10:57 pm)
[PATCH 09/11] security: Protection for exploiting null deref...
, James Morris
, (Sun Jul 8, 10:59 pm)
Re: [PATCH 09/11] security: Protection for exploiting null d...
, Jan Engelhardt
, (Tue Jul 10, 3:52 am)
Re: [PATCH 09/11] security: Protection for exploiting null d...
, James Morris
, (Tue Jul 10, 9:10 am)
[PATCH 05/11] security: revalidate rw permissions for sys_sp...
, James Morris
, (Sun Jul 8, 10:58 pm)
Re: [PATCH 05/11] security: revalidate rw permissions for sy...
, James Morris
, (Wed Jul 11, 10:04 pm)
Re: [PATCH 05/11] security: revalidate rw permissions for sy...
, Jens Axboe
, (Thu Jul 12, 2:13 am)
[PATCH 03/11] selinux: change sel_make_dir() to specify inod...
, James Morris
, (Sun Jul 8, 10:56 pm)
[PATCH 02/11] selinux: rename sel_remove_bools() for more ge...
, James Morris
, (Sun Jul 8, 10:56 pm)
[PATCH 01/11] selinux: add support for querying object class...
, James Morris
, (Sun Jul 8, 10:55 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Tomasz Kłoczko
Is it time for remove (crap) ALSA from kernel tree ?
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Paweł Staszewski
iproute2 action/policer question
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
729 guests
online.
Online users
strcmp
travelgalds
Syndicate