Commit Graph

59916 Commits

Author SHA1 Message Date
obrien
372f83e18c In a word -- style(9). 2001-05-18 05:33:42 +00:00
obrien
a6264bb8eb Sort. 2001-05-18 05:05:50 +00:00
obrien
4f92660dbc Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,
which makes lgoin more like getty in its ability to be configured.

Submitted by:	tlambert (code only)
2001-05-18 04:55:16 +00:00
obrien
10b5ce3a37 Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help
flag errors where programmers assume time_t is a long, which it is not on
64-bit platforms.

Submitted by:	bde
2001-05-18 01:43:25 +00:00
obrien
99d3deb016 Style changes -- revert ordering to mostly two revs ago.
Embellish some comments, fix tab'ing.

Requested by:	bde
2001-05-18 01:40:40 +00:00
obrien
42b2dffca4 Use the correct FreeBSD definitions for wint_t and wchar_t. 2001-05-18 00:41:27 +00:00
bmah
cd47911bc7 Fix typo: The awi driver doesn't support PRISM cards, it supports the
AMD79C930 and Harris (Intersil).  What crack was I smoking when I
wrote this?
2001-05-18 00:41:10 +00:00
jasone
cbe4cb8f95 Condition variable waiters are queued in descending priority order, so
there is no need to wake all waiters to assure that the highest priority
thread is run.  As the semaphore code is written, there was no correctness
problem, but the change improves sem_post() performance.

Pointed out by:	deischen
2001-05-18 00:36:05 +00:00
bmah
6bc2d961bf New release notes: digi driver, FICL 2.05, xargs(1) -J, apmd(8) now
support battery state monitoring, ncurses 5.2-20010512.

Woefully overdue release notes:  ddb(4) show pcpu, telnet(1) autologin
and encryption defaults and -y option.
2001-05-18 00:14:21 +00:00
jhb
9f93fef79a - Use a timeout for the tsleep in scheduler() instead of having vmmeter()
wakeup proc0 by hand to enforce the timeout.
- When swapping out a process, keep the process locked via the proc lock
  from the first checks up until we clear PS_INMEM and set PS_SWAPPING in
  swapout().  The swapout() function now must be called with the proc lock
  held and releases it before returning.
- Comment out the code to attempt to lock a process' VM structures before
  swapping out.  It is broken in that it releases the lock after obtaining
  it.  If it does grab the lock, it needs to hand it off to swapout()
  instead of releasing it.  This can be revisisted when the VM is locked
  as this is a valid test to perform.  It also causes a lock order reversal
  for the time being, which is the immediate cause for temporarily
  disabling it.
2001-05-18 00:08:38 +00:00
jlemon
cb40f22f61 Add workaround for embedded NICs, in particular, the 815E boards.
There appears to be a bug where the chip will lock up when running
in 10Mb/s mode.
2001-05-17 23:50:24 +00:00
jhb
0230dca703 Replace references to the KERNEL variable with KERNCONF. 2001-05-17 23:23:25 +00:00
jhb
0579fd6728 During the code to pick a process to kill when memory is exhausted, keep
the process in question locked as soon as we find it and determine it to
be eligible until we actually kill it.  To avoid deadlock, we don't block
on the process lock but skip any process that is already locked during our
search.
2001-05-17 22:49:03 +00:00
jhb
afe085eeec - Don't panic on a try lock operation for a sleep lock if we hold a spin
lock.  Since we won't actually block on a try lock operation, it's not
  a problem.  Add a comment explaining why it is safe to skip lock order
  checking with try locks.
- Remove the ithread list lock spin lock from the order list.
2001-05-17 22:44:56 +00:00
jhb
c2f74629d3 - Remove the global ithread_list_lock spin lock in favor of per-ithread
sleep locks.
- Delay returning from ithread_remove_handler() until we are certain that
  the interrupt handler being removed has in fact been removed from the
  ithread.
- XXX: There is still a problem in that nothing protects the kernel from
  adding a new handler while the ithread is running, though with our
  current architectures this is not a problem.

Requested by:	gibbs (2)
2001-05-17 22:43:26 +00:00
jhb
e52ed68bf0 - Move the setting of bootverbose to a MI SI_SUB_TUNABLES SYSINIT.
- Attach a writable sysctl to bootverbose (debug.bootverbose) so it can be
  toggled after boot.
