Commit Graph

73314 Commits

Author SHA1 Message Date
Thomas Moestl
421a9d041e Add macros for concatenating tailqs and stailqs.
PR:		20024
Submitted by:	Tony Finch <dot@dotat.at> (TAILQ_CONCAT)
2002-04-17 13:43:31 +00:00
Maxime Henrion
41196280ac Use the new functionalities provided by the kenv(2) syscall.
Reviewed by:	peter
2002-04-17 13:08:14 +00:00
Maxime Henrion
d786139c76 Rework the kernel environment subsystem. We now convert the static
environment needed at boot time to a dynamic subsystem when VM is
up.  The dynamic kernel environment is protected by an sx lock.

This adds some new functions to manipulate the kernel environment :
freeenv(), setenv(), unsetenv() and testenv().  freeenv() has to be
called after every getenv() when you have finished using the string.
testenv() only tests if an environment variable is present, and
doesn't require a freeenv() call. setenv() and unsetenv() are self
explanatory.

The kenv(2) syscall exports these new functionalities to userland,
mainly for kenv(1).

Reviewed by:	peter
2002-04-17 13:06:36 +00:00
Maxime Henrion
fd448168b7 Add an entry for the kenv(2) syscall (code to follow).
Reviewed by: peter
2002-04-17 13:05:13 +00:00
Brian Somers
d5f694305a Add variable substitutions for SOCKNAME, IPOCTETSIN, IPOCTETSOUT, IPPACKETSIN,
IPPACKETSOUT, IPV6OCTETSIN, IPV6OCTETSOUT, IPV6PACKETSIN, IPV6PACKETSOUT,
OCTETSIN, OCTETSOUT, PACKETSIN, PACKETSOUT and SOCKNAME.
2002-04-17 12:38:59 +00:00
Ruslan Ermilov
50c012bece Don't attempt to chflags(1) non-existent executable. 2002-04-17 12:15:02 +00:00
Josef Karthauser
865fe6dbe4 Revert part of revision 1.49 which was supposed to be white space
only.  In the device probe we don't want to match unless there is
an iface structure already set up.
2002-04-17 12:03:20 +00:00
Gerald Pfeifer
e6c0365295 Mention that terminal type vt220 will work better if one needs
interoperability with other systems like Solaris or GNU/Linux.

PR:		33810
Approved by:	obrien
2002-04-17 10:42:41 +00:00
Ruslan Ermilov
bda79b63d6 Fixed mdoc(7) warnings visible in troff mode only.
Spotted by:	Rich Morin <rdm@cfcl.com>
2002-04-17 07:37:42 +00:00
Matthew N. Dodd
f5d1240c12 Remove a stray comment terminator that was hiding beyond 80 columns. 2002-04-17 07:04:58 +00:00
Matthew N. Dodd
1462e313d4 - Add defines for ABR and UBR traffic types.
- Add IDT bits to vendor/vendorapi/device enums.
- Add EISA to atm_bus enum.
2002-04-17 07:00:56 +00:00
Ruslan Ermilov
d0a19329c7 Revert to the ordinary :' dependency operator for mainstall'.
Revision 1.7 had "maninstall::" inside a loop.  Revision 1.36
unrolled the loop.

Reviewed by:	bde
2002-04-17 05:53:57 +00:00
Ruslan Ermilov
3cb7acc2cd Revert previous change. bsd.dep.mk,v 1.31 had a bug that was fixed
in revision 1.32 and made this change OBE.
2002-04-17 05:46:41 +00:00
Ruslan Ermilov
70e82473a4 Doh, previous revision made .depend to be almost always out of date.
Spotted by:	bde

