Commit Graph

38414 Commits

Author SHA1 Message Date
pb
8c6059be55 Typo.
PR:		docs/11832
Submitted by:	Ralf S. Engelschall <rse@engelschall.com>
1999-05-25 11:52:30 +00:00
peter
d3e21ccf3e Add a -i localname switch (restricted to root) to specify a different
local "login" name for rcmd(3).  This is particularly useful for things
like portslave and other packages with terminal server functionality
where a login can either run ppp locally or get shunted off to another
box via rlogin depending on radius authentication etc.  Quite often the
local box doesn't even have accounts, so a flag such as this is needed.
Obviously this is restricted to callers with uid == 0.
1999-05-25 11:14:33 +00:00
kato
9e3964cc57 Merge with sys/i386/isa/wd.c revision 1.192 and 1.193.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-05-25 10:41:14 +00:00
kato
87f01fc1bb Sync with sys/i386/i386/userconfig.c revision 1.145. 1999-05-25 10:32:10 +00:00
kato
abcbf72c23 Sync with sys/i386/conf/options.i386 revision 1.114. 1999-05-25 10:30:58 +00:00
brian
3d7acdce9b Back the last change out.
It upsets the calculations in sys.c (switch(maj)).
1999-05-25 10:30:52 +00:00
brian
bc5b6d21e2 Allow booting from "ad"
Reviewed by: Søren
1999-05-25 09:32:00 +00:00
jdp
a638f6da05 Remove references to the obsolete src-eBones collection.
PR:		conf/11873
1999-05-25 05:38:27 +00:00
hoek
2043879889 Update for post 3.2R since this'll be quickly forgotten otherwise.
Say, isn't about time for a -SNAP release?
1999-05-24 23:52:46 +00:00
hoek
00e0abfe84 MF3S: typo 1999-05-24 23:44:57 +00:00
hoek
081fe520f6 Typos (one reported in misc/11876 by Andrew Boothman <andrew@cream.org>) 1999-05-24 23:32:00 +00:00
wes
837de9e025 Added Posix rand_r function. 1999-05-24 23:30:14 +00:00
rnordier
dd639b1c90 Activate mbr. 1999-05-24 22:44:32 +00:00
rnordier
93351c7db4 This commit was generated by cvs2svn to compensate for changes in r47471,
which included commits to RCS files with non-trunk default branches.
1999-05-24 22:36:24 +00:00
rnordier
32c4cd5138 Add mbr: a standard master boot record intended to replace a couple
that are presently embedded in the fdisk and sysinstall code.
1999-05-24 22:36:24 +00:00
dfr
1476116b35 Don't try to allocate memory resource unless address is non-zero. 1999-05-24 18:50:41 +00:00
hm
47fc12ed9a Fix i4bteld entry, the section of the sh case for "i4teld*)" should be
BEFORE the case for "i4tel*)". (match the longest prefix first!)
Recognized by: Harry Starr
1999-05-24 18:01:03 +00:00
roger
f9ccc2d19f Update PicoBSD kernel config files. Changes are
removal of bio, tty, net
  removal of quotes
  switches from isa? to nexus? or atkbdc?
  additional comments

  These bring the kernel config files in sync with those in
  RELENG_3
1999-05-24 17:27:30 +00:00
brian
8d73072137 Correct the ``ignoring sync/async'' warnings so that they show
up with the correct device type.
Reassign the correct tcpdevice or execdevice after transfering
a link in MP server mode.
1999-05-24 16:39:17 +00:00
wpaul
aa21f59f81 Fix bug that can cause transmit corruption. There are actually two 'rings'
in the transmit code: the TX descriptor ring, and a 'shadow' ring of mbuf
pointers, one for each TX descriptor. When transmitting a packet that
consists of several fragments in an mbuf chain, we link each fragment
to a descriptor in the TX ring, but we only save a pointer to the mbuf
chain. This pointer is saved in the shadow ring entry which corresponds
to the first fragment in the packet. Later, ti_txeof() can release the
whole chain with a single m_freem() call. (We need the second ring to
keep track of the virtual addresses of the mbuf chains.)

The problem with this is that the Tigon isn't actually through with the
mbuf chain until it reaches the last fragment (which has the TI_BDFLAG_END
bit set), however the current scheme releases the mbuf chain as soon as
the first fragment is consumed. This is wrong, since the mbufs can then
be yanked out from under the Tigon and modified before the other fragments
can be transmitted.

The fix is to make a one line change to ti_encap() so that it saves the
mbuf chain pointer in the shadow ring entry that corresponds to the last
fragment in TX ring instead of the first. This prevents the mbufs from
being released until the last fragment is transmitted.

Painstakingly diagnosed and fixed by: Robert Picco <picco@mail.wevinc.com>
Brought to my attention by: dg
1999-05-24 14:56:55 +00:00
luigi
0c2708be72 close pr 10889:
+ add a missing call to dn_rule_delete() when flushing firewall
  rules, thus preventing possible panics due to dangling pointers
  (this was already done for single rule deletes).
+ improve "usage" output in ipfw(8)
+ add a few checks to ipfw pipe parameters and make it a bit more
  tolerant of common mistakes (such as specifying kbit instead of Kbit)

PR: kern/10889
Submitted by: Ruslan Ermilov
1999-05-24 10:01:22 +00:00
brian
6e3dffd5ac Don't warn about ``!'' lines being unindented commands in ppp.conf. 1999-05-24 09:04:35 +00:00
jb
5364aaf8c4 Added a missing comma to the static condition variable initialisation
definition.

