GitHub PushEvent at 2014-03-18 01:00:11
Repository: freebsd
Actor: dannomac
Payload: {"shas":[["437134881a4bc49d0dadada0235ad48146cd62b6","23db6e8289fa7db4b6fb088bae5a52eb2ade6329@FreeBSD.org","MFC r259535:\nThe fasttrap fork handler is responsible for removing tracepoints in the\nchild process that were inherited from its parent. However, this should\nnot be done in the case of a vfork, since the fork handler ends up removing\nthe tracepoints from the shared vm space, and userland DTrace probes in the\nparent will no longer fire as a result.\n\nNow the child of a vfork may trigger userland DTrace probes enabled in its\nparent, so modify the fasttrap probe handler to handle this case and handle\nthe child process in the same way that it would handle the traced process.\nIn particular, if once traces function foo() in a process that vforks, and\nthe child calls foo(), fasttrap will treat this call as having come from the\nparent. This is the behaviour of the upstream code.\n\nWhile here, add #ifdef guards to some code that isn't present upstream.","markj",true]],"size":1,"ref":"refs/heads/stable/10","head":"437134881a4bc49d0dadada0235ad48146cd62b6"}