Skip to contentSkip to conversation

selective signal ptracing

RFC PATCH Oleg Nesterov 1 participant 1 message Jun 16, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · John Blackwood

By default all signals are ptraced as before. However, a debugger may now modify the set of per-task ptraced signals, where only the signals in this ptrace signal mask will be ptraced.

I must admit, I agree with Roland...

Review

Quoted 8 lines
(quoted diff) +7 -0
+void ptrace_update_traced_signals(struct task_struct *child,
+							sigset_t *new_smaskp)
+{
[...snip...]
+
+		spin_lock_irqsave(&child->sighand->siglock, flags);
+
+		if (child->sighand == NULL) {

How so?

Oleg.