Re: Security: Replace dac_mmap_min_addr to mmap_min_addr in cap_file_mmap()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Amerigo Wang
Date: Wednesday, April 14, 2010 - 12:35 am

On Wed, Apr 14, 2010 at 01:50:40PM +0800, wzt wzt wrote:

round_hint_to_min() will be called by mmap().

As the names tell you, mmap_min_addr will be checked by mmap(),
dac_mmap_min_addr will be checked for CAP_SYS_RAWIO.

Please check commit 788084ab, as Eric suggested.


Yes, I think the comment needs to be fixed.

Thanks.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Security: Replace dac_mmap_min_addr to mmap_min_addr i ..., Amerigo Wang, (Wed Apr 14, 12:35 am)