cgd
8d519faff4
fix type of sysctl_ntptime 'where' arg in defined(NTP) case
2000-06-02 18:22:44 +00:00
itojun
e0b65589f1
sync with more recent kame. cope with malloc failure more gracefully
...
some cosmetics.
2000-06-02 18:20:15 +00:00
christos
b619ddeed7
Don't leak memory.
2000-06-02 18:00:42 +00:00
thorpej
7a5ce477cb
When allocating new PT pages during early bootstrap (i.e. before
...
pmap_init() has finished), make sure to zero them.
2000-06-02 17:46:37 +00:00
simonb
7e6435a651
White space nit in previous.
2000-06-02 16:05:49 +00:00
simonb
38cc1b3975
Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO",
...
"KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the
info and data structures for the relevent SysV IPC types. The return
structures use fixed-size types and should be compat32 safe. All
user-visible changes are protected with
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
Make all variable declarations extern in msg.h, sem.h and shm.h and
add relevent variable declarations to sysv_*.c and remove unneeded
header files from those .c files.
Make compat14 SysV IPC conversion functions and sysctl_file() static.
Change the data pointer to "void *" in sysctl_clockrate(),
sysctl_ntptime(), sysctl_file() and sysctl_doeproc().
2000-06-02 15:53:03 +00:00
eeh
f2ab1eb70c
db_stack_trace_cmd -> db_stack_trace_print
2000-06-02 15:38:32 +00:00
eeh
94084a33f8
New softintr interface.
2000-06-02 15:36:53 +00:00
explorer
6a07b80d26
make this compile with KERBEROS5 defined. Note: only one of KERBEROS or KERBEROS5 may be defined in this file...
2000-06-02 14:47:19 +00:00
lukem
fd194fea27
use strtol() (instead of atoi()) for sane error detection
2000-06-02 13:37:12 +00:00
itojun
74d0ceb979
correct memory leak due to t_getstr() and realloc(). the commit will
...
prevent "top -s 0" from chewing up memory.
TODO: realloc() audit, revisit recent termcap/curses changes
2000-06-02 13:13:07 +00:00
shin
5d883bf68e
make it compile with 'options SOFTFLOAT'.
2000-06-02 12:57:22 +00:00
pk
51ff5f7cd1
Let uvm_map_extract() set the lower bound on the kernel address range
...
itself, in stead of having its callers do that.
2000-06-02 12:02:43 +00:00
pk
bf3a6b350b
Shouldn't pass garbage to uvm_map_extract().
2000-06-02 11:47:53 +00:00
pk
aae0ef4cc1
In pmap_cpu_alloc(), allocate memory for the PTE tables in one sweep.
2000-06-02 10:43:59 +00:00
haya
7bb941e63d
KNFied.
2000-06-02 08:41:13 +00:00
pk
65e4bcd9df
Re-initialize `proc0.p_cpu' after allocating the global `cpu_info'
...
address for the boot cpu (XXX)
2000-06-02 08:12:29 +00:00
nisimura
b52ffbdbe9
Make clarified SCSI transfer direction flag. sc_ispullup == pullup
...
data from SCSI device == DMA into main memory == datain.
2000-06-02 04:35:06 +00:00
thorpej
38c3726a7b
Handle SONPROC state.
2000-06-02 04:32:07 +00:00
oster
f26e8d9a17
Slight wording improvement on the 'raidctl -R' case.
2000-06-02 04:11:46 +00:00
simonb
a717560d21
G/C evar() - now that everything is in the one structure it was exactly
...
the same as pvar().
2000-06-02 03:39:02 +00:00
thorpej
a17a076fd9
There's no need to use wakeup_one(), here:
...
- On a uniprocessor, wakeup()'s thundering herd is ordered by priority
implicitly.
- The locking protocol here needs to be shot in the head and redone
anyhow, and when that is done, this can be converted to use
condition variables.
2000-06-02 03:26:35 +00:00
aidan
dbb0b2f74d
Backout login_get_kconf function, because it breaks crypto-intl builds.
...
Keep the variables for setting default behaviour with krb4 and krb5
compiled in, even though they act like constants, to facilitate adding
another preference mechanism later.
2000-06-02 03:01:22 +00:00
cgd
00b28e7a52
another mod of opportunity: const poison. (cfprint_t should take
...
const char * as second arg, too, but that's Hard.) also, convert use
of "(char *)0" to NULL.
2000-06-02 01:48:50 +00:00
cgd
a556975be3
__P and K&R declarations -> ANSI protos + declarations. tweak NetBSD IDs,
...
and __KERNEL_RCSID to subr_autoconf.c.
2000-06-02 01:31:52 +00:00
oster
66e6338ac9
Use 'componentN' rather than leaving blanks for non-existant disks
...
in the 'raidctl -s' output.
2000-06-02 01:17:14 +00:00
fredb
5c0f4694d6
Make this build again with crypto-us, after recent changes to k{,5}login.c.
2000-06-02 00:19:04 +00:00
gmcgarry
8c0b13837f
pcmplay -> audioplay
2000-06-01 21:54:54 +00:00
gmcgarry
9ee45aaf3a
Remove wbflush(). These are not necessary with the new IOASIC bus_space
...
framework. From Tohru Nishimura.
2000-06-01 21:46:17 +00:00
thorpej
9851571246
Add support for the Alpha Processor, Inc. UP1000 EV6 system.
2000-06-01 20:30:28 +00:00
mycroft
7eb6966af4
Make the end of setup_directory_change() the same as setup_directory_add(),
...
for consistency.
2000-06-01 19:11:47 +00:00
matt
dca520b4a6
Add fixcoff so an obj dir can be created
2000-06-01 18:33:43 +00:00
pk
e1859436f1
Fix lossage when transferring a pointer value into an off_t var.
2000-06-01 18:30:03 +00:00
matt
1d7db13f9f
make ldconfig.c not always fail.
2000-06-01 18:17:06 +00:00
matt
33763f10cf
Fix a missing cases of devpp -> booted_device, partp -> booted_parition
2000-06-01 17:42:59 +00:00
matt
251afc5218
fix compile problem.
2000-06-01 17:35:42 +00:00
thorpej
79744e1563
Add a global patchable variable to enable debugging printfs in the
...
code that finds the boot device.
2000-06-01 17:12:38 +00:00
augustss
c6ddc6009b
Make it compile with USB_DEBUG.
2000-06-01 15:51:26 +00:00
augustss
fff66007d9
Reorder a little.
2000-06-01 15:43:32 +00:00
matt
9169d99f2a
Don't pass booted_* to findroot/getdevice, access them via the globals.
...
Also, make findroot static. This eliminates unneeded clearing of them
and make their use consistent among the ports.
2000-06-01 15:38:20 +00:00
soren
83887f5ad9
Add stand SUBDIR.
2000-06-01 15:20:12 +00:00
augustss
5218e2a490
Improve some portability items.
2000-06-01 14:37:51 +00:00
soren
2e62480619
Up the compression factor slightly.
2000-06-01 14:33:43 +00:00
soren
0c99ca516f
Further cripple the GENERIC configuration. It seems that the firmware
...
limits are 1000000/2500000 bytes compressed/uncompressed. Sigh.
A boot loader would be nice.
2000-06-01 14:31:26 +00:00
augustss
ed9486e158
Bring the coding style into the 80s, i.e., get rid of __P and use
...
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
soren
4796114fef
Add ext2fs.
2000-06-01 14:21:44 +00:00
sommerfeld
f732048856
Add missing newline
2000-06-01 13:50:48 +00:00
simonb
ab92666f6b
Fix a possible kernel memory leak - if the cmdline of a process was
...
requested after it had started to exit but before it became a zombie
a page of kernel memory wouldn't be free'd.
2000-06-01 13:43:08 +00:00
simonb
dbbe2b1dd7
Plug a slow kernel memory leak - a page was lost for each system or
...
zombie process queried with the KERN_PROC_ARGS sysctl. Fixed by moving
a malloc call after all possible early return conditions.
2000-06-01 13:36:51 +00:00
augustss
87a5ae384c
Update URLs.
2000-06-01 09:58:19 +00:00