1/*-
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Mike Karels at Berkeley Software Design, Inc.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 168 unchanged lines hidden (view full) ---
177char hostname[MAXHOSTNAMELEN];
178int hostnamelen;
179char domainname[MAXHOSTNAMELEN];
180int domainnamelen;
181long hostid;
182int securelevel = -1;
183extern int vfs_update_wakeup;
184extern int vfs_update_interval;
185
186/*
187 * kernel related system variables.
188 */
189int
190kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
191 int *name;
192 u_int namelen;
--- 14 unchanged lines hidden (view full) ---
207 case KERN_OSTYPE:
208 return (sysctl_rdstring(oldp, oldlenp, newp, ostype));
209 case KERN_OSRELEASE:
210 return (sysctl_rdstring(oldp, oldlenp, newp, osrelease));
211 case KERN_OSREV:
212 return (sysctl_rdint(oldp, oldlenp, newp, BSD));
213 case KERN_VERSION:
214 return (sysctl_rdstring(oldp, oldlenp, newp, version));
215 case KERN_MAXVNODES:
216 return(sysctl_int(oldp, oldlenp, newp, newlen, &desiredvnodes));
217 case KERN_MAXPROC:
218 return (sysctl_int(oldp, oldlenp, newp, newlen, &maxproc));
219 case KERN_MAXFILES:
220 return (sysctl_int(oldp, oldlenp, newp, newlen, &maxfiles));
221 case KERN_UPDATEINTERVAL:
222 /*
--- 599 unchanged lines hidden ---
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Mike Karels at Berkeley Software Design, Inc.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 168 unchanged lines hidden (view full) ---
177char hostname[MAXHOSTNAMELEN];
178int hostnamelen;
179char domainname[MAXHOSTNAMELEN];
180int domainnamelen;
181long hostid;
182int securelevel = -1;
183extern int vfs_update_wakeup;
184extern int vfs_update_interval;
185
186/*
187 * kernel related system variables.
188 */
189int
190kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
191 int *name;
192 u_int namelen;
--- 14 unchanged lines hidden (view full) ---
207 case KERN_OSTYPE:
208 return (sysctl_rdstring(oldp, oldlenp, newp, ostype));
209 case KERN_OSRELEASE:
210 return (sysctl_rdstring(oldp, oldlenp, newp, osrelease));
211 case KERN_OSREV:
212 return (sysctl_rdint(oldp, oldlenp, newp, BSD));
213 case KERN_VERSION:
214 return (sysctl_rdstring(oldp, oldlenp, newp, version));
215 case KERN_MAXVNODES:
216 return(sysctl_int(oldp, oldlenp, newp, newlen, &desiredvnodes));
217 case KERN_MAXPROC:
218 return (sysctl_int(oldp, oldlenp, newp, newlen, &maxproc));
219 case KERN_MAXFILES:
220 return (sysctl_int(oldp, oldlenp, newp, newlen, &maxfiles));
221 case KERN_UPDATEINTERVAL:
222 /*
--- 599 unchanged lines hidden ---