Re: [PATCH] rework/fix is_single_threaded()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Smalley
Date: Thursday, April 16, 2009 - 7:36 am

On Thu, 2009-04-16 at 15:36 +0200, Oleg Nesterov wrote:

In the SELinux case, we care about shared VM space.   The purpose of the
check for SELinux is to prevent the security contexts of tasks that
share a VM from diverging from one another, as we cannot enforce any
separation among them.


Right.  In the SELinux case, we will only ever call it with p ==
current, and if you want to make that explicit by dropping the task
argument and directly acting on current, feel free.

-- 
Stephen Smalley
National Security Agency

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

Messages in current thread:
[PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Mon Apr 13, 2:45 pm)
Re: [PATCH] rework/fix is_single_threaded(), Andrew Morton, (Wed Apr 15, 4:32 pm)
Re: [PATCH] rework/fix is_single_threaded(), David Howells, (Thu Apr 16, 3:04 am)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Thu Apr 16, 6:36 am)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Thu Apr 16, 6:40 am)
Re: [PATCH] rework/fix is_single_threaded(), Stephen Smalley, (Thu Apr 16, 7:36 am)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Thu Apr 16, 7:54 am)
Re: [PATCH] rework/fix is_single_threaded(), Andrew Morton, (Thu Jun 18, 12:07 pm)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Thu Jun 18, 12:42 pm)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Mon Jun 22, 10:14 am)
Re: [PATCH] rework/fix is_single_threaded(), Andrew Morton, (Mon Jun 22, 11:51 am)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Mon Jun 22, 12:24 pm)
Re: [PATCH] rework/fix is_single_threaded(), Andrew Morton, (Mon Jun 22, 2:04 pm)
Re: [PATCH] rework/fix is_single_threaded(), David Howells, (Thu Jul 9, 6:01 am)
Re: [PATCH] rework/fix is_single_threaded(), Oleg Nesterov, (Thu Jul 9, 2:25 pm)