/* 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(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
/* 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(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
{
	int ret;
	if (!capable(CAP_SYS_RAWIO))
		return -EPERM;
	ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos);
	update_mmap_min_addr();
	return ret;
}