Commit Graph

54151 Commits

Author SHA1 Message Date
Jake Burkholder
249849e0b9 - Rename callout_reset to _callout_reset and add a flags argument.
- Add macros callout_reset, which does the obvious, and
  mp_callout_reset, which passes the CALLOUT_MPSAFE flag.
2000-11-25 03:34:49 +00:00
Peter Wemm
3f964411b5 Make the xxxFILES= list generation generic. This makes it easier to add
things like MFILES= or CONFFILES= without having to modify config code.
2000-11-25 03:25:34 +00:00
Alfred Perlstein
ed0fe1449c add threadsafe version of inet_ntoa (inet_ntoa_r takes a buffer to fill)
this is used by some debugging functions
2000-11-25 03:14:31 +00:00
Alfred Perlstein
d28632c097 These files are mpsafe. 2000-11-25 03:01:05 +00:00
David E. O'Brien
bc2c479e0a Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:08:34 +00:00
David E. O'Brien
afee4f874c Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:02:01 +00:00
Brian Feldman
ee510eab3f In env_destroy(), it is a bad idea to env_swap(self, 0) to switch
back to the original environ unconditionally.  The setting of the
variable to save the previous environ is conditional; it happens when
ENV.e_committed is set.  Therefore, don't try to swap the env back
unless the previous env has been initialized.

PR:		bin/22670
Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>
2000-11-25 02:00:35 +00:00
Bill Fumerola
2a644691bc Correct an arguement to ssh_add_identity, this matches what is currently
in ports/security/openssh/files/pam_ssh.c

PR:		22164
Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Reviewed by:	green
Approved by:	green
2000-11-25 01:55:42 +00:00
David E. O'Brien
d96d20c397 Don't build libgcc_r if "NOLIBC_R" defined. If you don't have a threads
safe libc, having a threads safe libgcc isn't of much use.
2000-11-25 01:25:35 +00:00
Roger Hardiman
0eaa901ba7 Print a warning when we detect a Realtek 8139B chip
(identified by the IO map being 256 bytes long instead of 128)

This chip works very unreliably on my Lanner embedded PC with the rl driver.
Lots of watchdog timeouts or poor performance.

Forcing the media type to 10 Meg (ifconfig rl0 media 10baseT/UTP) is a good
workaround.

This looks very similar to the problem reported in PR kern/18790

It is interesting to note that the linux driver has lots of special
case code for this chip.
2000-11-24 17:36:07 +00:00
Mark Murray
9dd471dfa5 Add a module makefile for if_ep.
This is not enabled by default, as the module is missing a bunch of
useful stuff (like the ability to unload).

Not objected to by:	mdodd
2000-11-24 17:04:51 +00:00
Ruslan Ermilov
ab9d545279 Eliminate groff(1) warnings. 2000-11-24 16:58:17 +00:00
Ruslan Ermilov
d18deecba9 The default format for troff documentation is set with PRINTERDEVICE. 2000-11-24 14:08:07 +00:00
Ruslan Ermilov
025e751723 Make this paper buildable in nroff mode, eliminate warnings,
do not force default printing device and compression mode.
2000-11-24 13:58:21 +00:00
Ruslan Ermilov
468e81775d mdoc(7) police: minor fixes. 2000-11-24 11:39:39 +00:00
Ben Smithurst
759ca2b99f Fix a layout problem (.It Li -> .Fx)
PR:		23055
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-24 11:17:28 +00:00
Sheldon Hearn
6b3c2ca5dc (forced commit)
More detail describing why chmod is installed into ${INSTALLTMP} since
rev 1.176:

We use Perl's MakeMaker-generated makefiles to install Perl.  Since we
can't hack up MakeMaker's MM_Unix.pm to suit our build, we need chmod
to be around until we use our own makefiles to install perl.

