Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.100 /kernel/sysctl.c

Filename:/kernel/sysctl.c
Lines Added:7
Lines Deleted:5
Also changed in: (Previous) 2.1.99  2.1.92  2.1.91  2.1.90  2.1.89  2.1.79 
(Following) 2.1.101  2.1.106  2.1.115  2.1.117  2.1.118  2.1.124 

Location
[  2.1.100
  [  kernel
     o  sysctl.c

Patch

diff -u --recursive --new-file v2.1.99/linux/kernel/sysctl.c linux/kernel/sysctl.c
--- v2.1.99/linux/kernel/sysctl.c   Sat May  2 14:19:54 1998
+++ linux/kernel/sysctl.c   Sat May  2 17:44:59 1998
@@ -189,20 +189,22 @@
 
 static ctl_table vm_table[] = {
    {VM_SWAPCTL, "swapctl", 
-    &swap_control, sizeof(swap_control_t), 0600, NULL, &proc_dointvec},
+    &swap_control, sizeof(swap_control_t), 0644, NULL, &proc_dointvec},
    {VM_SWAPOUT, "swapout_interval",
-    &swapout_interval, sizeof(int), 0600, NULL, &proc_dointvec},
+    &swapout_interval, sizeof(int), 0644, NULL, &proc_dointvec},
    {VM_FREEPG, "freepages", 
-    &freepages, sizeof(freepages_t), 0600, NULL, &proc_dointvec},
+    &freepages, sizeof(freepages_t), 0644, NULL, &proc_dointvec},
    {VM_BDFLUSH, "bdflush", &bdf_prm, 9*sizeof(int), 0600, NULL,
     &proc_dointvec_minmax, &sysctl_intvec, NULL,
     &bdflush_min, &bdflush_max},
    {VM_OVERCOMMIT_MEMORY, "overcommit_memory", &sysctl_overcommit_memory,
     sizeof(sysctl_overcommit_memory), 0644, NULL, &proc_dointvec},
    {VM_BUFFERMEM, "buffermem",
-    &buffer_mem, sizeof(buffer_mem_t), 0600, NULL, &proc_dointvec},
+    &buffer_mem, sizeof(buffer_mem_t), 0644, NULL, &proc_dointvec},
    {VM_PAGECACHE, "pagecache",
-    &page_cache, sizeof(buffer_mem_t), 0600, NULL, &proc_dointvec},
+    &page_cache, sizeof(buffer_mem_t), 0644, NULL, &proc_dointvec},
+   {VM_PAGERDAEMON, "kswapd",
+    &pager_daemon, sizeof(pager_daemon_t), 0644, NULL, &proc_dointvec},
    {0}
 };
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.