Garrett Wollman
5813675eed
Document _SC_IOV_MAX. Add cross-references to pathconf(2), confstr(3), and
...
getconf(1). This document still needs to be sorted and to have other missing
parameters described.
2001-06-18 22:18:08 +00:00
Bill Paul
7437599f41
Fix some memory bugs with regard to jumbo buffers. I made a mistake when
...
converting from the old external mbuf buffer code to the new (with the
MEXTADD() macro). Also free free list memory correctly in
foo_free_jumbo_mem() routines: grab the head of the list, then
remove it, _then_ free() it.
This fixes the memory corruption problem I've been chasing in the level 1
driver.
2001-06-18 22:04:40 +00:00
Dima Dorfman
cfd1472cef
When processing -a, strip off the path of the argument before copying
...
it to the output.
Reviewed by: alex
2001-06-18 21:57:24 +00:00
Jim Pirzyk
7b32dc4ee4
Added CTLTYPE_{UINT|LONG|ULONG} types.
...
PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month
2001-06-18 21:07:04 +00:00
Jim Pirzyk
1ce1a53dc3
modfied sysctl command to allow setting values > 2GB if the mib supports it.
...
PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month
2001-06-18 21:06:24 +00:00
Bill Paul
c92a454e2b
Typo/mind-o fixes.
2001-06-18 20:57:03 +00:00
Dima Dorfman
c91ed2eb6c
Correct getopt usage and a syntax error (period used instead of a semicolon).
2001-06-18 20:36:06 +00:00
Garrett Wollman
37336173d3
After one too many PRs on the subject, bite the bullet and define IOV_MAX
...
and its associated constants. Implement _SC_IOV_MAX in the usual way.
Be a bit sloppy about the namespace question; this should get cleared up
in time for 5.0.
MFC after: 1 month
2001-06-18 20:24:54 +00:00
Dima Dorfman
0f77799115
Xref zcat(1).
2001-06-18 20:00:39 +00:00
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