Re: Path of task via LSM

2007-11-28 Thread Andrew Blaich
Here's a question, why is there this round about way of retrieving the path of the task? Wouldn't it be slightly more efficient to store it explicitly as character array within the task_struct ? On Nov 28, 2007 8:20 AM, Tetsuo Handa <[EMAIL PROTECTED]> wrote: > &g

Re: Path of task via LSM

2007-11-27 Thread Andrew Blaich
Tetsuo's suggestion and looking at the tomoyo source code helped me narrow down and fix the issue I was having. Thank you very much everyone. On Nov 27, 2007 9:53 AM, Tetsuo Handa <[EMAIL PROTECTED]> wrote: > Hello. > > Andrew Blaich wrote: > > I have been unsucc

Path of task via LSM

2007-11-27 Thread Andrew Blaich
Is there a way to retrieve the full path of the currently running task via a task_struct or similar structure from the view of the LSM? Currently, the work I am doing with LSM design requires hooking into bprm_alloc_security in order to read the linux_binprm structure which contains the path of the