Re: kernel locking for releasing incore security

From: Hawk Xu (h.xu@private)
Date: Wed Dec 07 2005 - 17:06:40 PST


Hi!

Serge E. Hallyn wrote:

>Right, within reason.
>
>	1. In
>		inode_free_security(struct inode *my_inode) {
>		}
>	you don't need to lock my_inode, because it won't be accessed by
>	anyone else at that point.
>
>  
>
What about my_inode->i_security? Will it be accessed by anyone else at 
this point? I'm sure that the data pointed by i_security is not shared 
with anyone else.

And what about task->security at the point of task_free_security?


Thanks!


-- 
Best regards,

Hawk Xu, M.S.C.S.
h.xu `echo "ta"|rev` 163 `echo "tod"|rev` com



This archive was generated by hypermail 2.1.3 : Wed Dec 07 2005 - 17:07:47 PST