X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=security%2Fmin_addr.c;h=c844eed7915d0d270c058c16d6b3db40ffa576d0;hp=14cc7b3b8d0379ef0cd17e071aa2821ea6dd4a95;hb=8d65af789f3e2cf4cfbdbf71a0f7a61ebcd41d38;hpb=c0d0787b6d47d9f4d5e8bd321921104e854a9135 diff --git a/security/min_addr.c b/security/min_addr.c index 14cc7b3..c844eed 100644 --- a/security/min_addr.c +++ b/security/min_addr.c @@ -28,12 +28,12 @@ static void update_mmap_min_addr(void) * 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, struct file *filp, +int mmap_min_addr_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { int ret; - ret = proc_doulongvec_minmax(table, write, filp, buffer, lenp, ppos); + ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); update_mmap_min_addr();