Commit Graph

63454 Commits

Author SHA1 Message Date
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
ru
e02840ed3d Removed comments that simply describe what is seen by ``cvs di -rRELENG_4''
of that file.  (xtp(4) has already been MFC'ed.)
2001-08-17 15:51:26 +00:00
ru
c82403ffa0 mdoc(7) police: collapse multiple spaces. 2001-08-17 15:25:55 +00:00
ru
ea8c823418 mdoc(7) police: fixed the fatal. 2001-08-17 15:18:49 +00:00
bmah
c6fc08a339 Note that cdrecord is a part of the sysutils/cdrtools port.
(While I'm here, change markup for a reference to the net/smbfs
port to use <port></port> tags.)

Submitted by:	kris
2001-08-17 15:16:12 +00:00
bmah
5f516e2c4a MFS:
s/compatability/compatibility/
	s/compatable/compatible/
	s/behaviour/behavior/
2001-08-17 15:01:39 +00:00
ru
ce58f1ab6f mdoc(7) police: markup nit. 2001-08-17 12:26:00 +00:00
sobomax
c7965fb223 The ports that convert screendumps into text or png called scr2*, not
shot2*.

PR:
Submitted by:   Olexander Kunytsa
2001-08-17 11:32:25 +00:00
joe
cd7a777b74 Make source crunches work as well as object crunches; broken in the
last commit that fixed object crunches.

Repeat after me, "no excuses for not testing".
2001-08-17 11:11:10 +00:00
ache
b2c8d2cea9 Simplify overflow calculations a bit 2001-08-17 11:08:56 +00:00
ache
a95746d6e3 Remove extra check, already done in upper level caller, i.e. in
_fseeko()
2001-08-17 10:43:03 +00:00
ache
4107e6045e Mention ftell & ftello in EOVERFLOW section too. 2001-08-17 10:29:09 +00:00
ache
28f5a91209 Add more overflow checks in case of fseek() 2001-08-17 10:22:03 +00:00
ache
555ada99b6 Don't clear "we have offset" flag even if long is overflow for fseek(),
there is no harm to have it, it will reduce next call efforts.
2001-08-17 10:06:46 +00:00
ache
ca91420dc8 fseek.c:
Resulting fseek() offset must fit in long, required by POSIX (pointed by bde),
so add LONG_MAX and final tests for it.

rewind.c:
1) add missing __sinit() as in fseek() it pretends to be.
2) use clearerr_unlocked() since we already lock stream before _fseeko()
3) don't zero errno at the end, it explicitely required by POSIX as the
only one method to test rewind() error condition.
4) don't clearerr() if error happens in _fseeko()
2001-08-17 09:57:11 +00:00
kris
141c7ecefc cdrecord is now called cdrtools
Submitted by:	stuart nichols <unstable@stac.state.tx.us>
2001-08-17 06:42:31 +00:00
fjoe
d0749da32c add an entry about myself
Reviewed by:	jdp
2001-08-17 05:59:39 +00:00
gibbs
6e94a734c7 Restore initialization of ahc->unpause lost in rev 1.76. ahc->unpause
should be initialized to 0 for PCI adapters which was a side-effect of
the memset in ahc_alloc().  EISA/VL adapters require our unpause value to
include the "levelness" of our interrupt.

This change allows EISA adapters to work again.

PR: 29689, 29471
2001-08-17 04:22:50 +00:00
peter
3e8f4794cb Fix part of another problem that bde pointed out. This is different
to what bde suggested though.
2001-08-16 23:43:24 +00:00
obrien
8ca63ecded Define _KERNEL as this grubs around where no userland should go. 2001-08-16 20:47:01 +00:00
peter
f69efec06f Remove redundant null-termination. The buffer is already explicitly
zeroed, and we intentionally leave -1 on the strncpy length to leave
the original \0.

Submitted by: bde
2001-08-16 20:18:43 +00:00
peter
24b623f302 Don't explicitly null-terminate. The buffer we are copying into is
already zeroed, and we explicitly leave the last byte untouched.

Submitted by: bde
2001-08-16 20:16:20 +00:00
wpaul
7123562464 After one more day of testing, make what I hope are the final tweaks to
prevent/workaround TX lockups in this driver. The secret seems to be to
not let the TX DMA queue become too full. If we have too many packets
in the queue, we should wait for them to drain a bit before trying to
queue more. This should prevent the lockup from occurring, and if it
does occur, there is special code in sf_start() to kick the NIC in the
head and get it going again.

Special thanks to Glen Neff for helping me test this fix.
2001-08-16 20:15:16 +00:00