Jack L.
Jack L.

Reputation: 1335

Is it possible to catch other's process signal in Linux?

The question is simple- is it possible to write the program, that:

and

Upvotes: 0

Views: 497

Answers (1)

sheikh_anton
sheikh_anton

Reputation: 3452

First is easy. Second is "maybe", depends on what do you want exactly. ptrace() system call may help. Using ptrace is not what most people want on daily bases, but it may suite you.

Upvotes: 1

Related Questions