The security concern
The security concern
Posted Nov 27, 2024 19:24 UTC (Wed) by carlosrodfern (subscriber, #166486)In reply to: The security concern by roc
Parent article: The kernel's command-line commotion
I was referring to this:
> the kernel uses comm for its own purposes, and letting user space control it could help attackers to hide the actual executable being run. Copying argv[0] into comm will slow program start, he said. The right solution, according to Torvalds, is to use the file name stored in the directory entry ("dentry") associated with the file to be executed. That information is always present and is reliably under the kernel's control.