Thread (77 messages) flat view 77 messages, 12 authors, 2011-05-29
STALE5578d

[PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering

From: peterz@infradead.org (Peter Zijlstra)
Date: 2011-05-13 12:43:32
Also in: linux-mips, linuxppc-dev

On Fri, 2011-05-13 at 14:39 +0200, Peter Zijlstra wrote:
quoted
      event_vfs_getname(result);
      result = check_event_vfs_getname(result); 
Another fundamental difference is how to treat the callback chains for
these two.

Observers won't have a return value and are assumed to never fail,
therefore we can always call every entry on the callback list.

Active things otoh do have a return value, and thus we need to have
semantics that define what to do with that during callback iteration,
when to continue and when to break. Thus for active elements its
impossible to guarantee all entries will indeed be called.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help