Commit Graph

63676 Commits

Author SHA1 Message Date
obrien
12119c5784 Remove the building of a kerberosIV'ed cvs. `make release' has been broken
for the past 9 days!
2001-08-19 15:46:10 +00:00
ache
6ea1f5e148 Add about rewind+errno, describe ESPIPE, minor formatting. 2001-08-19 08:24:50 +00:00
kris
5e75b336b9 Silence non-constant format string warnings by marking functions
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.

MFC after:	2 weeks
2001-08-19 08:19:37 +00:00
imp
0bbccbf2dc Forced commit to fix last commit message:
The card can be removed in pcic's ISR.  We don't call the
	card's ISR when no card exists.
2001-08-19 06:31:53 +00:00
imp
33c3c53a53 Improve interlocking for card removal. We now can remove the card in
the ISR.  We keep track of the card state and don't call the IRS when
the card isn't inserted.  This helps quite a bit with card ejection
problems that Ian was seeing.

Submitted by: Ian Dowse
MFC upon: re approvel.
2001-08-19 05:01:18 +00:00
julian
c51d4d8eee Constify m_copydata.
this allows constants to be copied without giving errors.
(removes a couple of warning messages in the kernel.)

Note: uipc_mbuf.c is a forced commit as it was accidentally included in another commit.

