> + /* > + * It can fail only if the tracee is dead, the caller > + * must notice this before setting PT_PTRACED. > + */ > + utrace_set_events(tracee, engine, events);
I'd say put at least a WARN_ON(ret) there if you are really assuming success. Thanks, Roland