- Move the printf of the version string to a SI_SUB_COPYRIGHT SYSINIT just
  afer the display of the copyright message instead of doing it by hand in
  three MD places.
2001-05-17 22:28:46 +00:00
jhb
471dd2d825 Use NHWI instead of APIC_IMEN_BITS. 2001-05-17 22:24:46 +00:00
jhb
5750864fca - Axe the IMEN_BITS and APIC_IMEN_BITS constants.
- Add back in a definition of NHWI which is preferred over ICU_LEN.

Submitted by:	bde
2001-05-17 22:24:17 +00:00
dmlb
243cc9836c Primary purpose of this commit is to enable support for the Aviator
Pro and Raylink cards with version 5 firmware. Only infra-structure
mode has been tested. Specific changes for this feature are:

        o Add RFC1042 encapsulation of IP datagrams

        o Add authentication and association

        o Decode of the beacon (although not used)

Other changes have been made:

        o Pass command completion status to *_done (in place for
          adding proper error recovery)

	o Move a couple of state variables into the current
	  network parameters structure. This is in prep. for
	  dealing with roaming.

MFC after:	1 week
2001-05-17 22:23:49 +00:00
jhb
37fb740bae Disable the wi driver locking for now. The driver tries to tsleep with the
driver lock held on detach which can lead to annoying and useless panics.
2001-05-17 22:20:54 +00:00
rwatson
904f1223c9 o Modify access control checks in p_candebug() such that the policy is as
follows: the effective uid of p1 (subject) must equal the real, saved,
  and effective uids of p2 (object), p2 must not have undergone a
  credential downgrade.  A subject with appropriate privilege may override
  these protections.

  In the future, we will extend these checks to require that p1 effective
  group membership must be a superset of p2 effective group membership.

Obtained from:	TrustedBSD Project
2001-05-17 21:48:44 +00:00
dmlb
6d3fba0006 Add a couple more codes for upcoming raylink driver additions.
MFC after:	3 days
2001-05-17 21:37:41 +00:00
dmlb
8a2e1e6987 Add an entry for RAYLINK pccard using the ray driver.
MFC after:	3 days
2001-05-17 19:55:11 +00:00
alfred
95e08ccd70 Cleanup
Remove comment about setting error for reads on EOF, read returns 0 on
EOF so the code should be ok.

Remove non-effective priority boost, PRIO+1 doesn't do anything
(according to McKusick), if a real priority boost is needed it should
have been +4.

Style fixes:
.) return foo -> return (foo)
.) FLAG1|FlAG2 -> FLAG1 | FlAG2
.) wrap long lines
.) unwrap short lines
.) for(i=0;i=foo;i++) -> for (i = 0; i=foo; i++)
.) remove braces for some conditionals with a single statement
.) fix continuation lines.

