proc_sysctl.c (57a8ec387e1441ea5e1232bc0749fb99a8cba7e7) proc_sysctl.c (eec4844fae7c033a0c1fc1eb3b8517aeb8b6cc49)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * /proc/sys support
4 */
5#include <linux/init.h>
6#include <linux/sysctl.h>
7#include <linux/poll.h>
8#include <linux/proc_fs.h>

--- 8 unchanged lines hidden (view full) ---

17#include "internal.h"
18
19static const struct dentry_operations proc_sys_dentry_operations;
20static const struct file_operations proc_sys_file_operations;
21static const struct inode_operations proc_sys_inode_operations;
22static const struct file_operations proc_sys_dir_file_operations;
23static const struct inode_operations proc_sys_dir_operations;
24
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * /proc/sys support
4 */
5#include <linux/init.h>
6#include <linux/sysctl.h>
7#include <linux/poll.h>
8#include <linux/proc_fs.h>

--- 8 unchanged lines hidden (view full) ---

17#include "internal.h"
18
19static const struct dentry_operations proc_sys_dentry_operations;
20static const struct file_operations proc_sys_file_operations;
21static const struct inode_operations proc_sys_inode_operations;
22static const struct file_operations proc_sys_dir_file_operations;
23static const struct inode_operations proc_sys_dir_operations;
24
25/* shared constants to be used in various sysctls */
26const int sysctl_vals[] = { 0, 1, INT_MAX };
27EXPORT_SYMBOL(sysctl_vals);
28
25/* Support for permanently empty directories */
26
27struct ctl_table sysctl_mount_point[] = {
28 { }
29};
30
31static bool is_empty_dir(struct ctl_table_header *head)
32{

--- 1691 unchanged lines hidden ---
29/* Support for permanently empty directories */
30
31struct ctl_table sysctl_mount_point[] = {
32 { }
33};
34
35static bool is_empty_dir(struct ctl_table_header *head)
36{

--- 1691 unchanged lines hidden ---