Thread (25 messages) 25 messages, 8 authors, 2015-08-01

Re: [PATCHv2 1/1] Documentation: describe how to add a system call

flat view

From: Josh Triplett <hidden>
Date: 2015-07-30 19:04:52
Also in: lkml

On Thu, Jul 30, 2015 at 11:21:54AM -0700, Kees Cook wrote:
I like this, it's a good description of both options. I'm still biased
about the approach: I prefer flags, since pointers to user structures
complicate syscall filtering. ;)
Seems like we should do two things to make that easier:

1) Create a standardized kernel mechanism for parameter-struct handling,
   implementing the recommendations mentioned here.
2) Integrate into that mechanism a way to filter the resulting parameter
   struct with BPF *after* it has been copied to kernel space (and thus
   can no longer be tampered with).

- Josh Triplett
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help