Submitted by: David Leonard <David.Leonard@csee.uq.edu.au>, an OpenBSD guy.
1999-05-24 07:22:55 +00:00
peter
986bb6361a Fix a [start,end] vs [start,count] botch that corrupted the resource
manager and prevented IOPort allocation beyond the first EISA slot from
working.  subr_rman.c should have trapped this on the way into the system
rather than tripping over the wreckage.

Head banged into wall repeatedly by:  "Matthew N. Dodd" <winter@jurai.net>
1999-05-24 03:08:46 +00:00
jb
31bb8b56d3 Remove the static declaration from the line[] variable to allow
openpty() to be called from a threaded application.
1999-05-24 01:15:28 +00:00
jb
53893928f0 Remove the mfs stuff now that mfs_init() does the MFS_ROOT initialisation. 1999-05-24 00:54:17 +00:00
jb
ff106c9f50 Back out my previous change (phk didn't like it) in favour of setting
rootdev in the mfs initialisation code iff MFS_ROOT (which Bruce doesn't
like). Damned if I do - damned if I don't.
1999-05-24 00:37:26 +00:00
jmz
b77a9d915f Fix typo in dump reporting
PR:		bin/10573
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-05-24 00:35:47 +00:00
jb
d9b150e44d Remove the test for bdevsw(dev) == NULL from bdevvp() because it fails
if there is no character device associated with the block device. In this
case that doesn't matter because bdevvp() doesn't use the character
device structure.

I can use the pointy bit of the axe too.
1999-05-24 00:34:10 +00:00
jb
28c82868e3 - Make setroot() conditional on FFS etc, to avoid a compiler warning
on systems with no FFS.
- Remove all references to mfs from cpu_rootconf(). mfs_init is
  called prior to cpu_rootconf(), so it can set mountrootfsname to mfs
  and (more imporantly) set rootdev using the (bogus in Bruce's opinion)
  special major number of 255.
1999-05-24 00:30:49 +00:00
jb
40e90513d9 - Back out Luoqi's cdevsw stuff. It panics on my system and is not required.
- Fix an error message.
- Do the MFS_ROOT setting of mountrootfsname in mfs_init() instead of
  cpu_rootconf().
- Set rootdev in mfs_init instead of later in mfs_mount() iff MFS_ROOT.
1999-05-24 00:27:12 +00:00
imp
72333c78b3 getopt(3) returns -1 not EOF. 1999-05-23 23:24:26 +00:00
imp
987c142f07 Getopt(3) returns -1 not EOF. 1999-05-23 23:18:38 +00:00
imp
b86f5ffe8b Getopt(3) returns -1, not EOF. 1999-05-23 23:17:28 +00:00
roger
04c8c670cb Added rgb_vbi_prog() to capture VBI data and video at the
same time. To capture VBI data, /dev/vbi must be opened
before starting video capture.
A partly on code from Hiroki Mori <mori@infocity.co.jp>
1999-05-23 21:40:51 +00:00
brian
706a64e6e8 Use RELENG_3 as an example, not RELENG_2_2. 1999-05-23 20:01:20 +00:00
gibbs
3b69c974f6 Rely on the statistics in XPT_GDEV_STATS instead of the versions still
retained in XPT_GDEV_TYPE for binary compatibility.  Mark the legacy
structure values for removal when we bump the major CAM revision.
1999-05-23 18:57:29 +00:00
gibbs
7b05b9730b Don't reference our SCB until we have validated that the firmware has
returned an SCB that is in range.
1999-05-23 18:55:58 +00:00
gibbs
a39409ff72 Poll for interrupts in bt_cmd in case they are masked. A completing
mailbox command will block the completion of an immediate command,
so we must service them for our command to succeed.

PR: 11799
1999-05-23 18:54:34 +00:00
obrien
e5cb195b37 Get case right in "COMPAT3X".
Submitted by:	Kevin Street <street@iname.com>
1999-05-23 17:57:23 +00:00
jmz
43df91fb81 xargs was spliting the input in a very different way from everyone else,
and was also a bit inconsistent: leading blanks, or any double blanks
generated empty arguments, but a trailing blank did not.

PR:		bin/2630, bin/10914
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1999-05-23 15:58:22 +00:00
brian
5bbb43364b brucify
Mentioned by: sprice@hiwaay.net
1999-05-23 13:52:05 +00:00
dfr
8e65268e47 Use the correct width integer on both i386 and alpha.
Reviewed by: Steve Price <sprice@hiwaay.net>
1999-05-23 13:43:04 +00:00
peter
026e2c11e4 Don't reference non-existant ATAPI option..
PR:		11814
Submitted by:	Sheldon Hearn <sheldonh@uunet.co.za>
1999-05-23 11:11:31 +00:00
jb
82586364a4 Fix a problem with static initialisation of mutexes and condition
variables.

Submitted by: Dan Eischen <eischen@vigrid.com>
1999-05-23 10:55:33 +00:00
jb
0205a0cde0 Make MFS_ROOT work again. MFS_ROOT means that rootdev is not set.
Broken by: phk
Problem ignored by: phk
1999-05-23 10:51:33 +00:00
obrien
ea0b369105 Install g2c.h header incase others want to call libg2c from C.
Submitted by:	Steve
1999-05-23 10:02:46 +00:00
jb
fe6833d758 Add a missing backslash from the last commit. (Broke installworld) 1999-05-23 02:11:41 +00:00
jmz
e3a401804e Construct the profile file name from the name of the executable. A program
compiled with -pg and run will generate a file <executable-filename>.gmon,
not gmon.out.

PR:		bin/8426
1999-05-23 00:37:56 +00:00
jmz
2fd23819b0 Initialize exit code so that the program exits with code 0 on success.
PR:		bin/10904
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-05-22 22:56:26 +00:00