thorpej
6fe78b30af
Only include <rmt.h> if SUPPORT_RMT.
2002-10-12 19:21:12 +00:00
thorpej
32c48247e8
It doesn't help much to skip linking librmt if HOSTPROG but leave
...
all the librmt calls in the program. So, make librmt support conditional
on #ifdef SUPPORT_RMT, and define that when NOT building as a HOSTPROG.
2002-10-12 18:49:28 +00:00
jdolecek
f28ce54243
if WITH_KQUEUE is defined and <sys/event.h> exists in DESTDIR, compile
...
support for kqueue(2) and kevent(2) in
this is temporary measure to ease testing of kqueue branch; the support
will be made unconditional once kqueue branch would be merged
2002-10-12 17:41:20 +00:00
elric
13daed40b1
Small usage enhancement: open the cgd before prompting for the passphrase
...
so that errors can be reported w/o asking for the passphrase unnec.
2002-10-12 15:56:26 +00:00
tshiozak
cb23a3a13b
fix wrong uses of ACPI CA API in the last commit, and a bit cosmetic change.
2002-10-12 15:43:00 +00:00
thorpej
d9ae0a6eb1
IPSEC_ESP depends on the "des", "blowfish", "cast128", and "rijndael"
...
attributes.
2002-10-12 15:41:24 +00:00
christos
0c61202168
merge OpenBSD changes:
...
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy properly.
- handle tmpfile creation better.
- improve documentation of options.
- handle stdout/stderr list selection correctly.
- kill gzip when we get interrupted.
- simplify gzip setup.
- add more flags to programs.
additional changes:
- librmt processing.
- set POSIXLY_CORRECT in options parsing.
- prevent more string overruns.
- support -T
we don't turn the switch on to replace tar and cpio yet.
2002-10-12 15:39:29 +00:00
christos
b73dcc21ce
man pages from OpenBSD.
...
TODO: add long option documentation.
2002-10-12 15:30:54 +00:00
yamt
3458b8fb93
re-do my previous commit correctly
2002-10-12 14:30:08 +00:00
jdolecek
affeea595d
put back the while loop in kernfs_getattr() removed in rev 1.82; it's
...
necessary to get the whole file length e.g. for msgbuf
this fixes the '/kern/msgbuf & less' problem reported on port-i386
by Dave Tyson
2002-10-12 14:04:45 +00:00
bjh21
a7385c575f
Move curpcb into struct cpu_info in MULTIPROCESSOR kernels.
2002-10-12 12:20:08 +00:00
jdolecek
5205d66be0
add test program for the deadlock caused by missing knote_fdclose() call
...
in finishdup(), fixed in rev. 1.79.2.10 if sys/kern/kern_descrip.c
2002-10-12 12:02:30 +00:00
scw
48d75c2893
Work around yet another compiler optimisation bug.
...
I don't even want to think about where else in the kernel
this one could bite...
2002-10-12 12:02:16 +00:00
chris
603917a2c7
Merge isa_machdep.c from netwinder and cats into footbridge/isa (where it
...
joins other machdep files)
Saves maintaining multiple copies of the same thing, the only differences
were:
IRQ line used on the footbridge (made that a define in include/isa_machdep.h)
name of a dma_ranges variable contained arch name, so just made it generic.
2002-10-12 11:53:38 +00:00
scw
2991c538da
Add support for Restartable Atomic Sequences.
...
XXX: ptrace(2) does not currently work on SH5, so there are no checks for
tracing through a RAS at this time.
2002-10-12 11:39:53 +00:00
kent
ba5fd9b3f8
/etc/rc.d/mixerctl: Add capability to save and restore mixer settings.
...
Thanks to Julio Merino.
2002-10-12 11:29:28 +00:00
jdolecek
3c0b9064a5
make the program only await three kevents, so that it won't linger around
...
when the regression test is over
wait a while after program invocation before first echo, so that the
program would have chance to setup the kevents
2002-10-12 11:18:37 +00:00
jdolecek
a5254fcf09
fix the -n handling code
2002-10-12 11:15:08 +00:00
kent
1bb5fc51aa
Correct spelling. VENDER -> VENDOR
2002-10-12 10:46:24 +00:00
soda
bcb7e65b95
revision 1.5 missed to add option -N and -M to 3rd argument of getopt(3).
2002-10-12 08:57:16 +00:00
manu
2001eb6db2
Added SGI_RUSAGE command to syssgi (this is a BSD rusage)
2002-10-12 08:53:46 +00:00
someya
21249921f3
add autri_flags_codec() from OpenBSD, reported by grendel@zeitbombe.org
2002-10-12 08:42:21 +00:00
darrenr
672b9a1044
* enclose unknown command strings inside a pair of 's to clearly mark the
...
text as being the 'whole' part received.
* change a HELP reply from 214 to 504 when there is an error looking for
help on a command.
2002-10-12 08:35:16 +00:00
kent
1d5039e637
Add AC97_CAPS_* and AC97_VENDER_ID_MASK from OpenBSD.
2002-10-12 07:40:41 +00:00
kent
1ced03ad42
Add AudioNvideo, AudioNcenter, AudioNdepth, and AudioNlfe
...
to sync with OpenBSD.
2002-10-12 07:39:00 +00:00
atatat
9bc250be61
Print the contents of the aref (it's small and MI -- MD code here
...
would be horrific).
Handle the new VM_MAP_DYING flag (and adjust the VM_MAP_TOPDOWN bit).
Check to see if 0, 1, and 2 are properly "open" and try to "adjust" if
they're not. Emit no warnings or errors here.
2002-10-12 03:08:27 +00:00
wiz
71c3607b93
Miscellaneous fixes by Martin Weber (ephaeton at that gmx net thingy).
2002-10-12 00:02:47 +00:00
provos
690d7c3ad0
fix type; its "as :group"
2002-10-11 23:31:00 +00:00
provos
5ff67ded16
kernel update requires userland systrace recompile.
2002-10-11 21:55:48 +00:00
provos
61e8c76047
support for privilege elevation.
...
with privilege elevation no suid or sgid binaries are necessary any
longer. Applications can be executed completely unprivileged. Systrace
raises the privileges for a single system call depending on the
configured policy.
Idea from discussions with Perry Metzger, Dug Song and Marcus Watts.
Approved by christos and thorpej.
2002-10-11 21:54:55 +00:00
jdolecek
b144c497d2
sanity changes for NetBSD:
...
* return ENODEV for write/read methods
* use seltrue for poll method
the old semantics still applies for !NetBSD
2002-10-11 21:35:42 +00:00
jdolecek
0f4abac044
use nopoll() instead of empty uriopoll() for NetBSD
...
rename former uriopoll() to urioselect() and provide it only for OpenBSD -
FreeBSD uses nopoll() for urio too
g/c no longer needed uriopoll define for OpenBSD
2002-10-11 20:29:30 +00:00
jdolecek
63c35652f5
replace irix_usemaFOO functions with noFOO/nullFOO as approprite in cdevsw,
...
g/c now unneeded functions
2002-10-11 20:07:48 +00:00
fvdl
6dc742c240
Don't include <i386/isa/icu.h>
2002-10-11 19:14:06 +00:00
yamt
663d2c5069
override KSTACK_LOWEST_ADDR and KSTACK_SIZE for redzone.
2002-10-11 17:49:11 +00:00
fvdl
65f69fe0f2
Need a pmap_update call in setredzone. From YAMAMOTO Takashi.
2002-10-11 17:31:11 +00:00
fvdl
4ab78a95c1
Remove redundant TLB entry flush from pmap_zero_page and friends.
...
Some of these were a merge-o from the i386 mp merge.
Pointed out by YAMAMOTO Takashi.
2002-10-11 17:30:39 +00:00
thorpej
d0eadcfb84
Add missing "needs-flag".
2002-10-11 15:58:20 +00:00
fvdl
0753142b7c
Add NetBSD RCS Id.
2002-10-11 14:22:56 +00:00
christos
35bdad4ed7
str{n,l}cpy fixes and buffer limit fixes from OpenBSD
2002-10-11 13:07:36 +00:00
darrenr
256e201705
"Command not implemented." is 502, not 501 (RFC959, 4.2.1)
2002-10-11 10:57:51 +00:00
agc
84c3d85401
If we're going to rely on a pre-generated getdate.c, we might as well rely
...
on one generated with the correct functionality inside it.
2002-10-11 08:58:44 +00:00
provos
931062ce16
translation for socket system call
2002-10-11 04:40:11 +00:00
kent
3d86014c1c
Kick auich_calibrate() by config_interrupts().
...
auichi_calibrate(): If the measured rate is less than 48k, use
48k.
2002-10-11 04:11:28 +00:00
kent
42e4e19119
ac97_attach(): Restore the default rate value after VRA checking.
...
This change might solve PR kern/18613.
2002-10-11 02:32:23 +00:00
oster
4eb16a0a4f
bye-bye to RF_FREELIST_GET_INIT_ARG and RF_FREELIST_FREE_CLEAN_ARG
...
whos services are no longer needed after poolification of PSS structures.
2002-10-11 02:15:57 +00:00
oster
9401ec32c0
poolify the allocation of Parity Stripe Status structures.
...
XXX: Current code may have problems if kernel memory is completely depleted.
This is, unfortunately, not the only chunk of RAIDframe code to have
this problem, and will have to be dealt with. :(
2002-10-11 02:10:08 +00:00
thorpej
18084f090a
Yet Another config(8) Hazard.
2002-10-11 02:09:42 +00:00
thorpej
564dd74666
Note several more changes to the autoconfiguration code.
2002-10-11 02:07:49 +00:00
thorpej
93854e538b
Allow devices to be orphaned, but emit an informational message when
...
this occurs.
2002-10-11 02:02:24 +00:00