Purpose of O_EXEC?

Ivan Voras ivoras at freebsd.org
Mon Mar 31 09:01:44 PDT 2008


Hi,
What is the purpose of O_EXEC ("open file for execution") flag to
open(2)? Just a hint to the VM system on how to cache the file pages or
is there something else that makes it different from O_RDONLY?



More information about the freebsd-hackers mailing list