Commit Graph

73500 Commits

Author SHA1 Message Date
mux
a207e41bef 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
mux
c79270302c Add an entry for the kenv(2) syscall (code to follow).
Reviewed by: peter
2002-04-17 13:05:13 +00:00
brian
f57b9edeb5 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
ru
1ae9195f9d Don't attempt to chflags(1) non-existent executable. 2002-04-17 12:15:02 +00:00
joe
7e205e38ed 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
ac7a3ce817 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
ru
5b60ee43ce Fixed mdoc(7) warnings visible in troff mode only.
Spotted by:	Rich Morin <rdm@cfcl.com>
2002-04-17 07:37:42 +00:00
mdodd
22ef639eab Remove a stray comment terminator that was hiding beyond 80 columns. 2002-04-17 07:04:58 +00:00
mdodd
27dbe32723 - 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
ru
4b29d71b53 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
ru
67f99d8b8c 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
ru
67dad90513 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
7af4726714 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
mjacob
1642fd3abc 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
d3af7aeca9 Go with the flow. Add sparc64. 2002-04-17 05:15:51 +00:00
gshapiro
f8033d71b6 Add my little piece of the world.
I guess nobody planned on 8 letter usernames.
2002-04-17 04:51:00 +00:00
imp
67fc029f81 Minor regularization of 'pre-commit review requested' 2002-04-17 04:45:17 +00:00
obrien
acb7650f5a 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
ken
5179fb1e79 Note my areas of interest. 2002-04-17 03:55:34 +00:00
bp
96ac6411fa Recongnize more error codes returned by W2K servers.
MFC after:	4 days
2002-04-17 03:14:28 +00:00
bp
d45a778584 Add more NetBIOS name types.
MFC after:	4 days
2002-04-17 03:12:24 +00:00
alc
49bc4331bd Remove an unused option, VM_FAULT_HOLD, to vm_fault(). 2002-04-17 02:23:57 +00:00
trhodes
6281c9a4f4 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
91cf1536d3 diff reduction 2002-04-17 01:50:03 +00:00
julian
6c9f5bcb65 Slight diff-reduction to -stable. 2002-04-17 01:25:46 +00:00
iedowse
64322dabea 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
366464c33c List that I'd like pre-commit review on PowerPC changes. 2002-04-17 00:52:54 +00:00
mdodd
ae8d002449 Add MODULE_VERSION. 2002-04-17 00:31:32 +00:00
mdodd
8296d838e2 Wrap function in #ifdef DIAGNOSTIC to compile with -Werror. 2002-04-17 00:30:38 +00:00
mdodd
5a47ea7645 Add ESA200 to enum atm_device. 2002-04-17 00:30:06 +00:00
mdodd
4cd83349e4 - 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
des
e914cc2fa2 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
f84972208c Don't display an extraneous ``: '' with some packets in/packets out diagnostics 2002-04-16 23:57:21 +00:00
brian
b86a2d03f8 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
trhodes
a9db9e2221 Add more information to SYNOPSIS of ed.4
PR:		36467
MFC after:	3 days
2002-04-16 22:52:01 +00:00
des
283ac5768b 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
des
e0358e9ac6 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
des
8c0e4ba23b Vendor import of pam_passwdqc v0.5. 2002-04-16 22:25:21 +00:00
des
e7b383ae2c Constify and stylify yppusherr_string(). 2002-04-16 22:08:35 +00:00
des
ac60835d4a Remove unused #define. 2002-04-16 22:07:15 +00:00
des
23b807f69f 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
des
d1895aba33 Don't echo log messages to stderr (perforce change 9758) 2002-04-16 22:04:22 +00:00
luigi
73a7e12af1 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
des
2b150cf6ae Log dlopen() / dlsym() failures at the debug level (perforce change 9760) 2002-04-16 21:35:53 +00:00
des
4d82810dc3 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
des
8161706dd9 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
des
ea39d23058 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
d7e5919f2b This time get it right 2002-04-16 20:40:06 +00:00
julian
db3b249d2e Makefile for the myson driver. 2002-04-16 20:34:14 +00:00
julian
c2a64bae05 Add entry for the myson ethernet driver
Submitted by:	Myson , Taiwan
2002-04-16 20:23:58 +00:00