Skip to contentSkip to conversation

how can I send a signal like kill

DISCUSSION Cedric Lienart 2 participants 2 messages Mar 29, 2001 – Mar 30, 2001

lore
Share & tools
lore
#0 lore raw

hello,

how can I send a signal like 'kill (pid_t pid, int sig);' from a driver module to a user program. When I include signal.h in my module I have many errors.
Thank you for your help.

Liénart Cédric
[email protected]

#1 lore raw
Quoted 2 lines · On Thu, 29 Mar 2001 11:46:42 +0200 Cedric Lienart…

how can I send a signal like 'kill (pid_t pid, int sig);' from a driver module to a user program. When I include signal.h in my module I have

Try use force_sig(int sig, struct task_struct *p), Can read mm/oom_kill.c .