Eugene Syromyatnikov
98a93b46fd
Add support for pkey_mprotect, pkey_alloc, pkey_free syscalls
...
* linux/32/syscallent.h: Add syscall entries for pkey_* calls.
* linux/64/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* mem.c (do_mprotect): New function, common handler for mprotect and
pkey_mprotect.
(SYS_FUNC(mprotect)): Convert to wrapper around do_mprotect.
(SYS_FUNC(pkey_mprotect)): New function.
* xlat/pkey_access.in: New file.
* pkeys.c: New file containing implementation of pkey_alloc and
pkey_free.
* Makefile.am: Add it.
* NEWS: Mention this enhancement.
* tests/.gitignore: Add pkey_alloc, pkey_free, and pkey_mprotect.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add pkey_alloc.test, pkey_free.test, and
pkey_mprotect.test.
* tests/pkey_alloc.c: New file.
* tests/pkey_free.c: Likewise.
* tests/pkey_mprotect.c: Likewise.
* tests/pkey_alloc.test: New test.
* tests/pkey_free.test: Likewise.
* tests/pkey_mprotect.test: Likewise.
2016-11-13 21:41:58 +00:00
..
2016-08-14 00:02:55 +00:00
2015-02-26 20:40:43 +00:00
2015-11-28 02:58:29 +00:00
2016-08-24 12:10:50 +00:00
2015-02-23 03:56:06 +00:00
2015-03-23 22:24:59 +00:00
2015-03-23 22:24:59 +00:00
2015-03-23 22:24:59 +00:00
2015-01-22 00:27:38 +00:00
2015-01-22 00:27:38 +00:00
2016-11-11 17:53:28 +00:00
2015-01-22 00:27:38 +00:00
2015-02-23 20:55:11 +00:00
2013-05-02 08:46:30 +00:00
2016-11-13 21:41:58 +00:00
2014-12-11 19:25:02 +00:00