Commit Graph

51117 Commits

Author SHA1 Message Date
joe
431640cc8c A termcap entry for Top Gun telnet and Top Gun ssh, Palm Pilot
applications.
2000-08-11 11:18:11 +00:00
sheldonh
27d24158a4 Add text from NetBSD's rev 1.12 which should have accompanied
the changes made to our own source on 1997-01-01.

PR:		20445
Submitted by:	Jon Masami Kuroda <jkuroda@eecs.berkeley.edu>
2000-08-11 10:37:39 +00:00
sos
7b84c21af7 Backout the tsleep on probe, it breaks in resume mode as tsleep
not always has a context to sleep on.
Back to the drawing board...
2000-08-11 10:34:22 +00:00
dcs
6301ff4c50 Add missing "is".
PR:		20524
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-08-11 10:32:23 +00:00
sos
140ba3a556 Add the acdNt# devices to the acd entry, for individual track access. 2000-08-11 09:22:34 +00:00
sos
5337af51e2 Add support for accessing individual tracks on a CD.
This is done by misusing the device minor a bit to encode the
track no there.

So to read track #4 just use /dev/acdNt4 where N is the device #.

The driver no automatically sets the blocksize (sectorsize) to
what the track is set to in the TOC.

This has the nice effect that you can now rip audioi tracks
by simply doing:

dd if=/dev/acdNt2 of=audiotrack2.raw bs=2352

it cant be much simpler than that :)

NOTE: the original acdNa & acdNc device still work as usual,
except the blocksize is set according to track0.
2000-08-11 09:21:36 +00:00
peter
85c9a2ddc1 Clean up some low level bootstrap code:
- stop using the evil 'struct trapframe' argument for mi_startup()
  (formerly main()).  There are much better ways of doing it.
- do not use prepare_usermode() - setregs() in execve() will do it
  all for us as long as the p_md.md_regs pointer is set.  (which is
  now done in machdep.c rather than init_main.c.  The Alpha port did it
  this way all along and is much cleaner).
- collect all the magic %cr0 etc register settings into one place and
  have the AP's call that instead of using magic numbers (!!) that keep
  changing over and over again.
- Make it safe to call kthread_create() earlier, including during the
  device probe sequence.  It doesn't need the callback mechanism that
  NetBSD's version uses.
- kthreads created this way are root-less as they exist before the root
  filesystem is mounted.  init(1) is set up so that it aquires the root
  pointers prior to running.  If other kthreads want filesystem acccess
  we can make this code more generic.
- set all threads start times once we have decided what time it is.
- init uses a trampoline rather than the evil prepare_usermode() hack.
- kern_descrip.c has a couple of tweaks to deal with forking when there
  is no rootdir or cwd etc.
- adjust the early SYSINIT() sequence so that a few prereqisites are in
  place. eg: make sure the run queue is initialized before doing forks.

With this, the USB code can easily create a kthread to do the device
tree discovery.  (I have tested it, it works nicely).

There are still some open issues before this is truely useful.
- tsleep() does not like working before the clock is running.  It
  sort-of tries to spin wait, but it can do more useful things now.
- stopping a kthread in kld code at unload time is "interesting" but
  we have a solution for that.

The Alpha code needs no changes for this.  It already uses pretty much the
same strategies, but a little cleaner.
2000-08-11 09:05:12 +00:00
sheldonh
97323158dc While we're in here:
Remove extraneous arguments to the Nm macro.
Mark up cross-references properly.
Use proper block displays (Bd).
Use proper mark-up for author names (An).
Remove the bogus ARGUMENTS section.
Raname EXAMPLE -> EXAMPLES.
Spell ``S/Key'' consistently.
2000-08-11 08:40:10 +00:00
ps
1dd134848f Add support to send the string 'PXEClient' as the Vendor class
identifier to the DHCP server.  Now you can check for this string
in your dhcp configuration to decide whether you will hand out a
lease to the client or not.
2000-08-11 08:36:17 +00:00
sheldonh
bf1837571f (null commit)
Reflect that the update to routed-2.22 addresses a problem discussed
in PR bin/16941.  The updated release also incorporates our local
buffer overflow fix (implemented differently) and puts us in a
position where we are completely synchronized with the master
distribution, apart from the stupid spammage of the #ident
definitions, which are supposed to indicate the release version,
not individual source file revisions.

