]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoUse CONS_GETINFO ioctl to get geometry of the current text mode instead of
sobomax [Sat, 19 May 2001 17:05:52 +0000 (17:05 +0000)]
Use CONS_GETINFO ioctl to get geometry of the current text mode instead of
TIOCGWINSZ. The former is more correct in this context.

23 years agoFairwell digiio.h (moved to src/sys/sys)
brian [Sat, 19 May 2001 09:40:10 +0000 (09:40 +0000)]
Fairwell digiio.h (moved to src/sys/sys)

23 years agoBack out previous commit. digiio.h has moved to /usr/include/sys
brian [Sat, 19 May 2001 09:29:12 +0000 (09:29 +0000)]
Back out previous commit.  digiio.h has moved to /usr/include/sys

23 years agodigiio.h has moved to /usr/include/sys
brian [Sat, 19 May 2001 09:28:59 +0000 (09:28 +0000)]
digiio.h has moved to /usr/include/sys

23 years agoAnti-foot-shooting for pcvt users: ignore isdn_screenflags which is
schweikh [Sat, 19 May 2001 08:17:35 +0000 (08:17 +0000)]
Anti-foot-shooting for pcvt users: ignore isdn_screenflags which is
only for syscons.

Requested by: Alexander Leidinger <Alexander@Leidinger.net>
MFC after: 7 days

23 years agoMove scrshot(1) functionality into vidcontrol(1).
sobomax [Sat, 19 May 2001 06:47:36 +0000 (06:47 +0000)]
Move scrshot(1) functionality into vidcontrol(1).

Suggested by: many
Not objected to by: nik (scrshot co-author)

23 years agoAdd back the plain i82365 to the list of bridges that do special
imp [Sat, 19 May 2001 06:36:09 +0000 (06:36 +0000)]
Add back the plain i82365 to the list of bridges that do special
things to get 3.3V.  It appears that some cardbus chipsets have id
registers that say they are C step parts, but they really support the
DF step 3.3V functionality.

# Need to verify that IBM KING is handled properly since the MISC1
# register is really a cirrus logic only register.

23 years agoNote ncurses import and ata ioctl changes.
imp [Sat, 19 May 2001 06:27:16 +0000 (06:27 +0000)]
Note ncurses import and ata ioctl changes.

23 years agoInitialize cinfo structure at compile time rather than run time since
imp [Sat, 19 May 2001 06:17:37 +0000 (06:17 +0000)]
Initialize cinfo structure at compile time rather than run time since
they are now constant.

23 years agoslots and next haven't been used in a while. GC them.
imp [Sat, 19 May 2001 06:13:12 +0000 (06:13 +0000)]
slots and next haven't been used in a while.  GC them.

23 years agoAdd new 'loadavg' entry, fix overflow with meminfo.
jlemon [Sat, 19 May 2001 05:54:26 +0000 (05:54 +0000)]
Add new 'loadavg' entry, fix overflow with meminfo.

PR: 27253, 27350
Submitted by: Jim Pirzyk

23 years agoRemove these libs that are the same .so version as the ones in
obrien [Sat, 19 May 2001 05:54:11 +0000 (05:54 +0000)]
Remove these libs that are the same .so version as the ones in
5-CURRENT.  These libs will not be used [sitting in /usr/lib/compat] as
the -current ones in /usr/lib will be found first by ld-elf.so.1.

23 years agoRemove these libs that are the samed .so version as the ones in
obrien [Sat, 19 May 2001 05:53:50 +0000 (05:53 +0000)]
Remove these libs that are the samed .so version as the ones in
5-CURRENT.  These libs will not be used [sitting in /usr/lib/compat] as
the -current ones in /usr/lib will be found first by ld-elf.so.1.

23 years agoNow that we've moved the mecia support out of pcic.c to its own
imp [Sat, 19 May 2001 05:50:42 +0000 (05:50 +0000)]
Now that we've moved the mecia support out of pcic.c to its own
driver, we no longer need to go through the cinfo.XXXX indirections.
restore the direct calls that were replaced earlier.

23 years agoUse new kernel_sysctlbyname function. Remove private copy.
jlemon [Sat, 19 May 2001 05:48:07 +0000 (05:48 +0000)]
Use new kernel_sysctlbyname function.  Remove private copy.

