Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Monday, January 29, 2007 - 11:18 am

On Mon, 2007-01-29 at 09:37 -0800, Andrew Morton wrote:

For architectures with a split address space there has to be a call
set_fs(USER_DS) that switches from KERNEL_DS to USER_DS for the init
process. So far this has been done in search_binary_handler and
traditionally the kernel starts with KERNEL_DS to make the early
copy_from_user calls work.
So, what is wrong with always setting USER_DS? We are starting a user
space process after all.

-- 
blue skies,
  Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.


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

Messages in current thread:
Re: + mm-search_binary_handler-mem-limit-fix.patch added t ..., Martin Schwidefsky, (Mon Jan 29, 11:18 am)
Re: + mm-search_binary_handler-mem-limit-fix.patch added t ..., Dmitriy Monakhov, (Mon Jan 29, 10:40 pm)
Re: + mm-search_binary_handler-mem-limit-fix.patch added t ..., Martin Schwidefsky, (Tue Jan 30, 5:23 am)