2021-10-12 01:40:04

by Rob Landley

[permalink] [raw]
Subject: timer_create(CLOCK_PROCESS_CPUTIME_ID) for child?

Is there any way to timer_create(CLOCK_PROCESS_CPUTIME_ID) but have the signal
delivered to the parent process instead of the child?

Possibly there's something that could be done with ptrace, but I'm not figuring
it out. (I don't want to create a timer _in_ the child, that visibly messes with
the child's state, and I might intercept the child's own timer...)

Rob