23 years agoAdd convenience function kernel_sysctlbyname() for kernel consumers,
jlemon [Sat, 19 May 2001 05:45:55 +0000 (05:45 +0000)]
Add convenience function kernel_sysctlbyname() for kernel consumers,
so they don't have to roll their own sysctlbyname function.

23 years agoMove ISA specific code into pcic_isa. This is the probe routine, the
imp [Sat, 19 May 2001 05:21:23 +0000 (05:21 +0000)]
Move ISA specific code into pcic_isa.  This is the probe routine, the
get/setb1 routines.  Also expose clrb and setb as pcic_{clrb,setb} so
we can use it from the probe.  pcic_probe is no longer needed.

23 years agoIt turns out that Intel's i82365sl-DF step has the same ID as the VLSI
imp [Sat, 19 May 2001 04:53:20 +0000 (04:53 +0000)]
It turns out that Intel's i82365sl-DF step has the same ID as the VLSI
82C146.  The Intel i82365SL-DF supports 3.3V cards.  The Step A/B/C
parts do not appear to support this.  This is hard to know for sure
since it was deduced from "compatible" parts' data sheets and the
article mentioned below.

Rework the VLSI detection to be a little nicer and not depend on
scanning cards twice.  This would allow bad VLSI cards to coexist with
a good intel card, for example.  We now detect i82365SL-DF cards where
before we'd detect a VLSI.  For the most part, this is good, but we
run a small chance of detecting a single slot 82C146 as a i82365SL-DF.
Since I can't find a datasheet for the 82c146, I don't know if this is
a problem or not.

This work is based on an excellent article, in Japanese, by NAKAGAWA,
Yoshihisa-san that appeared in FreeBSD Press Number 4.  He provided a
patch against PAO3 in his article.  Since the pcic.c code has changed
some since then, I've gone ahead and cleaned up his patch somewhat and
changed how the code detects the buggy '146 cards.

I also removed the comment asking if there were other cards that
matched the 82C146 since we found one and additional information isn't
necessary.

23 years agoremove my private assertions from tsleep.
alfred [Sat, 19 May 2001 01:40:48 +0000 (01:40 +0000)]
remove my private assertions from tsleep.
add one assertion to ensure we don't sleep while holding vm.

23 years agoRegen syscalls that were made mpsafe via vm_mtx
alfred [Sat, 19 May 2001 01:37:12 +0000 (01:37 +0000)]
Regen syscalls that were made mpsafe via vm_mtx

obreak, getpagesize, sbrk, sstk, mmap, ovadvise, munmap, mprotect,
madvise, mincore, mmap, mlock, munlock, minherit, msync, mlockall,
munlockall

23 years agoUpdate the AXP compat4x dist to the 4.3-FreeBSD libs.
obrien [Sat, 19 May 2001 01:32:36 +0000 (01:32 +0000)]
Update the AXP compat4x dist to the 4.3-FreeBSD libs.
There were some security issues fixed between 4.2 -> 4.3.

23 years agoIntroduce a global lock for the vm subsystem (vm_mtx).
alfred [Sat, 19 May 2001 01:28:09 +0000 (01:28 +0000)]
Introduce a global lock for the vm subsystem (vm_mtx).

vm_mtx does not recurse and is required for most low level
vm operations.

faults can not be taken without holding Giant.

Memory subsystems can now call the base page allocators safely.

Almost all atomic ops were removed as they are covered under the
vm mutex.

Alpha and ia64 now need to catch up to i386's trap handlers.

FFS and NFS have been tested, other filesystems will need minor
changes (grabbing the vm lock when twiddling page properties).

Reviewed (partially) by: jake, jhb

23 years agoUpdate the i386 compat4x dist to the FreeBSD 4.3 libs.
obrien [Sat, 19 May 2001 01:20:02 +0000 (01:20 +0000)]
Update the i386 compat4x dist to the FreeBSD 4.3 libs.
There were some security issues fixed between 4.2 -> 4.3.

23 years agoMust be a bit less aggressive about freeing pagedep structures.
mckusick [Fri, 18 May 2001 22:16:28 +0000 (22:16 +0000)]
Must be a bit less aggressive about freeing pagedep structures.

Obtained from: Robert Watson <rwatson@FreeBSD.org> and
Matthew Jacob <mjacob@feral.com>

