HomeFreeBSD

Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag.

Description

Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag.
In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap().
Linux/i386 set this flag automatically if the binary requires executable stack.

READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.

Details

Provenance
dchaginAuthored on
Parents
rS302514: Audit file-descriptor arguments to I/O system calls such as
Branches
Unknown
Tags
Unknown