|
|
|
task struct and the #! operator | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi, I am trying to understand process creation and associated bookkeeping.I am currently trying to understand how interpreted scripts (the shebang operator) are executed. It was surprising to see that the comm member of task_struct (accessed through get_task_comm) is actually set to the name of the script though /proc/pid/exe correctly points to the invoked interpreter. Does anybody know where the necessary magic happen and is it possible to get the name of invoked interpreter through any means inside the kernel? Thanks in advance, Ranjan _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[Newbies FAQ] [Linux Kernel Development] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI]
![]() |
![]() |