MFC after:	2 weeks
2001-08-19 04:35:28 +00:00
julian
b753f3c491 Forgot to remove this un-needed test. (M_WAITOK won't fail)
I vaguely remember someone once proving it COULD return NULL..
was that changed?

Reminded by: BDE

MFC after:	2 weeks
2001-08-19 04:30:13 +00:00
brian
d01d678e4d Better handling of the return from snprintf 2001-08-18 22:46:06 +00:00
brian
d100840eb7 Better handling for the return of snprintf(). 2001-08-18 22:43:11 +00:00
brian
1f224ee69c If AF_INET6 isn't available in the kernel, revert to creating AF_INET
listening sockets in ``set server''.
2001-08-18 19:16:56 +00:00
jake
bc8b09d67e Don't needlessly duplicate what's basically the same copyright. 2001-08-18 19:09:55 +00:00
brian
bf052a7555 Back out the previous fix to deal with kernels that don't support IPv6,
and implement a far more subtle and correct fix.

The reason behind the infinite loop was that ppp was trying to make up
initial IPv6 numbers and wasn't giving up when it failed unexpectedly to
assign the addresses it just fabricated to it's interface (thinking that
the reason was because another interface was using the same address).
It now attempts this up to 100 times before just failing and trying to
muddle along (in reality, this should never happen more than a couple
of times unless our random number generator doesn't work).

Also, when IPv6 is not available, don't even try to assign the IPv6
interface address in the first place...
2001-08-18 19:07:13 +00:00
jake
4a1bf71cd8 Implement cpu_wait(). 2001-08-18 18:11:48 +00:00
jake
96b13f3863 Increase the size of the phys_avail memory map. Implement pmap_dispose_proc.
Turn some more potentially import functions into nops so we can do stuff
until they matter.
2001-08-18 18:11:13 +00:00
jake
02952fe249 Spell ta 1 correctly as ta %xcc, 1. Use %pil for critical enter/exit
instead of pstate.ie.  Note that popc is not implemented in hardware
on certain ultras, so we can't use it for inline ffs (suck).
2001-08-18 18:07:37 +00:00
jake
a0fb62c216 Gcc 3.0 requires a .register pseudo-op for certain global registers when
used in assembly language.  Tell it to ignore the registers for now.
2001-08-18 18:05:24 +00:00
julian
70b8f5f2d3 fix typo
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2001-08-18 17:43:29 +00:00
sobomax
36c94f8e4c Extend comments documenting various supported audio formats and mixer devices.
Reviewed by:    ru, cg
Approved by:    cg
Obtained from:  4Front's OSS Programming Guide
MFC after:	2 weeks
2001-08-18 15:07:51 +00:00
dwmalone
4449dfd727 Clear up what the line "ALL : PARANOID : RFC931 20 : deny" means
to tcp wrappers. The description is a little long, but hopefully
accurate.
2001-08-18 14:22:52 +00:00
brian
cfa5d0ff52 Run correctly on a machine built without AF_INET6 support 2001-08-18 13:04:52 +00:00
brian
fb43a54a68 Build properly with -DNOINET6 2001-08-18 12:31:54 +00:00
brian
7fdf4b8b81 Build properly with -DNOIPV6 2001-08-18 12:30:41 +00:00
des
4debb1b901 Remove a blank line that snuck in with the previous commit.
Set the default timeout to 120 seconds instead of 0 (no timeout).
2001-08-18 10:48:55 +00:00
ken
ef96d4b7a9 Implement compute_stats() in terms of devstat_compute_statistics(). This
gets rid of the duplicated code in compute_stats().

Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.

Thanks to Sergey Osokin for coding up my idea/code fragment.

Submitted by:	"Sergey A. Osokin" <osa@freebsd.org.ru>
2001-08-18 05:46:59 +00:00
mp
95b64737b7 Unbreak linux compatibility by providing the correct length of the buffer.
Reported by:	"Pierre Y. Dampure" <pierre.dampure@westmarsh.com>,
		"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
Pointy hat to:	mp
2001-08-18 04:24:30 +00:00
peter
8f9d0c3e4f There is nothing special that requires SSE to be only on 686 class cpus.
This enables 586-only SMP kernels to compile again.

Problem reported by:  Jacek Jedrzejczak <jacol@ids.gda.pl>
2001-08-18 04:04:45 +00:00
peter
77c5965e95 Correct path (../crypto, not ../../crypto) 2001-08-18 03:36:26 +00:00
peter
886fd9ad64 Sigh. ufs_lookup() calls ffs_snapgone(), meaning that 'options EXT2FS'
without 'options FFS' would fail to link.
2001-08-18 03:08:48 +00:00
peter
ef02fc4189 Only compile the ufs components if FFS || IFS || EXT2FS are present, not
unconditionally.
2001-08-18 02:57:25 +00:00
julian
e4062474eb Don't alocate a 400 byte buffer on the stack,
Nor 800 bytes of structures..

MFC after:	2 weeks
2001-08-18 02:53:50 +00:00
jhb
f812c1feab Turn off SMP on Alpha for the time being. There are some memory ordering
issues that can result in panics and probably data corruption on SMP
systems right now.  When they are fixed this can be turned back on.
2001-08-18 01:12:43 +00:00
jhb
565c172bb8 Grab Giant around trapsignal() at the bottom of trap().
Reported by:	obrien
2001-08-18 01:08:45 +00:00
jhb
f76c65e1be Remove redundant declarations of functions that are declared in
sys/ptrace.h.
2001-08-18 00:57:32 +00:00
bmah
319cdcbb38 New release note: CDROM booting on IBMs.
Reminded by:	mp
2001-08-18 00:12:23 +00:00
obrien
d40943f1a4 Re-initialize gp after a jsr.
When rtld runs the .fini section in a shared lib (C++), the code in
question from .../contrib/gdb/config/alpha/crtbegin.asm first calls
__do_globals_dtors_aux and then __do_frame_takedown.  Unfortunately, the
value of gp after a jsr is undefined and in this case had changed from before
the call, probably as a result of calling code in some other shared library.
The normal calling convention for alpha is to re-initialize gp using
'ldgp gp,0(ra)' after a jsr instruction but in this case no such
re-initialization is done. This leads to a bogus value being read for the
address of __do_frame_takedown and a quick segfault.

Submitted by:   dfr
Obtained from:  GCC 3.0
2001-08-17 22:54:26 +00:00
des
f1dd0e9302 Add some comments. 2001-08-17 22:22:45 +00:00
brooks
426e63d9a6 Actuall make plumb work in addition to create as per the manpage.
PR:		bin/29812
Submitted by:	Joao Carlos Mendes Luis <jonny@eng05.embratel.net.br>
2001-08-17 22:16:11 +00:00
dd
0585574d9b Implement getpeereid(3), a front-end to the LOCAL_PEERCRED
socket option for the Unix domain.  It's weaker than the
socket option (this only returns the uid and gid, while the
socket opt. can return the entire group list), and is
implemented mostly for compatibility with OpenBSD.
2001-08-17 22:09:15 +00:00
dd
5e416567e1 Implement a LOCAL_PEERCRED socket option which returns a
`struct xucred` with the credentials of the connected peer.
Obviously this only works (and makes sense) on SOCK_STREAM
sockets.  This works for both the connect(2) and listen(2)
callers.

There is precise documentation of the semantics in unix(4).

Reviewed by:	dwmalone (eyeballed)
2001-08-17 22:01:18 +00:00
bmah
90eec3a264 New release note: SA-01:53. 2001-08-17 21:59:13 +00:00
dd
03df2812cd When discussing optimization levels, don't put the compiler options in
.Op.  None of the other manual pages do it when discussing options in
the main text, so this one shouldn't, either.  Also, use .Pq instead
of another odd constructhyphenation isn't an issue here, since it's
desireable to have the contents of that digression appear together,
and it's already in another macro, anyway).
2001-08-17 21:42:15 +00:00
dd
489477439a Xref raise(3). 2001-08-17 21:04:42 +00:00
scottl
2d8610c12b Clarify the description string for one of the StrongARM based cards. 2001-08-17 20:59:49 +00:00
bmah
39ad19b1cf Troll for MFCs that haven't been marked as such: KERNCONF, an(4)
support for Aironet 350, ed(4) support for Linksys cards, aac(4),
ssh(1) not SUID, passwd(1)/pw(8) support for passwd_format,
rc(8) deletes non-directories in /var/run and /var/spool/lock,
fmtcheck(3), sshd(8) X11Forwarding, sshd_config MaxStartups
deprecates ConnectionsPerPeriod.

Some of these MFCs are new, others were reflected in 4-STABLE's
release notes already, and still others were MFC-ed before prior
releases.

Relocate dgm->digi release note item to live next to digi.

Relocate an(4)/AIR350 note to be next to another an(4) entry.

Remove a duplicate entry documenting xargs(1) -J.

Port markup fixes:  sysutils/cs9660_unicode, net/pim6dd, net/pim6sd.
2001-08-17 19:59:25 +00:00
bmah
1b52ad9bb1 Markup nit: Mark some things with <envar> that used be done with
<literal> or <varname>.
2001-08-17 17:36:50 +00:00
obrien
dd7a669ee7 Use a build-tool to create the .mgc files.
Submitted by:	ru (partial)
Obtained from:	NetBSD (basic idea)
Reviewed by:	bde, ru
2001-08-17 17:21:38 +00:00
bmah
0e1462102a New/updated release notes: maxusers tunable, vidcontrol(1) -h,
tmpname(3) use of TMPDIR.
2001-08-17 17:18:39 +00:00
obrien
fd6406eeb6 Fix style nits. 2001-08-17 16:54:09 +00:00
ru
7f8da49d20 Removed the (possible) ambiguity in /etc/rc.conf comment.
PR:		bin/29736
2001-08-17 16:05:54 +00:00
bmah
e4df31a7d0 New/modified release notes: Update isdn4bsd entry (users must
use ispppcontrol when doing kernel PPP over ISDN), s/Ukranian/Ukrainian/.

MFCs noted:  cdcontrol(1) next/prev, sysctl(8) -N, sysctl(8) -ao/-ax and
-w deprecated, col(1) -p.
2001-08-17 16:04:01 +00:00