Issues with ptrace_check_attach(),

        - it does utrace_control(UTRACE_STOP).

          This is wrong, ptrace_check_attach() must be "passive",
          while utrace_control(UTRACE_STOP) can actualy stop the
          tracee.

        - even if it doesn't, this is wrong when we have multiple
          tracers. ptrace_check_attach() should not succeed if the
          tracee was stopped by another engine.

        - it ignores "int kill".

Can we ignore these problems in V1 ? Or should we fix something?

Oleg.

Reply via email to