PR:		gnu/22025
2000-11-24 11:13:15 +00:00
Sheldon Hearn
b97552bf54 Remove the only hard sentence break in the file. 2000-11-24 10:48:02 +00:00
Jeroen Ruigrok van der Werven
0d59faf64a Document EI_OSABI and EI_ABIVERSION.
Requested by: obrien
2000-11-24 10:42:21 +00:00
Ben Smithurst
47f77d8c57 Mention mergemaster(8).
Submitted by:	obrien
2000-11-24 10:22:08 +00:00
Poul-Henning Kamp
1082b68736 Let the pwd program double as realpath(1).
This lets you resolve pathnames to their underlying physical path:

	critter# realpath /sys/kern/subr_disk.c
	/freebsd/src/sys/kern/subr_disk.c

Update the pwd man-page slightly.
2000-11-24 10:18:52 +00:00
Ruslan Ermilov
92ee29d2a5 Reimplement the groff(1) warnings elimination fixes in a better way. 2000-11-24 10:05:30 +00:00
Ruslan Ermilov
454409ad22 Eliminate groff(1) warnings. 2000-11-24 09:33:37 +00:00
Joseph Koshy
b67f439c91 [rsh.1] Document the -4' and -6' options.
[rsh.c] Make usage message match the code.
2000-11-24 09:25:44 +00:00
Joseph Koshy
0deea1c066 [rlogin.1] Document the -4' and -6' options. Correct a typo.
[rlogin.c] Make the usage message match the code.
2000-11-24 09:14:09 +00:00
Bosko Milekic
a352dd9a71 Fixup (hopefully) bridging + ipfw + dummynet together...
* Some dummynet code incorrectly handled a malloc()-allocated pseudo-mbuf
  header structure, called "pkt," and could consequently pollute the mbuf
  free list if it was ever passed to m_freem(). The fix involved passing not
  pkt, but essentially pkt->m_next (which is a real mbuf) to the mbuf
  utility routines.

* Also, for dummynet, in bdg_forward(), made the code copy the ethernet header
  back into the mbuf (prepended) because the dummynet code that follows expects
  it to be there but it is, unfortunately for dummynet, passed to bdg_forward
  as a seperate argument.

PRs: kern/19551 ; misc/21534 ; kern/23010
Submitted by: Thomas Moestl <tmoestl@gmx.net>
Reviewed by: bmilekic
Approved by: luigi
2000-11-23 22:25:03 +00:00
Daniel C. Sobral
232095104e Add a brief warning about devclass and multiple device driver attachments. 2000-11-23 17:19:54 +00:00
Ruslan Ermilov
bbc7e5700d Eliminate groff(1) warnings. 2000-11-23 15:21:30 +00:00
Ben Smithurst
7c20a49391 Use a more generic name for the compiler cross-reference. (cc instead of
gcc.)

Suggested by:	sheldonh (not sholdonh)
2000-11-23 14:44:45 +00:00
Ben Smithurst
a81996b6b8 * Say that ps, top, etc, "may not work" with the new kernel, rather than
"will not work", as in many cases they will.

Suggested by:	sholdonh

* Add cross-references to reboot(8) and shutdown(8)
2000-11-23 14:19:50 +00:00
Ben Smithurst
3faf5fc932 Add an example to explain the basic procedure to build the world.
Suggested by:	obrien
2000-11-23 14:00:26 +00:00
David E. O'Brien
4ae4f784dc Update for the Bintuils 2.10.1 import. 2000-11-23 12:28:19 +00:00
Ben Smithurst
d9a7d86c29 kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0.
PR:		23020
Submitted by:	Simon Dick <simond@irrelevant.org>
2000-11-23 11:21:35 +00:00
Ben Smithurst
33bbe5bb02 Add the appropriate magic to make .Fx 4.1.1 work. 2000-11-23 11:17:33 +00:00
Ruslan Ermilov
817420dc8e Eliminate groff(1) warnings. 2000-11-23 11:08:17 +00:00
Matthew Dillon
e0be78f6dc Forgot to patch this file in file descriptor race fix commit
Submitted-by: "Danny J. Zerkel" <dzerkel@columbus.rr.com>
2000-11-23 11:05:14 +00:00
Ruslan Ermilov
700f2ee5c3 Eliminate groff(1) warnings.
Obtained from:	NetBSD
2000-11-23 10:15:50 +00:00
Marcel Moolenaar
cc6ca9b35c o Change the argument of linux_sigreturn to be a pointer to a
struct sigframe. We need more than only the signal context.

