| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2007 IBM Corporation |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Author: Cedric Le Goater <clg@fr.ibm.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or |
|---|
| 7 | | - * modify it under the terms of the GNU General Public License as |
|---|
| 8 | | - * published by the Free Software Foundation, version 2 of the |
|---|
| 9 | | - * License. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/nsproxy.h> |
|---|
| .. | .. |
|---|
| 23 | 19 | } |
|---|
| 24 | 20 | |
|---|
| 25 | 21 | static int proc_mq_dointvec(struct ctl_table *table, int write, |
|---|
| 26 | | - void __user *buffer, size_t *lenp, loff_t *ppos) |
|---|
| 22 | + void *buffer, size_t *lenp, loff_t *ppos) |
|---|
| 27 | 23 | { |
|---|
| 28 | 24 | struct ctl_table mq_table; |
|---|
| 29 | 25 | memcpy(&mq_table, table, sizeof(mq_table)); |
|---|
| .. | .. |
|---|
| 33 | 29 | } |
|---|
| 34 | 30 | |
|---|
| 35 | 31 | static int proc_mq_dointvec_minmax(struct ctl_table *table, int write, |
|---|
| 36 | | - void __user *buffer, size_t *lenp, loff_t *ppos) |
|---|
| 32 | + void *buffer, size_t *lenp, loff_t *ppos) |
|---|
| 37 | 33 | { |
|---|
| 38 | 34 | struct ctl_table mq_table; |
|---|
| 39 | 35 | memcpy(&mq_table, table, sizeof(mq_table)); |
|---|