From: Blaisorblade <bla...@ya...> - 2006-04-21 18:39:03
|
On Friday 21 April 2006 20:16, Blaisorblade wrote: > On Thursday 20 April 2006 11:05, Heiko Carstens wrote: > The flags could be: > > MASK_DEFAULT_TRACE (set the default to 1 for remaining bits) > MASK_DEFAULT_IGNORE (set the default to 0 for remaining bits) > MASK_STRICT_VERIFY (return -EINVAL for bits exceeding NR_syscalls and set > differently than the default). Actually, for a more elegant API the default should be to check and there should be a flag PT_SC_MASK_IGNORE_UNKNOWN_SYSCALL (reworded in some clearer way, it doesn't mean to ignore the syscall but the bits - IGNORE should be something like "be comprehensive with me when you check". Maybe ACCEPT_UNKNOWN_SYSCALL). > probably with a reasonable prefix to avoid namespace pollution (something > like "PT_SC_-"). -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Bolletta salata? Passa a Yahoo! Messenger with Voice http://it.messenger.yahoo.com |