[lkml]   [1999]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: access_ok inside kernelspace

On Tue, 19 Oct 1999, Tigran Aivazian wrote:

> And example I give is exec_modprobe() doing close(i) when it could just do
> sys_close(i).

well, there could be at least one valid reason, ptrace(). If you want to
make one particular kernel daemon strace-able then the entry trap could be
used. I dont know wether it actually works (looks like raceland), but that
could be one reason. exec_modprobe is executed by a kernel thread (kmod),
so it can be argued that it's a special case.

-- mingo

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean