/* amount of vm to protect from userspace access by both DAC and the LSM*/ unsignedlong mmap_min_addr; /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */ unsignedlong dac_mmap_min_addr = CONFIG_DEFAULT_MMAP_MIN_ADDR; /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
/* * sysctl handler which just sets dac_mmap_min_addr = the new value and then * calls update_mmap_min_addr() so non MAP_FIXED hints get rounded properly
*/ int mmap_min_addr_handler(conststruct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)
{ int ret;
if (write && !capable(CAP_SYS_RAWIO)) return -EPERM;
ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.