23 years agoThe function clnt_dg_call(), which is used for UDP RPC calls, could
iedowse [Fri, 18 May 2001 19:43:18 +0000 (19:43 +0000)]
The function clnt_dg_call(), which is used for UDP RPC calls, could
accidentally clobber the server address if a stray packet arrived
at the client port. This would result in any further retransmits
going to the wrong address.

For now, fix this by not saving the source address of the reply; this
matches the pre-tirpc behaviour.

23 years agoString operations could silently truncate long strings, leaving the output
gshapiro [Fri, 18 May 2001 18:35:34 +0000 (18:35 +0000)]
String operations could silently truncate long strings, leaving the output
corrupted.  Mark's patch fixes this be removing the MAXTOK limitation on
substring operations and allowing the putback buffer size to be the limiting
factor.  If the putback buffer size if reached, m4 gives an error instead of
silently truncating the string.

PR: bin/26619
Submitted by: Mark Peek <mark-ml@whistle.com>
MFC after: 5 days

23 years agoRestore the RSA host key to /etc/ssh/ssh_host_key.
obrien [Fri, 18 May 2001 18:10:02 +0000 (18:10 +0000)]
Restore the RSA host key to /etc/ssh/ssh_host_key.
Also fix $FreeBSD$ spamage in crypto/openssh/sshd_config rev. 1.16.

23 years agoI appear to be badly out of practice. Remember to flush the output stream
nik [Fri, 18 May 2001 14:07:51 +0000 (14:07 +0000)]
I appear to be badly out of practice.  Remember to flush the output stream
when mixing printf and write.

23 years agoGrab headers from /usr/include.
ru [Fri, 18 May 2001 13:58:08 +0000 (13:58 +0000)]
Grab headers from /usr/include.

23 years agoRemoved unneeded stuff.
ru [Fri, 18 May 2001 13:56:29 +0000 (13:56 +0000)]
Removed unneeded stuff.

23 years agoAdd sk_SK
ache [Fri, 18 May 2001 13:55:25 +0000 (13:55 +0000)]
Add sk_SK

PR: 27425
Submitted by: juraj@bednar.sk

23 years agoRemoved -I${.CURDIR}/.../sys from CFLAGS.
ru [Fri, 18 May 2001 13:41:42 +0000 (13:41 +0000)]
Removed -I${.CURDIR}/.../sys from CFLAGS.

23 years agoFix bogon introduce by last commit.
sos [Fri, 18 May 2001 11:38:58 +0000 (11:38 +0000)]
Fix bogon introduce by last commit.

23 years agoBDECFLAGS cleanup
kris [Fri, 18 May 2001 11:04:19 +0000 (11:04 +0000)]
BDECFLAGS cleanup

23 years agoRemove GCC-ism (-Wall).
ru [Fri, 18 May 2001 10:40:34 +0000 (10:40 +0000)]
Remove GCC-ism (-Wall).

23 years agomdoc(7) police: Fix markup and spelling.
ru [Fri, 18 May 2001 10:39:41 +0000 (10:39 +0000)]
mdoc(7) police: Fix markup and spelling.

23 years agoDon't leak memory when compiling text following the `a', `c' or `i' command.
ru [Fri, 18 May 2001 09:48:17 +0000 (09:48 +0000)]
Don't leak memory when compiling text following the `a', `c' or `i' command.

Testcase:

echo FOO | sed "/FOO/c\\
`jot -b 'aaaa\' 500`"

Submitted by: Max Khon <fjoe@newst.net>

23 years agoRun network6_pass1 if ipv6_enable is YES
brian [Fri, 18 May 2001 09:14:39 +0000 (09:14 +0000)]
Run network6_pass1 if ipv6_enable is YES

23 years agoAdd scrshot to the i386 specific section. If someone can test this on the
nik [Fri, 18 May 2001 09:06:00 +0000 (09:06 +0000)]
Add scrshot to the i386 specific section.  If someone can test this on the
Alpha I'd appreciate it.

