Cameron Grant
b30d115684
stop csa from panicing in clkrun_hack() - we were using free'd memory
...
don't leak memory in clkrun_hack()
Submitted by: grog (partially)
2001-06-18 19:58:03 +00:00
John Baldwin
6fad32afc9
Lock Giant in postsig() for the KTRACE case as ktrpsig() needs Giant when
...
it writes out to the trace file.
Reported by: peter, gallatin, and others
2001-06-18 19:23:43 +00:00
John Baldwin
ce1a1f42fb
Initialize mutexes needed early on all in the same place so that the
...
startup routine more closely matches that of alpha and ia64. At some
point the common mutexes shared across all platforms probably should move
into sys/kern_mutex.c.
2001-06-18 19:19:38 +00:00
John Baldwin
0865563a93
- Add support for decoding syscall names. (Brought over from the new alpha
...
trace code that was brought over from NetBSD.)
- Check for "syscall_with_err_pushed" as the label prior to a syscall trap
frame rather than "Xlcall_syscall" and "Xint0x80_syscall". We don't
have a valid trapframe during the short range of code that those two
symbols now cover.
- Simplify db_next_frame() to avoid duplicating the code for the different
trap frame types.
- Don't try to trace a swapped-out process. (Brought over from NetBSD via
the new alpha trace code.)
2001-06-18 19:17:30 +00:00
John Baldwin
3128cdd847
Include sys/pcpu.h to get the prototype for globaldata_register() to quiet
...
a warning.
2001-06-18 19:06:14 +00:00
Thomas Moestl
916076fefc
Call bus_teardown_intr when csa_attach fails after the interrupt has
...
been set up.
PR: kern/28178
Reviewed by: cg
MFC after: 2 weeks
2001-06-18 18:36:34 +00:00
David Malone
75328eca8d
If the username we are trying to look up in the db files won't fit into
...
the buffer then act like it doesn't exist. The buffer is always big enough
for any valid username.
PR: 27860
Reviewed by: nectar
2001-06-18 16:09:24 +00:00
Ruslan Ermilov
478e7bb603
Pick up the correct headers from sys/contrib/ipfilter/netinet.
2001-06-18 15:55:28 +00:00
Ruslan Ermilov
7879537eee
Removed duplicate copies of files already present in sys/contrib/ipfilter.
...
Not objected to by: -arch
2001-06-18 15:54:04 +00:00
Brian Somers
9c4013d76c
Use linker_reference_module() instead of hard-coding the digi_*
...
module path.
2001-06-18 15:10:20 +00:00
Brian Somers
09dbb40410
Add linker_reference_module().
...
This function loads a module if required, otherwise bumps the reference
count -- the opposite of linker_file_unload().
2001-06-18 15:09:33 +00:00
Brian Somers
3f99abb8b6
Credit John Prince and Eric Hernes for their work.
2001-06-18 15:02:33 +00:00
Brian Somers
6cf6ee7625
Add support for stateful MPPE (microsoft encryption) providing
...
encryption compatibility with Windows 2000. Stateful encryption
uses less CPU but is bad on lossy transports.
The ``set mppe'' command has been expanded. If it's used with any
arguments, ppp will insist on encryption, closing LCP if the other
end refuses.
Unfortunately, Microsoft have abused the CCP reset request so that
receiving a reset request does not result in a reset ack when using
MPPE...
Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
2001-06-18 15:00:22 +00:00
Brian Somers
c8b9fb53a1
Handle hardware-imposed MTU/MRU limitations. PPPoE will no longer
...
allow MRU/MTU negotiations to exceed 1492.
Add an optional ``max'' specifier to ``set m[rt]u'', ie.
set mtu max 1480
Bump the ppp version number.
Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
2001-06-18 14:59:36 +00:00
Ruslan Ermilov
29d19e86ae
Make this really work.
2001-06-18 12:35:14 +00:00
Hajimu UMEMOTO
c3aacd9ec2
call pfxlist_onlink_check() at the end of in6_tmpifadd(), to make sure
...
a temporary address generated from a detached public one also detached.
Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from: KAME
2001-06-18 11:37:06 +00:00
Brian Somers
21ff14e0f9
Don't remove the SI_CHEAPCLONE for unsupported minors
2001-06-18 09:22:30 +00:00
Brian Somers
2deed49982
Remove the SI_CHEAPCLONE flag when hanging resources off the dev_t
2001-06-18 09:21:59 +00:00
Peter Pentchev
e376b9ff16
Add a -d command-line option; when used in conjunction with -f, rarpd
...
sends error messages to stderr, normal output to stdout, instead of
logging everything via syslog.
Turn off the FORMAT_AUDIT in the Makefile, until I can figure out how
to disable the check for one single line in the source :(
Reviewed by: dd, silence on -audit
MFC after: 1 month
2001-06-18 06:48:33 +00:00
Peter Pentchev
e6ebeb5f57
Teach fstat(1) about FIFO's - it's OK to display them as regular files.
...
While I'm here, fix two second-level indents to be four spaces.
Reviewed by: dd, -audit
2001-06-18 06:29:31 +00:00
Assar Westerlund
1866adc54f
(cantwrite): do not allocate memory for a NULL string
...
PR: misc/26044
MFC after: 1 week
Submitted by: bde
2001-06-18 04:44:23 +00:00
Assar Westerlund
a52532c91a
revert freeing of memory that gets allocated when str == NULL
...
(this will be fixed in a better way)
PR: misc/26044
2001-06-18 04:40:52 +00:00
Mike Heffner
a9992a76a3
Support mail boxes that have dates without seconds (SysV) and those
...
that have a timezone as <-|+>nnnn (eg. imapd).
PR: bin/11746
Obtained from: OpenBSD
MFC after: 2 weeks
2001-06-18 04:28:03 +00:00
Mike Heffner
224e22e6c6
Fix typo: clnt_destroy() only takes one arg.
...
MFC after: 2 weeks
2001-06-18 00:45:31 +00:00
Cameron Grant
74ffd13814
use devclass_get_maxunit() correctly
2001-06-18 00:10:47 +00:00
Cameron Grant
faeebea2b8
revise dsp_clone() to return the first nonbusy channel instead of simply
...
cycling channel numbers.
remove unused fields from struct snddev_info.
2001-06-17 23:23:06 +00:00
Cameron Grant
5210620e98
fix a potential panic in dsp_clone() if no pcm devices were detected
2001-06-17 20:15:29 +00:00
Wilko Bulte
fb6958b226
Note support for the Digital Etherworks DE305 card
2001-06-17 14:25:09 +00:00
Yoshihiro Takahashi
6c551e8d24
Don't assume that resource type is ioport and rid equal 0.
2001-06-17 13:33:59 +00:00
Alexander Langer
f0849acde3
Document the -a flag.
2001-06-17 11:22:57 +00:00
Benno Rice
c585bae1c2
The final commit for the first phase of PowerPC support.
...
This adds the config stuff needed to build kernels.
Reviewed by: obrien
2001-06-17 09:39:44 +00:00
Dima Dorfman
7d6d31cb79
Satisfy gcc's parenthetical needs and clamp down with WANRS=2.
...
Reviewed by: md5(1)
2001-06-17 06:22:30 +00:00
Yoshihiro Takahashi
3d1421a7f8
Allocate all resources using keyboard controller.
2001-06-17 04:43:28 +00:00
Mike Heffner
844518ff93
Add the -p flag to force unknown control sequences to be passed
...
through unchanged.
Reviewed by: silence on -audit
Obtained from: NetBSD
MFC after: 3 weeks
2001-06-17 04:24:16 +00:00
Mike Heffner
f34d0e7447
Use err(3) and style(9) cleanup.
...
MFC after: 2 weeks
2001-06-17 03:56:00 +00:00
Yoshihiro Takahashi
b60a68fddf
Supported to select a keymap for PC-98x1.
2001-06-17 03:13:48 +00:00
Yoshihiro Takahashi
6bb4c6e64f
Added PC-98x1 keymaps.
2001-06-17 03:10:38 +00:00
Dima Dorfman
1f5398eeff
Add missing article.
2001-06-17 02:24:04 +00:00
Warner Losh
0c0625cf94
Move cardbus and pccard bus bridge devices to near the bridge chips. This
...
is so that all the pccard options are together and this reduces diffs with
GENERIC.
2001-06-17 02:02:33 +00:00
Dima Dorfman
c01c5d5c46
Don't call printf without a format string (harmless in this case).
2001-06-17 02:01:43 +00:00
Warner Losh
0f51bb10a0
MFGENERIC:
...
1.307 Turn on kernel debug support
1.309 Turn off pcm
1.311 move wx to miibus chipsets
1.312 Comment out USERCONFIG
Reminded by: mihira-san <sanpei@sanpei.org>
2001-06-17 01:57:39 +00:00
Peter Wemm
766ea92b74
Revise wording of osreldate.h vs kernel warning to make it clear that it
...
is a userland-only header.
2001-06-17 01:20:25 +00:00
Dima Dorfman
8a89f037e9
Add an -a option which will make send-pr copy the specified file into
...
the Fix: section. Binary files (as determined by file(1)) are
uuencode'd.
Submitted by: alex
2001-06-17 00:35:46 +00:00
Peter Wemm
b85db19691
Move setugid() a little sooner to before we release tracing in case
...
crdup() or change_e*id() block on malloc() or mutex.
2001-06-16 23:34:23 +00:00
Warner Losh
8d3428c0b4
Some people are having problems with insert/eject. Add some debug
...
information until the problems can be tracked down. Right now these
are unconditional, but later it will be hidden behind a boot verbose.
Also, if there are no events listed in the event mask, return right
away. Specifically avoid writing back interrupt acks in this case.
2001-06-16 23:26:18 +00:00
Dima Dorfman
1fecc3ff98
Correct a typo in an error message.
2001-06-16 23:15:15 +00:00
Dima Dorfman
fd67620214
Make the synopsis resemble the usage in the source file.
2001-06-16 23:09:12 +00:00
Peter Wemm
46700f1259
Use INTR_TYPE_AV for the interrupt handlers because:
...
1: most drivers are sensitive to timing, and
2: the handlers are MPSAFE and need a chance to get into the kernel
before some other non-mpsafe handler blocks the ithread on Giant in
shared irq cases.
Reviewed by: cg (in principle)
2001-06-16 22:59:46 +00:00
Peter Wemm
5a280d9cd1
Add INTR_TYPE_AV so that we can get to the PI_AV priority in the ithread
...
handlers. This is beneficial since it means that pcm's MPSAFE handler
can get run before things that will block on Giant in the shared irq
case.
2001-06-16 22:42:19 +00:00
Peter Wemm
c1e152312d
Clean up some junk. The bogus trapframe on the stack was removed from the
...
MI code in August 2000 elsewhere.
2001-06-16 22:07:32 +00:00