• Home
  • Raw
  • Download

Lines Matching full:sysctl

6 #include <linux/sysctl.h>
170 pr_err("sysctl duplicate entry: "); in insert_entry()
406 * some sysctl variables are readonly even to root.
454 ei->sysctl = head; in proc_sys_make_inode()
493 struct ctl_table_header *head = PROC_I(inode)->sysctl; in grab_header()
557 * At this point we know that the sysctl was not unregistered in proc_sys_call_handler()
624 /* sysctl was unregistered */ in proc_sys_open()
644 /* sysctl was unregistered */ in proc_sys_poll()
790 * sysctl entries that are not writeable, in proc_sys_permission()
808 else /* Use the permissions on the sysctl table entry */ in proc_sys_permission()
883 return !PROC_I(d_inode(dentry))->sysctl->unregistering; in proc_sys_revalidate()
888 return !!PROC_I(d_inode(dentry))->sysctl->unregistering; in proc_sys_delete()
922 head = rcu_dereference(PROC_I(inode)->sysctl); in proc_sys_compare()
1022 pr_err("sysctl could not get directory: "); in get_subdir()
1090 pr_err("sysctl table check failed: %s/%s %pV\n", in sysctl_err()
1263 * __register_sysctl_table - register a leaf sysctl table
1264 * @set: Sysctl tree to register on
1265 * @path: The path to the directory the sysctl table is in.
1268 * Register a sysctl table hierarchy. @table should be a filled in ctl_table
1273 * procname - the name of the sysctl file under /proc/sys. Set to %NULL to not
1274 * enter a sysctl file
1288 * Leaf nodes in the sysctl tree will be represented by a single file
1372 * register_sysctl - register a sysctl table
1373 * @path: The path to the directory the sysctl table is in.
1376 * Register a sysctl table. @table should be a filled in ctl_table
1389 * __register_sysctl_init() - register sysctl table to path
1390 * @path: path name for sysctl base
1391 * @table: This is the sysctl table that needs to be registered to the path
1392 * @table_name: The name of sysctl table, only used for log printing when
1395 * The sysctl interface is used by userspace to query or modify at runtime
1403 * Context: Can only be called after your respective sysctl base path has been
1527 * __register_sysctl_paths - register a sysctl table hierarchy
1528 * @set: Sysctl tree to register on
1529 * @path: The path to the directory the sysctl table is in.
1532 * Register a sysctl table hierarchy. @table should be a filled in ctl_table
1599 * register_sysctl_table_path - register a sysctl table hierarchy
1600 * @path: The path to the directory the sysctl table is in.
1603 * Register a sysctl table hierarchy. @table should be a filled in ctl_table
1617 * register_sysctl_table - register a sysctl table hierarchy
1620 * Register a sysctl table hierarchy. @table should be a filled in ctl_table
1660 pr_err("sysctl link missing during unregister: "); in put_links()
1687 * unregister_sysctl_table - unregister a sysctl table hierarchy
1690 * Unregisters the sysctl table and all children. proc entries may not
1755 * Historically some settings had both sysctl and a command line parameter.
1756 * With the generic sysctl. parameter support, we can handle them at a single
1783 /* Set sysctl value passed on kernel command line. */
1796 if (strncmp(param, "sysctl", sizeof("sysctl") - 1) == 0) { in process_sysctl_arg()
1797 param += sizeof("sysctl") - 1; in process_sysctl_arg()
1816 * To set sysctl options, we use a temporary mount of proc, look up the in process_sysctl_arg()
1818 * options were given, we mount it only when the first sysctl option is in process_sysctl_arg()
1826 pr_err("Failed to find procfs to set sysctl from command line\n"); in process_sysctl_arg()
1832 pr_err("Failed to mount procfs to set sysctl from command line\n"); in process_sysctl_arg()
1846 pr_err("Failed to set sysctl parameter '%s=%s': parameter not found\n", in process_sysctl_arg()
1849 pr_err("Failed to set sysctl parameter '%s=%s': permission denied (read-only?)\n", in process_sysctl_arg()
1852 pr_err("Error %pe opening proc file to set sysctl parameter '%s=%s'\n", in process_sysctl_arg()
1860 pr_err("Failed to set sysctl parameter '%s=%s': invalid value\n", in process_sysctl_arg()
1863 pr_err("Error %pe writing to proc file to set sysctl parameter '%s=%s'\n", in process_sysctl_arg()
1866 pr_err("Wrote only %zd bytes of %d writing to proc file %s to set sysctl parameter '%s=%s\n", in process_sysctl_arg()
1872 pr_err("Error %pe closing proc file to set sysctl parameter '%s=%s\n", in process_sysctl_arg()
1888 parse_args("Setting sysctl args", command_line, in do_sysctl_args()