This distribution was not moved into contrib because of objections
from wollman.  He feels that the software is original Berkeley
code that shouldn't be imported into contrib just because it
has an external maintainer.
2000-08-11 08:24:39 +00:00
sheldonh
8e66f30250 Add $FreeBSD$. 2000-08-11 08:23:26 +00:00
sheldonh
a02562823e Fix hard sentence break and inappropriate use of the Pa macro in
the previous delta.
2000-08-11 08:12:44 +00:00
ps
66b0647d69 Pass along the interesting variables we were given from DHCP so we
can utilize them in the kernel and with kenv.
2000-08-11 05:31:59 +00:00
jdp
b69f792522 Describe ldconfig_insecure. 2000-08-11 04:20:30 +00:00
jdp
42f709b552 Add an rc.conf knob "ldconfig_insecure" to disable ldconfig's
security checks.  Set the default to NO, i.e., secure.

Submitted by:	Maxime Henrion <mhenrion@cybercable.fr>
2000-08-11 03:26:30 +00:00
imp
0e16ee5039 Add stuff:
o BUILD_SUIDPERL replaces NOSUIDPERL
o New /etc/rc.conf settings for secure networking may require changes
  to those upgrading.
o nullfs in loader.conf.
2000-08-10 23:16:32 +00:00
archie
3c201be096 Oops, previous commit fixed a bug that was already fixed before.
Back it out.
2000-08-10 23:04:46 +00:00
imp
630a50fd97 Don't build suidperl by default. Make users specifically enable its
building.
2000-08-10 22:59:53 +00:00
imp
133f7e3683 Change NOSUIDPERL to BUILD_SUIDPERL. One must now explicitly enable
building suidperl.
2000-08-10 22:55:58 +00:00
imp
a019788196 Eliminate the only setuid perl script in the tree.
Original 'C' progam submitted by Juriy Goloveshkin.
A different 'C' program also submitted by dima.

I merged and rewrote them to include error handling, use getlogin for
user name and only the BSD boilerplate license remained from the
original code.  We also only allow root to get other user's keys.

Review, bikeshed and bdelint(1): myself, kris, dima, markm
2000-08-10 22:53:49 +00:00
archie
6c05154b7a Add new control message to atomically get and clear statistics. 2000-08-10 22:52:40 +00:00
archie
7ef7c5b042 Increase the maximum allowable datagram length. 2000-08-10 22:51:57 +00:00
archie
f007bb028b "u_int32_t" should have been "int32_t". 2000-08-10 22:51:26 +00:00
archie
dab4141f83 Use a bigger buffer for NGM_BINARY2ASCII conversion, to handle really
long ASCII control messages.
2000-08-10 22:50:38 +00:00
archie
4f3c325b7d - Add new control message NGM_VJC_GET_CONFIG
- Implement control message ASCII'fication for all control messages
2000-08-10 22:48:03 +00:00
archie
91912098c3 Take advantage of the new unsigned and hex integer types. 2000-08-10 22:45:54 +00:00
archie
16765ea997 - Make statistics unsigned.
- Add new control message to atomically get and clear statistics.
2000-08-10 22:44:41 +00:00
archie
2b894febdd - Add new unsigned and hex integer parse types
- Fix bug in commented example code
2000-08-10 22:43:38 +00:00
archie
126052eaab - Add new unsigned and hex integer parse types; this allows simplifying
the bytearray parse type.
- Allocate (larger) temporary work buffer dynamically instead of on the
  stack when comparing to the default value.
2000-08-10 22:42:25 +00:00
ume
cb7de0289e Make ip6fw zero work.
PR:		bin/20522
2000-08-10 20:41:33 +00:00
archie
36af4d0d2a RFC 1661 requires that all LCP packets are sent with no address and
control field compression. The ng_ppp(4) node correctly follows this
rule. However, PPPoE is an exception: when doing PPPoE *all* frames
are sent with address and control field compression.

