Re: [PATCH] security_task_lookup hook

From: Serge Hallyn (serue@private)
Date: Mon Aug 16 2004 - 12:43:34 PDT


> For consistency, shouldn't the same hook also be called by
> proc_pid_lookup?

Oh, but note that the combination of security_inode_permission() and
security_task_to_inode() does achieve the same effect as enhancing
proc_pid_lookup().  It's certainly not as clean or obvious, but it might
be used an argument against it.  Is the advantage of using this one hook
for both purposes sufficient motivation?

-serge
-- 
=======================================================
Serge Hallyn
Security Software Engineer, IBM Linux Technology Center
serue@private



This archive was generated by hypermail 2.1.3 : Mon Aug 16 2004 - 11:38:22 PDT