23 years agoBy default build make(1) as a static binary. It costs only 100k of additional
sobomax [Fri, 18 May 2001 09:05:56 +0000 (09:05 +0000)]
By default build make(1) as a static binary. It costs only 100k of additional
disk space, buf provides measureable speed increase for make-intensive
operations, such as pkg_version(1), `make world' and so on.

MFC after: 1 week

23 years agoNote, previous commit was
nik [Fri, 18 May 2001 09:01:53 +0000 (09:01 +0000)]
Note, previous commit was

Reviewed by: -arch

23 years agoNew scrshot utility, using the CONS_SCRSHOT ioctl. Usage is
nik [Fri, 18 May 2001 09:00:51 +0000 (09:00 +0000)]
New scrshot utility, using the CONS_SCRSHOT ioctl.  Usage is

scrshot /dev/ttyv0 > shot.scr

See the shot2{txt,png} utilities (soon to be) in the ports collection.

Reviewed by: -arch

23 years agoAdd a new ioctl to syscons, CONS_SCRSHOT. Given a userland buffer, it
nik [Fri, 18 May 2001 08:52:56 +0000 (08:52 +0000)]
Add a new ioctl to syscons, CONS_SCRSHOT.  Given a userland buffer, it
copies out the current contents of the video buffer for a syscons terminal,
providing a snapshot of the text and attributes.

Based heavily on work originally submitted by Joel Holveck <joelh@gnu.org>
for 2.2.x almost 30 months ago, which I cleaned up a little, and forward
ported to -current.

See also the usr.bin/scrshot utility.

23 years agoCurrently there is no way to tell if write operation invoked via
bp [Fri, 18 May 2001 07:43:13 +0000 (07:43 +0000)]
Currently there is no way to tell if write operation invoked via
vn_start_write() on the given vnode will be successful. VOP_LEASE() may
help to solve this problem, but its return value ignored nearly everywhere.
For now just assume that the missing upper layer on write means insufficient
access rights (which is correct for most cases).

23 years agoFixed typo in the description.
ru [Fri, 18 May 2001 06:56:03 +0000 (06:56 +0000)]
Fixed typo in the description.

PR: docs/27411
Submitted by: David Wimsey <dwimsey@rtci.com>

23 years agoAdd mbstate_t and wint_t.
obrien [Fri, 18 May 2001 05:50:26 +0000 (05:50 +0000)]
Add mbstate_t and wint_t.

23 years agoMissed a few things.
obrien [Fri, 18 May 2001 05:46:40 +0000 (05:46 +0000)]
Missed a few things.

23 years agoIn a word -- style(9).
obrien [Fri, 18 May 2001 05:33:42 +0000 (05:33 +0000)]
In a word -- style(9).

23 years agoSort.
obrien [Fri, 18 May 2001 05:05:50 +0000 (05:05 +0000)]
Sort.

23 years agoAdd the "prompt" and "passwd_prompt" fields to /etc/login.conf,
obrien [Fri, 18 May 2001 04:55:16 +0000 (04:55 +0000)]
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)

23 years agoMake _BSD_TIME_T_ (time_t) an `int' rather than `long'. This will help
obrien [Fri, 18 May 2001 01:43:25 +0000 (01:43 +0000)]
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

23 years agoStyle changes -- revert ordering to mostly two revs ago.
obrien [Fri, 18 May 2001 01:40:40 +0000 (01:40 +0000)]
Style changes -- revert ordering to mostly two revs ago.
Embellish some comments, fix tab'ing.

Requested by: bde

23 years agoUse the correct FreeBSD definitions for wint_t and wchar_t.
obrien [Fri, 18 May 2001 00:41:27 +0000 (00:41 +0000)]
Use the correct FreeBSD definitions for wint_t and wchar_t.

23 years agoFix typo: The awi driver doesn't support PRISM cards, it supports the
bmah [Fri, 18 May 2001 00:41:10 +0000 (00:41 +0000)]
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?

23 years agoCondition variable waiters are queued in descending priority order, so
jasone [Fri, 18 May 2001 00:36:05 +0000 (00:36 +0000)]
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

23 years agoNew release notes: digi driver, FICL 2.05, xargs(1) -J, apmd(8) now
bmah [Fri, 18 May 2001 00:14:21 +0000 (00:14 +0000)]
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.

23 years ago- Use a timeout for the tsleep in scheduler() instead of having vmmeter()
jhb [Fri, 18 May 2001 00:08:38 +0000 (00:08 +0000)]
- 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.

23 years agoAdd workaround for embedded NICs, in particular, the 815E boards.
jlemon [Thu, 17 May 2001 23:50:24 +0000 (23:50 +0000)]
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.