Alter this node's behavior so that when an outgoing frame is received,
any leading address and control field bytes are removed. This makes
this node compatible with ng_ppp(4).
2000-08-10 20:05:12 +00:00
billf
6e74136b0a make sshd follow the pattern of enable, program, flags like every
other entry does.
2000-08-10 19:52:06 +00:00
billf
562b7d21d4 1000bassT -> 1000baseT 2000-08-10 19:47:32 +00:00
wollman
35e16ce62e Merge from vendor branch. Also move FreeBSD Ids away from vendor Id
to make future merges easier.
2000-08-10 19:36:46 +00:00
wollman
d6d9a982f7 This commit was generated by cvs2svn to compensate for changes in r64496,
which included commits to RCS files with non-trunk default branches.
2000-08-10 19:20:14 +00:00
wollman
6760ce32d8 Latest timezone updates from Arthur Olson. This update reflects changes
in Israel, Lithuania, Mexico, and Argentina.

Obtained from:	ftp://elsie.nci.nih.gov/pub/tzdata2000f.tar.gz
2000-08-10 19:20:14 +00:00
imp
8f29f4ff6f Add some infrastructure support for dealing with large attribute
memory space needed by the raylink driver (in progress, nearing
completion).

This is a minorly cleaned up diff from Duncan to help him reduce the
diffs from stock FreeBSD.

Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>
2000-08-10 17:35:11 +00:00
tegge
26b9855792 Don't skip IOAPIC id conflict detection when only one pci bus is present.
PR:		20312
Reviewed by:	Steve Roome <steve@sse0691.bri.hp.com>
2000-08-10 17:33:24 +00:00
ume
d4ba157d9f Don't retry connecting via the same medium.
I changed to close to original code before merging IPv6 support.
It seems having delay before another try is useless.  However, I'm
not sure that delay means.  So, I leave it as-is.

PR:		bin/20515
2000-08-10 17:10:57 +00:00
nsayer
a8dda559a0 Document support for the Solo 1.
Requested by: sheldonh
2000-08-10 15:01:01 +00:00
sanpei
be1552534d add Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)
PR:		conf/20037
2000-08-10 13:43:17 +00:00
brian
b45901a5b4 Mention that pppoe requires netgraph(4) and without it, an external
pppoe program must be used (such as pppoe(8) on OpenBSD).
2000-08-10 13:26:01 +00:00
sanpei
7955ab865a I tested Toshiba Modem/LAN card IPC5001B (as Modem) and enable it.
This card has `Network/LAN adapter' function ID(06 00),
not Serial port/modem.
2000-08-10 13:24:12 +00:00
brian
20b74ed074 Correct dodgy wild card expansion
PR:	20514
2000-08-10 10:58:44 +00:00
sheldonh
42d0bc5b0d Remove hard sentence breaks introduced in the previous commit. 2000-08-10 09:01:10 +00:00
sheldonh
42cd26ed29 Resolve conflicts. 2000-08-10 07:54:33 +00:00
sos
937e4ba86d Fix the ICH2 ATA100 support, and proberly downgrade the chip setup when
going to slower DMA modes on all Intel chips.
2000-08-10 07:34:49 +00:00
imp
e08c336a49 o Move to recommending the {build,install}kernel targets for updating from
older versions of FreeBSD.
o Continue to document the old way of doing it with a warning stating if that
  doesn't work, to do the {build,install}kernel thing.
o minor wordsmithing on what a make world really is.
2000-08-10 05:14:31 +00:00
imp
5a448b62ba Add a reminder note to people to disable third party modules at the
right place in the upgrade proceedure so that they don't get burned by
a crash on reboot.
2000-08-10 05:03:49 +00:00
kbyanc
31b5d7188b Fix an order-of-operations bug and properly shift page_control values for
comparison with SMS_PAGE_CTRL_* macros.
2000-08-10 01:20:43 +00:00