Re: [PATCH] Fix child thread's introspection of /proc/self/exe

2013-03-26 Thread Oleg Nesterov
On 03/25, Ben Woodard wrote: > > Allow threads other than the main thread to do introspection of files in > proc without relying on read permissions. proc_pid_follow_link() calls > proc_fd_access_allowed() which ultimately calls __ptrace_may_access(). > > Though this allows additional access to

Re: [PATCH] Fix child thread's introspection of /proc/self/exe

2013-03-26 Thread Oleg Nesterov
On 03/25, Ben Woodard wrote: Allow threads other than the main thread to do introspection of files in proc without relying on read permissions. proc_pid_follow_link() calls proc_fd_access_allowed() which ultimately calls __ptrace_may_access(). Though this allows additional access to some

[PATCH] Fix child thread's introspection of /proc/self/exe

2013-03-25 Thread Ben Woodard
Allow threads other than the main thread to do introspection of files in proc without relying on read permissions. proc_pid_follow_link() calls proc_fd_access_allowed() which ultimately calls __ptrace_may_access(). Though this allows additional access to some proc files, we do not believe

[PATCH] Fix child thread's introspection of /proc/self/exe

2013-03-25 Thread Ben Woodard
Allow threads other than the main thread to do introspection of files in proc without relying on read permissions. proc_pid_follow_link() calls proc_fd_access_allowed() which ultimately calls __ptrace_may_access(). Though this allows additional access to some proc files, we do not believe