23 years agoReplace references to the KERNEL variable with KERNCONF.
jhb [Thu, 17 May 2001 23:23:25 +0000 (23:23 +0000)]
Replace references to the KERNEL variable with KERNCONF.

23 years agoDuring the code to pick a process to kill when memory is exhausted, keep
jhb [Thu, 17 May 2001 22:49:03 +0000 (22:49 +0000)]
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.

23 years ago- Don't panic on a try lock operation for a sleep lock if we hold a spin
jhb [Thu, 17 May 2001 22:44:56 +0000 (22:44 +0000)]
- 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.

23 years ago- Remove the global ithread_list_lock spin lock in favor of per-ithread
jhb [Thu, 17 May 2001 22:43:26 +0000 (22:43 +0000)]
- 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)

23 years ago- Move the setting of bootverbose to a MI SI_SUB_TUNABLES SYSINIT.
jhb [Thu, 17 May 2001 22:28:46 +0000 (22:28 +0000)]
- 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.

23 years agoUse NHWI instead of APIC_IMEN_BITS.
jhb [Thu, 17 May 2001 22:24:46 +0000 (22:24 +0000)]
Use NHWI instead of APIC_IMEN_BITS.

23 years ago- Axe the IMEN_BITS and APIC_IMEN_BITS constants.
jhb [Thu, 17 May 2001 22:24:17 +0000 (22:24 +0000)]
- 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

23 years agoPrimary purpose of this commit is to enable support for the Aviator
dmlb [Thu, 17 May 2001 22:23:49 +0000 (22:23 +0000)]
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

23 years agoDisable the wi driver locking for now. The driver tries to tsleep with the
jhb [Thu, 17 May 2001 22:20:54 +0000 (22:20 +0000)]
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.

23 years agoo Modify access control checks in p_candebug() such that the policy is as
rwatson [Thu, 17 May 2001 21:48:44 +0000 (21:48 +0000)]
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

23 years agoAdd a couple more codes for upcoming raylink driver additions.
dmlb [Thu, 17 May 2001 21:37:41 +0000 (21:37 +0000)]
Add a couple more codes for upcoming raylink driver additions.

MFC after: 3 days

23 years agoAdd an entry for RAYLINK pccard using the ray driver.
dmlb [Thu, 17 May 2001 19:55:11 +0000 (19:55 +0000)]
Add an entry for RAYLINK pccard using the ray driver.

MFC after: 3 days

23 years agoCleanup
alfred [Thu, 17 May 2001 19:47:09 +0000 (19:47 +0000)]
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.