Fortunately, we have a powerful make(1).  Apply some black magic to
make it DTRT.  (Better viewed as diff to revision 1.30.)
2002-04-17 05:42:18 +00:00
Peter Wemm
334f706177 Do not free the vmspace until p->p_vmspace is set to null. Otherwise
statclock can access it in the tail end of statclock_process() at an
unfortunate time.  This bit me several times on an SMP alpha (UP2000)
and the problem went away with this change.  I'm not sure why it doesn't
break x86 as well.  Maybe it's because the clocks are much faster
on alpha (HZ=1024 by default).
2002-04-17 05:26:42 +00:00
Matt Jacob
0b92405253 Note that CAM changes should be sent to scsi@freebsd.org.
Add isp(4)- but note that the FreeBSD specific files (isp_freebsd.?,
isp_pci.c) just need a headsup. The other files are common with five
other platforms and changes need to be coordinated.
2002-04-17 05:25:48 +00:00
Jake Burkholder
d91993cfb0 Go with the flow. Add sparc64. 2002-04-17 05:15:51 +00:00
Gregory Neil Shapiro
cfa8611ca2 Add my little piece of the world.
I guess nobody planned on 8 letter usernames.
2002-04-17 04:51:00 +00:00
Warner Losh
7b74a303dc Minor regularization of 'pre-commit review requested' 2002-04-17 04:45:17 +00:00
David E. O'Brien
200e654a4a I am not sure why ## was used in this macro, as w/o the string concatenation
the tokens are legal ANSI-C.  Maybe to enable 'op' to be a macro itself?
Anyway, with the ## concatenation Gcc 3.1's integrated `cpp' treats "=op("
as a single token vs. the three tokens it is.
2002-04-17 04:31:43 +00:00
Kenneth D. Merry
09c0425e56 Note my areas of interest. 2002-04-17 03:55:34 +00:00
Boris Popov
af9b5e8fe5 Recongnize more error codes returned by W2K servers.
MFC after:	4 days
2002-04-17 03:14:28 +00:00
Boris Popov
0904a0d3fe Add more NetBIOS name types.
MFC after:	4 days
2002-04-17 03:12:24 +00:00
Alan Cox
b208d0633f Remove an unused option, VM_FAULT_HOLD, to vm_fault(). 2002-04-17 02:23:57 +00:00
Tom Rhodes
7ac806655e dump(8)'s manual page is confusing in its use of records, blocks,
blocksizes, etc
does not give the default of -b
only mentiones rdump in the NAME section
uses both filesystem and file system in similar contexts

PR:		34248
Submitted by:	Gary W. Swearingen <swear@blarg.net>
MFC after:	3 days
2002-04-17 02:10:33 +00:00
Julian Elischer
440ed3238b diff reduction 2002-04-17 01:50:03 +00:00
Julian Elischer
2cc8ce3cbf Slight diff-reduction to -stable. 2002-04-17 01:25:46 +00:00
Ian Dowse
df99ca52f1 The recent NFS forced unmount improvements introduced a side-effect
where some client operations might be unexpectedly cancelled during
an unsuccessful non-forced unmount attempt. This causes problems
for amd(8), because it periodically attempts a non-forced unmount
to check if the filesystem is still in use.

Fix this by adding a new mountpoint flag MNTK_UNMOUNTF that is set
only during the operation of a forced unmount. Use this instead of
MNTK_UNMOUNT to trigger the cancellation of hung NFS operations.

Also correct a problem where dounmount() might inadvertently clear
the MNTK_UNMOUNT flag.

Reported by:	simokawa
MFC after:	1 week
2002-04-17 01:07:29 +00:00
Benno Rice
47d25c1dca List that I'd like pre-commit review on PowerPC changes. 2002-04-17 00:52:54 +00:00
Matthew N. Dodd
10e38949b4 Add MODULE_VERSION. 2002-04-17 00:31:32 +00:00
Matthew N. Dodd
073bba0262 Wrap function in #ifdef DIAGNOSTIC to compile with -Werror. 2002-04-17 00:30:38 +00:00
Matthew N. Dodd
5aaf51e01d Add ESA200 to enum atm_device. 2002-04-17 00:30:06 +00:00
Matthew N. Dodd
906cf7526c - Convert the 'hfa' ATM interface driver to newbus.
- Add stubs for EISA and SBUS cards.
  (VME, FutureBUS, and TurboChannel stubs not provided.)