o  Properly convert the signal mask when setting up the signal
   frame in linux_sendsig and properly convert it back in
   linux_sigreturn.

Do some cleanups and improve style while here.
2000-11-23 08:55:30 +00:00
Marcel Moolenaar
e26cc4467b Change the argument of linux_sigreturn to be a pointer to a
struct sigframe.
2000-11-23 08:53:19 +00:00
Ruslan Ermilov
c3e7b38f93 Starting from groff(1) version 1.12, -msafer is now the default,
but index building for 13.viref requires the use of .sy request.
Repair the index building by running groff(1) in unsafe -U mode.

Requested by:	bde
2000-11-23 08:51:33 +00:00
Ruslan Ermilov
7f8047281e mdoc(7) police: misc minor fixes. 2000-11-23 08:18:10 +00:00
Jun Kuriyama
d83edf4e44 Remove extra ")". 2000-11-23 08:09:45 +00:00
Bill Paul
0b32bab160 Add a forgotten mutex_exit()/KUE_UNLOCK() to kue_init(). 2000-11-23 05:58:48 +00:00
Marcel Moolenaar
466b14d758 Don't unregister the ioctl handlers before we verified we
can unload. Doing so leaves the linuxulator in a crippled
state (no ioctl support) when Linux binaries are run at
unload time.

While here, consistently spell ELF in capitals and perform
some minor style improvements.

ELF spelling submitted by: asmodai
2000-11-23 03:21:58 +00:00
Greg Lehey
162b57c009 Correct the pathname of the history file.
Reported by:	Crist J . Clark <cjclark@alum.mit.edu>
2000-11-23 01:41:11 +00:00
Bruce A. Mah
9b3b2bd906 New release notes: Thread supports under Linux emulation on alpha,
an(4)/ancontrol(8) WEP, ng_one2many(4), softupdates bugfixes/
enhancements, OpenSSH agent/X forwarding bug fixed, ssh(1) no longer
SUID root, OpenSSL->0.9.6, binutils->2.10.1, lastlogin(1),
newfs(1) write combining (+MFC), config(8) buffer overflows fixed,
pcm(4) drivers compiled into GENERIC by default.

Other MFCs:  Write combining for crash dumps.

Delete a duplicated note on mergemaster(8).
2000-11-23 01:22:59 +00:00
John Baldwin
f377b2b19e Fix the KTR tracepoints for mtx_enter/exit/try_enter to properly order the
parameters for the KTR_EXTEND case.
2000-11-23 00:38:45 +00:00
Bill Paul
bade6e5e6b Update the probe some more to deal with 16/32 bit issues. If the chip
is already in 32-bit mode, we need to be able to detect this and still
read the chip ID code. Detecting 32-bit mode is actually a little
tricky, since we want to avoid turning it on accidentally. The easiest
way to do it is to just try and read the PCI subsystem ID from the
bus control registers using 16-bit accesses and compare that with the
value read from PCI config space. If they match, then we know we're in
16-bit mode, otherwise we assume 32-bit mode.
2000-11-23 00:28:43 +00:00
Jordan K. Hubbard
d3ae70097d Finish the job of conditionalizing the PC98 stuff. 2000-11-22 22:28:34 +00:00
David E. O'Brien
5e514c64f7 Remove "NODESCRYPTLINKS" it has been superseeded by "passwd_format"
in /etc/login.conf.
2000-11-22 20:37:40 +00:00