PROT_EXEC tells the VM system the area is executable code.
MAP_EXECUTABLE says this mapping is the actual executable file itself,
not a shared library, trampoline, or other executable thing.
Only used for /proc/pid/exe link and /proc/pid/status VmExe field.
You can't set it via mmap() from userspace; the kernel uses it
internally when execing an elf or a.out file.
-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/