- Add infrastructure to build driver and bus front-end modules.
2002-04-17 00:26:09 +00:00
Dag-Erling Smørgrav
f9eaa746eb Make mppath and masterpasswd pointers instead of arrays, and initialize
them to point at static strings that contain the default paths.  This
makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking
so long to fix it.)

Spotted by:	Olivier Houchard <doginou@cognet.ci0.org>
Sponsored by:	DARPA, NAI Labs
2002-04-17 00:18:15 +00:00
Brian Somers
7e1c2e33be Don't display an extraneous ``: '' with some packets in/packets out diagnostics 2002-04-16 23:57:21 +00:00
Brian Somers
ff360cc91b Make the way FSM options are processed easier to read by using structures
instead of u_char *.

The changes are cosmetic except:

  RecvConfigAck() now displays the options that are being ACK'd
  Huge (bogus) options sent from the peer won't cause an infinite loop
  SendIdent and ReceiveIdent are displayed consistenlty with other FSM data
  LCP AUTHPROTO options that aren't understood are NAK'd, not REJ'd
2002-04-16 23:57:09 +00:00
Tom Rhodes
28395f9543 Add more information to SYNOPSIS of ed.4
PR:		36467
MFC after:	3 days
2002-04-16 22:52:01 +00:00
Dag-Erling Smørgrav
b1e0b30d83 Add a missing .El and fix a typo.
Spotted by:	Solar Designer <solar@openwall.com>
Sponsored by:	DARPA, NAI Labs
2002-04-16 22:38:47 +00:00
Dag-Erling Smørgrav
7c99428b69 This commit was generated by cvs2svn to compensate for changes in r94889,
which included commits to RCS files with non-trunk default branches.
2002-04-16 22:25:21 +00:00
Dag-Erling Smørgrav
00d65bdc4b Vendor import of pam_passwdqc v0.5. 2002-04-16 22:25:21 +00:00
Dag-Erling Smørgrav
85dc707c53 Constify and stylify yppusherr_string(). 2002-04-16 22:08:35 +00:00
Dag-Erling Smørgrav
b897c4dfe0 Remove unused #define. 2002-04-16 22:07:15 +00:00
Dag-Erling Smørgrav
904bb47d69 This commit was generated by cvs2svn to compensate for changes in r94884,
which included commits to RCS files with non-trunk default branches.
2002-04-16 22:04:22 +00:00
Dag-Erling Smørgrav
b81138f1a3 Don't echo log messages to stderr (perforce change 9758) 2002-04-16 22:04:22 +00:00
Luigi Rizzo
7632341a30 Add DEVICE_POLLING support to the "rl" driver.
The diffs are very similar to the ones for the "sis" driver.

MFC After: 5 days
2002-04-16 22:03:14 +00:00
Dag-Erling Smørgrav
193cf419da Log dlopen() / dlsym() failures at the debug level (perforce change 9760) 2002-04-16 21:35:53 +00:00
Dag-Erling Smørgrav
700246cb79 This commit was generated by cvs2svn to compensate for changes in r94880,
which included commits to RCS files with non-trunk default branches.
2002-04-16 21:35:53 +00:00
Dag-Erling Smørgrav
bdcb69e2b5 Fix braino in the openpam_log() macro that caused the arguments to be
expanded twice (perforce change 9853)
2002-04-16 21:34:41 +00:00
Dag-Erling Smørgrav
1f287e050e This commit was generated by cvs2svn to compensate for changes in r94878,
which included commits to RCS files with non-trunk default branches.
2002-04-16 21:34:41 +00:00
Julian Elischer
de963643e5 This time get it right 2002-04-16 20:40:06 +00:00