md5 couldn't verify the binary because some code had to
be shuffled around to address the style issues.
2001-05-17 19:47:09 +00:00
bmah
6f4d37bf4d Fix typo: s/maestro3_load/snd_maestro3_load/ (pointed out by
Tadayuki OKADA <tadayuki@mediaone.net>.

New release notes:  USER_LDT on by default (this entry is way overdue).

Add Abocom URE 450 to supported USB Ethernet devices.
2001-05-17 18:32:18 +00:00
alfred
0cef0c480d initialize pipe pointers 2001-05-17 18:22:58 +00:00
alfred
d13c38f4e1 pipe_create has to zero out the select record earlier to avoid
returning a half-initialized pipe and causing pipeclose() to follow
a junk pointer.

Discovered by: "Nick S" <snicko@noid.org>
2001-05-17 17:59:28 +00:00
ru
c1150a3ed7 Cosmetics to rev.1.89: removed argument names in a function prototype. 2001-05-17 17:57:35 +00:00
ru
5eb8ffe5c9 Describe all current net.inet.tcp MIB variables.
Submitted by:	jlemon
MFC after:	1 week
2001-05-17 17:53:21 +00:00
nsayer
acdba14ce0 Make the PAM user-override actually override the correect thing. 2001-05-17 16:28:11 +00:00
brian
3e2f3351c6 Allow `ip4'' as an `upperspec'' value, and update the man
page with *all* the permissible values.

This should really be spelt ipencap (as /etc/protocols does),
but a precedent has already been set by the ipproto array in
setkey.c.

It would be nice if /etc/protocols was parsed for the upperspec
field, but I don't do yacc/lex...

This change allows policies that only encrypt the encapsulated
packets passing between the endpoints of a gif tunnel.  Setting
such a policy means that you can still talk directly (and
unencrypted) between the public IP numbers with (say) ssh.

MFC after:	1 week
2001-05-17 15:30:49 +00:00
ru
b7333c3817 Fix an off-by-hour bug when crossing Daylight Saving Time boundary.
PR:		bin/27399
Submitted by:	"Crist J. Clark" <crist.clark@globalstar.com>
MFC after:	3 days
2001-05-17 15:20:15 +00:00
ru
79f6b4c4a3 Suppress compiler warning by adding a type cast. 2001-05-17 12:51:43 +00:00
bde
26848a57d8 Backed out rev.1.8. Rev.1.8 was just to support a bogus unused include
in ng_tty.c.
2001-05-17 11:54:30 +00:00
ru
aa95743709 mdoc(7) police: update document date. 2001-05-17 11:09:15 +00:00
sos
c8816cc275 Update to use the new ioctl interface.
Add the list command.
2001-05-17 10:30:07 +00:00
sos
8812e1fb6a Update to use the changed ioctl interface. 2001-05-17 10:29:30 +00:00
sos
50ab3f4286 Change the ioctl interface to prepare for new functionality. 2001-05-17 10:28:59 +00:00
sobomax
1a678ce396 Style policy: reformat multiline comments to conform to style(9). 2001-05-17 10:12:45 +00:00
obrien
7ed43e061d Fix the rcsid's. 2001-05-17 09:38:49 +00:00
peter
e5370521ae Argh. Fix a long-standing man page filter botch. See terminfo(5) for
the effect.
2001-05-17 08:48:26 +00:00
peter
c1277b2ac9 This commit was generated by cvs2svn to compensate for changes in r76732,
which included commits to RCS files with non-trunk default branches.
2001-05-17 08:39:21 +00:00
peter
e2aacb5988 Update for ncurses 5.2-20010512 import 2001-05-17 08:30:09 +00:00
peter
3e3c1d9906 Merge changes from vendor branch to mainline. 2001-05-17 08:24:39 +00:00
ru
cf0d45ec61 ... but we do provide .St -isoC-99, and it is not required to have the
history info as:

: .Sh STANDARDS   If the command, library function or file adheres to a
:                 specific implementation such as IEEE Std 1003.2
:                 (``POSIX.2'') or ANSI X3.159-1989 (``ANSI C'') this
:                 should be noted here.  If the command does not adhere
:                 to any standard, its history should be noted in the
:                 HISTORY section.
2001-05-17 08:22:43 +00:00
peter
02783aa66b This commit was generated by cvs2svn to compensate for changes in r76726,
which included commits to RCS files with non-trunk default branches.
2001-05-17 08:21:06 +00:00
peter
b7ada7f244 Import ncurses-5.2-20010512 onto the vendor branch
Obtained from: ftp://dickey.his.com/ncurses/
2001-05-17 08:21:06 +00:00
mckusick
a3c514dadf When a new block is allocated to a directory, an fsync of a file
whose name is within that block must ensure not only that the block
containing the file name has been written, but also that the on-disk
directory inode references that block. When a new directory block
is created, we allocate a newdirblk structure which is linked to
the associated allocdirect (on its ad_newdirblk list). When the
allocdirect has been satisfied, the newdirblk structure is moved
to the inodedep id_bufwait list of its directory to await the inode
being written.  When the inode is written, the directory entries
are fully committed and can be deleted from their pagedep->id_pendinghd
and inodedep->id_pendinghd lists.
2001-05-17 07:24:03 +00:00
ru
1e3206102a Removed reference to non-existing make(7).
PR:		docs/27392
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
2001-05-17 06:58:57 +00:00
bp
242796df19 VOP getwritemount() can be invoked on vnodes with VFREE flag set (used in
snapshots code). At this point upper vp may not exist.
2001-05-17 04:58:25 +00:00