logoalt Hacker News

mort96today at 10:11 AM2 repliesview on HN

... and the question was: "Why doesn't the kernel look at PATH"

It's not a "shell construct" either, the standard execvp libc function looks at PATH.


Replies

inigyoutoday at 12:20 PM

A surprising number of things in Linux are transparent to the kernel as they are implemented in user space. For instance, the Linux kernel doesn't support multithreading. It only supports processes sharing an address space. Which is what most people call threads - but in the kernel, they are just processes that happen to share an address space.

show 1 reply
stabblestoday at 10:15 AM

Indeed, it's a libc construct.