Loading...
gen/FreeBSD/sysctl.3.patch Libc-391.2.6 Libc-594.9.4
--- Libc/Libc-391.2.6/gen/FreeBSD/sysctl.3.patch
+++ Libc/Libc-594.9.4/gen/FreeBSD/sysctl.3.patch
@@ -1,5 +1,14 @@
---- sysctl.3.orig	2004-07-02 16:52:10.000000000 -0700
-+++ sysctl.3	2004-10-24 17:35:54.000000000 -0700
+--- sysctl.3.orig	2008-10-21 16:45:53.000000000 -0700
++++ sysctl.3	2008-10-22 09:33:13.000000000 -0700
+@@ -32,7 +32,7 @@
+ .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
+ .\" $FreeBSD: src/lib/libc/gen/sysctl.3,v 1.63 2004/07/02 23:52:10 ru Exp $
+ .\"
+-.Dd January 23, 2001
++.Dd October 21, 2008
+ .Dt SYSCTL 3
+ .Os
+ .Sh NAME
 @@ -182,13 +182,21 @@
  }
  .Ed
@@ -33,3 +42,48 @@
  .El
  .Pp
  For example, the following retrieves the maximum number of processes allowed
+@@ -456,16 +465,6 @@
+ .It "KERN_PROC_UID	A user ID"
+ .It "KERN_PROC_RUID	A real user ID"
+ .El
+-.Pp
+-If the third level name is KERN_PROC_ARGS then the command line argument
+-array is returned in a flattened form, i.e., zero-terminated arguments
+-follow each other.
+-The total size of array is returned.
+-It is also possible for a process to set its own process title this way.
+-.Bl -column "Third level nameXXXXXX" "Fourth level is:XXXXXX" -offset indent
+-.It Sy "Third level name	Fourth level is:"
+-.It "KERN_PROC_ARGS	A process ID"
+-.El
+ .It Li KERN_PROF
+ Return profiling information about the kernel.
+ If the kernel is not compiled for profiling,
+@@ -731,7 +730,6 @@
+ .Bl -column "Second level nameXXXXXX" "struct loadavgXXX" -offset indent
+ .It Sy "Second level name	Type	Changeable"
+ .It "VM_LOADAVG	struct loadavg	no"
+-.It "VM_METER	struct vmtotal	no"
+ .It "VM_PAGEOUT_ALGORITHM	integer	yes"
+ .It "VM_SWAPPING_ENABLED	integer	maybe"
+ .It "VM_V_CACHE_MAX	integer	yes"
+@@ -748,10 +746,6 @@
+ Return the load average history.
+ The returned data consists of a
+ .Va struct loadavg .
+-.It Li VM_METER
+-Return the system wide virtual memory statistics.
+-The returned data consists of a
+-.Va struct vmtotal .
+ .It Li VM_PAGEOUT_ALGORITHM
+ 0 if the statistics-based page management algorithm is in use
+ or 1 if the near-LRU algorithm is in use.
+@@ -848,7 +842,7 @@
+ definitions for second level network identifiers
+ .It In sys/gmon.h
+ definitions for third level profiling identifiers
+-.It In vm/vm_param.h
++.It In mach/vm_param.h
+ definitions for second level virtual memory identifiers
+ .It In netinet/in.h
+ definitions for third level IPv4/IPv6 identifiers and