Re: How to make a tag in task_struct.

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

 



Hi
But I can't modify the task_struct , in another word , I can't change the kernel.
What I can do is just using a module.
I am afraid you can't do that via module. In fact you must be careful on where to insert that new tag, because some properties in task_struct are accessed via offset, so if you change the order, it is likely made another codes broken. Conclusion: do it by directly patching the kernel, or use another way to tag the task. I think creating a linked list containing the PIDs could be a favorable choice.

regards,

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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