|
|
Subscribe / Log in / New account

An in-kernel file loading interface

An in-kernel file loading interface

Posted Feb 21, 2016 0:20 UTC (Sun) by giraffedata (guest, #1954)
In reply to: An in-kernel file loading interface by eru
Parent article: An in-kernel file loading interface

Hasn't the kernel always been able to read files for implementing exec? I never thought there is anything special in kernel reading files.

Yes, and the kernel has always been able to read files for implementing read, too :-)

Exec is essentially a file operation (it even has its own file permission bit). That puts it in a different class from kernel facilities that use files. The latter smells of a layering violation.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds