(no subject)

From: Dave Jones (dave@denial.force9.co.uk)
Date: Wed Apr 12 2000 - 18:04:31 EST


Is there any reason that we hide the contents of 3 files in
/proc/sys/vm, when we keep the others world-readable ?
The patch below makes these readable by all users.

-- 
Dave.

--- sysctl.c~ Wed Apr 12 23:59:55 2000 +++ sysctl.c Thu Apr 13 00:01:37 2000 @@ -228,7 +228,7 @@ static ctl_table vm_table[] = { {VM_FREEPG, "freepages", &freepages, sizeof(freepages_t), 0644, NULL, &proc_dointvec}, - {VM_BDFLUSH, "bdflush", &bdf_prm, 9*sizeof(int), 0600, NULL, + {VM_BDFLUSH, "bdflush", &bdf_prm, 9*sizeof(int), 0644, NULL, &proc_dointvec_minmax, &sysctl_intvec, NULL, &bdflush_min, &bdflush_max}, {VM_OVERCOMMIT_MEMORY, "overcommit_memory", &sysctl_overcommit_memory, @@ -240,9 +240,9 @@ {VM_PAGERDAEMON, "kswapd", &pager_daemon, sizeof(pager_daemon_t), 0644, NULL, &proc_dointvec}, {VM_PGT_CACHE, "pagetable_cache", - &pgt_cache_water, 2*sizeof(int), 0600, NULL, &proc_dointvec}, + &pgt_cache_water, 2*sizeof(int), 0644, NULL, &proc_dointvec}, {VM_PAGE_CLUSTER, "page-cluster", - &page_cluster, sizeof(int), 0600, NULL, &proc_dointvec}, + &page_cluster, sizeof(int), 0644, NULL, &proc_dointvec}, {0} };

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:22 EST