History log of /seL4-test-master/projects/musllibc/include/sys/prctl.h
Revision Date Author Comments
# 8afd2a1d 18-Nov-2015 Szabolcs Nagy <nsz@port70.net>

add new PR_CAP_AMBIENT and related defines to sys/prctl.h

ambient capability mask is new in linux v4.3, commit
58319057b7847667f0c9585b9de0e8932b0fdb08


# 02e5d564 14-Apr-2015 Szabolcs Nagy <nsz@port70.net>

add PR_*_FP_MODE prctl options

new in linux v4.0, commit 9791554b45a2acc28247f66a5fd5bbc212a6b8c8
used to work around a floating-point abi issue on mips


# 658aefdf 14-Apr-2015 Szabolcs Nagy <nsz@port70.net>

add PR_MPX_*_MANAGEMENT prctl options

new in linux v3.19, commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c
used for on-demand kernel allocation of bounds tables for mpx on x86


# 11ac2a6e 15-Dec-2014 Szabolcs Nagy <nsz@port70.net>

add new prctl command PR_SET_MM_MAP to sys/prctl.h

PR_SET_MM_MAP was introduced as a subcommand for PR_SET_MM in
linux v3.18 commit f606b77f1a9e362451aca8f81d8f36a3a112139e

the associated struct type is replicated in sys/prctl.h using
libc types.

example usage:

struct prctl_mm_map *p;
...
prctl(PR_SET_MM, PR_SET_MM_MAP, p, sizeof *p);

the kernel side supported struct size may be queried with
the PR_SET_MM_MAP_SIZE subcommand.


# 871a09c8 20-Jul-2014 Szabolcs Nagy <nsz@port70.net>

add new PR_SET_THP_DISABLE and PR_GET_THP_DISABLE prctl flags

they can be used to set or query if transparent huge pages are disabled.
introduced in linux 3.15 commit a0715cc22601e8830ace98366c0c2bd8da52af52


# 9a8d7bee 30-Jul-2013 Rich Felker <dalias@aerifal.cx>

add macros for new(ish) prctl commands


# 9932505b 30-Jul-2013 Rich Felker <dalias@aerifal.cx>

fix some prctl macros that were incorrectly copied into this file


# 5a2e74eb 18-Jun-2011 Rich Felker <dalias@aerifal.cx>

copy-paste error in prctl.h


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0