> utrace_tracer_task() can use list_for_each_entry() too.

Yes, but ... I'm reminded that this function is its own can of worms.  
It's called by other threads, without any synchronization, so it cannot
safely used utrace->attached unlocked like reporting passes do.

The tracer_task and unsafe_exec hooks are there mainly for ptrace.  
I've decided to punt these utrace hooks for now.  When we get to doing a
cleaned-up ptrace on utrace (or some other facility that brings in the need
for the unsafe_exec hook), we can figure out how to cleanly and safely
support some utrace API feature for that.


Thanks,
Roland

Reply via email to