Re: Process exit codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using syscall would be beter way I know. I was thinking what will happen if I change exit code of a process or/and process state. Will not this work similar? If soo then this is maybe faster method?

G.

1 lut 2013 18:57, "dspjmt@xxxxxxxxx" <dspjmt@xxxxxxxxx> napisał(a):

i thought you just need to  send  a signal to it by a kernel function

Sent from my HTC

----- Reply message -----
From: "Grzegorz Dwornicki" <gd1100@xxxxxxxxx>
To: <kernelnewbies@xxxxxxxxxxxxxxxxx>
Subject: Process exit codes
Date: Fri, Feb 1, 2013 9:17 pm


Hi

Can I kill process by changing its exit codes in task_struct structure? Lets do this in 2 steps:
1. Modify the exit codes in task_struct
2. Call schedule

I want to do something like kill -9 on specyfic process using kernel module

Thanks

G.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux