Commit Graph

63246 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
db695db7f0 Add some comments. 2001-08-17 22:22:45 +00:00
Brooks Davis
1ce95f7862 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
Dima Dorfman
e6063dd1a6 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
Dima Dorfman
0c1bb4fbf1 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
Bruce A. Mah
3da705c074 New release note: SA-01:53. 2001-08-17 21:59:13 +00:00
Dima Dorfman
d489ec12ce 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
Dima Dorfman
06a4bf789c Xref raise(3). 2001-08-17 21:04:42 +00:00
Scott Long
33a375b754 Clarify the description string for one of the StrongARM based cards. 2001-08-17 20:59:49 +00:00
Bruce A. Mah
a82d1944d1 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
Bruce A. Mah
e634b7c5ce Markup nit: Mark some things with <envar> that used be done with
<literal> or <varname>.
2001-08-17 17:36:50 +00:00
David E. O'Brien
1687fcd346 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
Bruce A. Mah
1af57916eb New/updated release notes: maxusers tunable, vidcontrol(1) -h,
tmpname(3) use of TMPDIR.
2001-08-17 17:18:39 +00:00
David E. O'Brien
7b1e8fbd77 Fix style nits. 2001-08-17 16:54:09 +00:00
Ruslan Ermilov
1c86a7d9c7 Removed the (possible) ambiguity in /etc/rc.conf comment.
PR:		bin/29736
2001-08-17 16:05:54 +00:00
Bruce A. Mah
172e031961 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
Ruslan Ermilov
c92693c771 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
Ruslan Ermilov
e822b43712 mdoc(7) police: collapse multiple spaces. 2001-08-17 15:25:55 +00:00
Ruslan Ermilov
e1aaa82284 mdoc(7) police: fixed the fatal. 2001-08-17 15:18:49 +00:00
Bruce A. Mah
702aeed834 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
Bruce A. Mah
b8355abfe3 MFS:
s/compatability/compatibility/
	s/compatable/compatible/
	s/behaviour/behavior/
2001-08-17 15:01:39 +00:00
Ruslan Ermilov
8ba8e735fc mdoc(7) police: markup nit. 2001-08-17 12:26:00 +00:00
Maxim Sobolev
8ddd49f697 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
Josef Karthauser
1554755e12 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
Andrey A. Chernov
98aa5183a2 Simplify overflow calculations a bit 2001-08-17 11:08:56 +00:00
Andrey A. Chernov
4a9f1ee4e5 Remove extra check, already done in upper level caller, i.e. in
_fseeko()
2001-08-17 10:43:03 +00:00
Andrey A. Chernov
5fdaf178ae Mention ftell & ftello in EOVERFLOW section too. 2001-08-17 10:29:09 +00:00
Andrey A. Chernov
b98ba4224b Add more overflow checks in case of fseek() 2001-08-17 10:22:03 +00:00
Andrey A. Chernov
68ce9bfb10 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
Andrey A. Chernov
71b5a4326d 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 Kennaway
fb9d17b07b cdrecord is now called cdrtools
Submitted by:	stuart nichols <unstable@stac.state.tx.us>
2001-08-17 06:42:31 +00:00
Max Khon
9a94731096 add an entry about myself
Reviewed by:	jdp
2001-08-17 05:59:39 +00:00
Justin T. Gibbs
937b771c8c 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 Wemm
0ecd57ad0b 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
David E. O'Brien
fcd08e35ec Define _KERNEL as this grubs around where no userland should go. 2001-08-16 20:47:01 +00:00
Peter Wemm
5a66a2532b 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 Wemm
a75a0c55f4 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
Bill Paul
d3ab0d02cf 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
David E. O'Brien
e113a479b2 Prototype the ptrace_*() 2001-08-16 19:57:36 +00:00
Brian Feldman
0e513252b5 Update the OpenSSH minor-version string.
Requested by:	obrien
Reviewed by:	rwatson
2001-08-16 19:26:19 +00:00
Matt Jacob
169ad8cfef oops- typo in a previous commit 2001-08-16 17:39:45 +00:00
Matt Jacob
561e7bb942 Fix a spelling error in a comment. 2001-08-16 17:31:27 +00:00
Warner Losh
1865c617e4 Fix the so-called "half-baked-probe" code that I wrote a long time ago
to properly clear the interrupt register on the no error case.  Also,
set the mcr register to zero when we find we can't support the chip.

This fixes the hang on sio driver attach problem in the new pci pccard
code that some people have reported.  At least on my machine.  I'd
like to get this into 4.4.

Submitted by: bde
PR: kern/29742

MFC after: 1 day
2001-08-16 17:30:55 +00:00
Matt Jacob
dda035d1fc Add more MBOX and ASYNC event defines.
MFC after:	2 weeks
2001-08-16 17:26:03 +00:00
Matt Jacob
be534d5f1a Thanks to PHK for spotting: ISPASYNC_UNHANDLED_RESPONSE not
handle in isp_async.
2001-08-16 17:25:41 +00:00
Matt Jacob
50719f7521 Enable LIP F8, LIP Reset async events.
Be more chatty about SNS failures. Fix
typo for skipped phase mesage. Correct
MBOX_GET_PORT_QUEUE_PARAMS options in
table.

MFC after:	2 weeks
2001-08-16 17:25:08 +00:00
Ruslan Ermilov
f34d43b9dd MFS: first appeared in FreeBSD 4.4. 2001-08-16 17:19:30 +00:00
Julian Elischer
6221ffb389 Fix typo
Submitted by:	 BDE
MFC after:	2 weeks
2001-08-16 17:17:54 +00:00
Julian Elischer
50624012be Only allocate teh 1540 byte buffer if we need it..
(lazy allocation)

MFC after:	13 days
2001-08-16 17:16:31 +00:00
Brian Somers
cb41bad03f Add two missing includes 2001-08-16 16:58:12 +00:00
Brian Somers
e1a94c3dcf Remove an unused variable 2001-08-16 16:58:02 +00:00