diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-07-18 16:34:11 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-07-18 16:34:11 +0000 |
commit | 4c3b9b3d0b1440c023947795378d4f6aa8463c36 (patch) | |
tree | 82b72b3a2abc8bf74cf6e4650b0f40d3bda56328 /sys/i386/linux/linux_sysent.c | |
parent | 2749f7898c6b59dc0d15b6388dc5e3256e8400fb (diff) | |
download | FreeBSD-src-4c3b9b3d0b1440c023947795378d4f6aa8463c36.zip FreeBSD-src-4c3b9b3d0b1440c023947795378d4f6aa8463c36.tar.gz |
MFC r302515:
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.
Approved by: re (gjb)
Diffstat (limited to 'sys/i386/linux/linux_sysent.c')
0 files changed, 0 insertions, 0 deletions