23 years agoFix typo: s/maestro3_load/snd_maestro3_load/ (pointed out by
bmah [Thu, 17 May 2001 18:32:18 +0000 (18:32 +0000)]
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.

23 years agoinitialize pipe pointers
alfred [Thu, 17 May 2001 18:22:58 +0000 (18:22 +0000)]
initialize pipe pointers

23 years agopipe_create has to zero out the select record earlier to avoid
alfred [Thu, 17 May 2001 17:59:28 +0000 (17:59 +0000)]
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>

23 years agoCosmetics to rev.1.89: removed argument names in a function prototype.
ru [Thu, 17 May 2001 17:57:35 +0000 (17:57 +0000)]
Cosmetics to rev.1.89: removed argument names in a function prototype.

23 years agoDescribe all current net.inet.tcp MIB variables.
ru [Thu, 17 May 2001 17:53:21 +0000 (17:53 +0000)]
Describe all current net.inet.tcp MIB variables.

Submitted by: jlemon
MFC after: 1 week

23 years agoMake the PAM user-override actually override the correect thing.
nsayer [Thu, 17 May 2001 16:28:11 +0000 (16:28 +0000)]
Make the PAM user-override actually override the correect thing.

23 years agoAllow ``ip4'' as an ``upperspec'' value, and update the man
brian [Thu, 17 May 2001 15:30:49 +0000 (15:30 +0000)]
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

23 years agoFix an off-by-hour bug when crossing Daylight Saving Time boundary.
ru [Thu, 17 May 2001 15:20:15 +0000 (15:20 +0000)]
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

23 years agoSuppress compiler warning by adding a type cast.
ru [Thu, 17 May 2001 12:51:43 +0000 (12:51 +0000)]
Suppress compiler warning by adding a type cast.

23 years agoBacked out rev.1.8. Rev.1.8 was just to support a bogus unused include
bde [Thu, 17 May 2001 11:54:30 +0000 (11:54 +0000)]
Backed out rev.1.8.  Rev.1.8 was just to support a bogus unused include
in ng_tty.c.

23 years agomdoc(7) police: update document date.
ru [Thu, 17 May 2001 11:09:15 +0000 (11:09 +0000)]
mdoc(7) police: update document date.

23 years agoUpdate to use the new ioctl interface.
sos [Thu, 17 May 2001 10:30:07 +0000 (10:30 +0000)]
Update to use the new ioctl interface.

Add the list command.

23 years agoUpdate to use the changed ioctl interface.
sos [Thu, 17 May 2001 10:29:30 +0000 (10:29 +0000)]
Update to use the changed ioctl interface.

23 years agoChange the ioctl interface to prepare for new functionality.
sos [Thu, 17 May 2001 10:28:59 +0000 (10:28 +0000)]
Change the ioctl interface to prepare for new functionality.

23 years agoStyle policy: reformat multiline comments to conform to style(9).
sobomax [Thu, 17 May 2001 10:12:45 +0000 (10:12 +0000)]
Style policy: reformat multiline comments to conform to style(9).

23 years agoFix the rcsid's.
obrien [Thu, 17 May 2001 09:38:49 +0000 (09:38 +0000)]
Fix the rcsid's.

23 years agoArgh. Fix a long-standing man page filter botch. See terminfo(5) for
peter [Thu, 17 May 2001 08:48:26 +0000 (08:48 +0000)]
Argh. Fix a long-standing man page filter botch.  See terminfo(5) for
the effect.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r76732,
peter [Thu, 17 May 2001 08:39:21 +0000 (08:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r76732,
which included commits to RCS files with non-trunk default branches.

23 years agoUpdate for ncurses 5.2-20010512 import
peter [Thu, 17 May 2001 08:30:09 +0000 (08:30 +0000)]
Update for ncurses 5.2-20010512 import

23 years agoMerge changes from vendor branch to mainline.
peter [Thu, 17 May 2001 08:24:39 +0000 (08:24 +0000)]
Merge changes from vendor branch to mainline.

23 years ago... but we do provide .St -isoC-99, and it is not required to have the
ru [Thu, 17 May 2001 08:22:43 +0000 (08:22 +0000)]
... 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.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r76726,
peter [Thu, 17 May 2001 08:21:06 +0000 (08:21 +0000)]
This commit was generated by cvs2svn to compensate for changes in r76726,
which included commits to RCS files with non-trunk default branches.

23 years agoImport ncurses-5.2-20010512 onto the vendor branch
peter [Thu, 17 May 2001 08:21:06 +0000 (08:21 +0000)]
Import ncurses-5.2-20010512 onto the vendor branch

Obtained from: ftp://dickey.his.com/ncurses/

23 years agoWhen a new block is allocated to a directory, an fsync of a file
mckusick [Thu, 17 May 2001 07:24:03 +0000 (07:24 +0000)]
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.

23 years agoRemoved reference to non-existing make(7).
ru [Thu, 17 May 2001 06:58:57 +0000 (06:58 +0000)]
Removed reference to non-existing make(7).

PR: docs/27392
Submitted by: Hendrik Scholz <hendrik@scholz.net>

23 years agoVOP getwritemount() can be invoked on vnodes with VFREE flag set (used in
bp [Thu, 17 May 2001 04:58:25 +0000 (04:58 +0000)]
VOP getwritemount() can be invoked on vnodes with VFREE flag set (used in
snapshots code). At this point upper vp may not exist.

23 years agoUse vop_*vobject() VOPs to get reference to VM object from upper or lower fs.
bp [Thu, 17 May 2001 04:52:57 +0000 (04:52 +0000)]
Use vop_*vobject() VOPs to get reference to VM object from upper or lower fs.

23 years agoDo not leave an extra reference on vnode.
bp [Thu, 17 May 2001 04:40:01 +0000 (04:40 +0000)]
Do not leave an extra reference on vnode.

PR: kern/27250
Submitted by: "Vladimir B. Grebenschikov" <vova@express.ru>
MFC after: 2 weeks

23 years agoAllocate more memory if necessary.
dcs [Thu, 17 May 2001 04:34:02 +0000 (04:34 +0000)]
Allocate more memory if necessary.