]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoAdd some missing usb vendors (from NetBSD).
joe [Sat, 2 Feb 2002 21:02:13 +0000 (21:02 +0000)]
Add some missing usb vendors (from NetBSD).

22 years agoSync with NetBSD's version, dropping all the 'ltd', 'corp', etc.
joe [Sat, 2 Feb 2002 20:59:43 +0000 (20:59 +0000)]
Sync with NetBSD's version, dropping all the 'ltd', 'corp', etc.
It's more important to keep this file easily syncable across the
BSDs, and NetBSD have stated a preference for not adding them to
theirs.

22 years agoRemove an unnecessary #include that trips up OpenPAM. The header in question
des [Sat, 2 Feb 2002 17:51:39 +0000 (17:51 +0000)]
Remove an unnecessary #include that trips up OpenPAM.  The header in question
is an internal Linux-PAM header which shouldn't be used outside Linux-PAM
itself, and has absolutely zero effect on pam_ftp.

Sponsored by: DARPA, NAI Labs
MFC after: 1 week

22 years agoDon't declare our own common version of the library variable `ospeed'.
bde [Sat, 2 Feb 2002 09:50:45 +0000 (09:50 +0000)]
Don't declare our own common version of the library variable `ospeed'.
Include <termcap.h> to get its declaration.  Our initialization of it
is still dubious, but it agrees with ncurses' documentation of it
(none) and with ncurses' recently fixed internals for it (old speeds
from <sys/ttydev.h>) and with the 4.4Lite documentation for it.

22 years agoDon't declare the library variable `ospeed' without even getting its
bde [Sat, 2 Feb 2002 09:37:20 +0000 (09:37 +0000)]
Don't declare the library variable `ospeed' without even getting its
type correct.  Include <termcap.h> to get its declaration.  Our
initialization of it is still dubious, but it agrees with ncurses'
documentation of it (none) and with ncurses' recently fixed internals
for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite
documentation for it.

22 years agoDon't declare our own common version of the library variable `ospeed'
bde [Sat, 2 Feb 2002 09:32:09 +0000 (09:32 +0000)]
Don't declare our own common version of the library variable `ospeed'
without even getting its type correct.  Include <termcap.h> to get its
declaration.  Our initialization of it is still dubious, but it agrees
with ncurses' documentation of it (none) and with ncurses' recently
fixed internals for it (old speeds from <sys/ttydev.h>) and with the
4.4Lite documentation for it.

22 years agoFix unused variable.
imp [Sat, 2 Feb 2002 07:10:02 +0000 (07:10 +0000)]
Fix unused variable.

22 years agomissed a few registers
imp [Sat, 2 Feb 2002 07:09:30 +0000 (07:09 +0000)]
missed a few registers

22 years agoOoops, forgot to remove the registers here.
imp [Sat, 2 Feb 2002 07:07:59 +0000 (07:07 +0000)]
Ooops, forgot to remove the registers here.

22 years ago%.* takes an int, not a size_t.
imp [Sat, 2 Feb 2002 07:06:58 +0000 (07:06 +0000)]
%.* takes an int, not a size_t.

22 years agoo __P has been reoved
imp [Sat, 2 Feb 2002 06:50:57 +0000 (06:50 +0000)]
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.
o Change
int
foo() {
...
  to
int
foo(void)
{
...

22 years agoo __P has been reoved
imp [Sat, 2 Feb 2002 06:48:10 +0000 (06:48 +0000)]
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.

22 years agoo __P has been reoved
imp [Sat, 2 Feb 2002 06:36:49 +0000 (06:36 +0000)]
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.
o gc some #ifdef sun ... #endif code

Approved by: arch@, new style(9)

22 years agoo __P has been reoved
imp [Sat, 2 Feb 2002 06:24:13 +0000 (06:24 +0000)]
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.

Approved by: arch@, new style(9)

22 years agoModernization effort for bin/c*:
imp [Sat, 2 Feb 2002 06:15:22 +0000 (06:15 +0000)]
Modernization effort for bin/c*:

  o __P has been reoved
  o Old-style K&R declarations have been converted to new C89 style
  o register has been removed
  o prototype for main() has been removed (gcc3 makes it an error)
  o int main(int argc, char *argv[]) is the preferred main definition.
  o Attempt to not break style(9) conformance for declarations more than
    they already are.

  Approved by: arch@, new style(9)

22 years agoDrag cat(1) kicking and screaming into the late 1980's:
imp [Sat, 2 Feb 2002 06:10:01 +0000 (06:10 +0000)]
Drag cat(1) kicking and screaming into the late 1980's:

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.

Approved by: arch@, new style(9)

22 years agoo Add the prototype of cr_cansignal() from an earlier change to
rwatson [Sat, 2 Feb 2002 03:39:44 +0000 (03:39 +0000)]
o Add the prototype of cr_cansignal() from an earlier change to
  kern_prot.c.  This has apparently been sitting in my local tree for
  ages, and has been generating a warning during the building of
  kern_prot.o.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoMerged cy_pcireg.h into the one file that uses it (cy_pci.c).
bde [Sat, 2 Feb 2002 02:22:51 +0000 (02:22 +0000)]
Merged cy_pcireg.h into the one file that uses it (cy_pci.c).

22 years agoFixed breakage of interrupt setup in previous commit. It used an
bde [Sat, 2 Feb 2002 02:05:44 +0000 (02:05 +0000)]
Fixed breakage of interrupt setup in previous commit.  It used an
uninitialized variable in the !CY_PCI_FASTINTR case (*blush*).

22 years agoIn the routines vrele() and vput(), we must lock the vnode and
mckusick [Sat, 2 Feb 2002 01:49:18 +0000 (01:49 +0000)]
In the routines vrele() and vput(), we must lock the vnode and
call VOP_INACTIVE before placing the vnode back on the free list.
Otherwise there is a race condition on SMP machines between
getnewvnode() locking the vnode to reclaim it and vrele()
locking the vnode to inactivate it. This window of vulnerability
becomes exaggerated in the presence of filesystems that have
been suspended as the inactive routine may need to temporarily
release the lock on the vnode to avoid deadlock with the syncer
process.

22 years agoMFen (1.271 --> 1.272).
kuriyama [Sat, 2 Feb 2002 01:47:37 +0000 (01:47 +0000)]
MFen (1.271 --> 1.272).

22 years agoWhen taking a snapshot, we must check for active files that have
mckusick [Sat, 2 Feb 2002 01:42:44 +0000 (01:42 +0000)]
When taking a snapshot, we must check for active files that have
been unlinked (e.g., with a zero link count). We have to expunge
all trace of these files from the snapshot so that they are neither
reclaimed prematurely by fsck nor saved unnecessarily by dump.

22 years agoFixed world breakage in previous commit. The generated headers are in
bde [Sat, 2 Feb 2002 00:20:32 +0000 (00:20 +0000)]
Fixed world breakage in previous commit.  The generated headers are in
the current directory which is rarely ${.CURDIR}.

22 years agoFixed tab lossage in vendor id and nearby style bugs in previous commit.
bde [Fri, 1 Feb 2002 23:26:32 +0000 (23:26 +0000)]
Fixed tab lossage in vendor id and nearby style bugs in previous commit.

22 years agoFixed syntax error in previous commit. It was non-fatal because it was
bde [Fri, 1 Feb 2002 23:16:39 +0000 (23:16 +0000)]
Fixed syntax error in previous commit.  It was non-fatal because it was
in conditional code that happens not to be compiled, and because gcc
doesn't complain garbage after #endif by default.

Fixed some style bugs in previous commit, 1.8 and 1.1.

22 years agoModified release note: bzip 1.0.2.
bmah [Fri, 1 Feb 2002 22:50:18 +0000 (22:50 +0000)]
Modified release note:  bzip 1.0.2.

22 years agoPost-repocopy cleanup.
des [Fri, 1 Feb 2002 22:25:07 +0000 (22:25 +0000)]
Post-repocopy cleanup.

Sponsored by: DARPA, NAI Labs

22 years agoMerge rev 1.2 (a.out support) into GCC 3.1-snap.
obrien [Fri, 1 Feb 2002 19:42:45 +0000 (19:42 +0000)]
Merge rev 1.2 (a.out support) into GCC 3.1-snap.

22 years agoUse the stock 3.1-snap file now.
obrien [Fri, 1 Feb 2002 19:38:44 +0000 (19:38 +0000)]
Use the stock 3.1-snap file now.
Until we can figure out how to reimpliment our custom format warnings
since the FSF developers totally revamped them, and took away the hooks
we were using to accomplish our desires.

22 years agoRemove bogus assertion in dup2 that can lead to panics when kernel
alfred [Fri, 1 Feb 2002 19:25:36 +0000 (19:25 +0000)]
Remove bogus assertion in dup2 that can lead to panics when kernel
threads race for a file slot.

dup2(2) incorrectly assumes that if it needs to grow the ofiles
array that it will get what it wants.  This assertion was valid
before we allowed shared filedescriptor tables but is now incorrect.

The assertion can trigger superfolous panics if the thread doing a
dup2 looses a race with another thread while possibly blocked in
the MALLOC call in fdalloc.  Another thread may grab the slot we
are requesting which makes fdalloc return something other than what
we asked for, this will triggering the bogus assertion.

MFC after: 2 weeks
Reviewed by: phk

22 years agoAvoid lock order reversal filedesc/Giant when calling FREE() in fdalloc
alfred [Fri, 1 Feb 2002 19:19:54 +0000 (19:19 +0000)]
Avoid lock order reversal filedesc/Giant when calling FREE() in fdalloc
by unlocking the filedesc before calling FREE().

Submitted by: bde

22 years agoMerge rev 1.2 (add_bb) into GCC 3.1-snap.
obrien [Fri, 1 Feb 2002 19:19:08 +0000 (19:19 +0000)]
Merge rev 1.2 (add_bb) into GCC 3.1-snap.

Note that the "NO_PROFILE_DATA"/"NO_PROFILE_COUNTERS" bits were added
to the stock FSF GCC 2.97 (and thus 3.1) source as i386 Linux needed them
also.  (amazing what can get committed to the FSF GCC when needed by Linux...)

22 years agoWe use the stock [3.1-snap] version of this,
obrien [Fri, 1 Feb 2002 19:12:03 +0000 (19:12 +0000)]
We use the stock [3.1-snap] version of this,
other than having to add $FreeBSD$...

22 years agoUse the stock 3.1-snap file now.
obrien [Fri, 1 Feb 2002 19:10:11 +0000 (19:10 +0000)]
Use the stock 3.1-snap file now.
I do not think our rev 1.2 changes are needed any longer.

22 years agoThe stock (3.1-snap) version of this file is used now.
obrien [Fri, 1 Feb 2002 18:56:12 +0000 (18:56 +0000)]
The stock (3.1-snap) version of this file is used now.
The FreeBSD hacks now apply to `config.gcc'.

22 years agoGo back to stock [3.1-snap] file -- our previous mods are OBE.
obrien [Fri, 1 Feb 2002 18:54:38 +0000 (18:54 +0000)]
Go back to stock [3.1-snap] file -- our previous mods are OBE.

22 years agoWe use the stock 3.1-snap file now.
obrien [Fri, 1 Feb 2002 18:53:34 +0000 (18:53 +0000)]
We use the stock 3.1-snap file now.
All the -Wformat related code moved to c-format.c.

22 years agoUse the stock 3.1-snap file now.
obrien [Fri, 1 Feb 2002 18:50:05 +0000 (18:50 +0000)]
Use the stock 3.1-snap file now.
I have folded all our local changes into the FSF CVS repo.

22 years agoIf the dhcpd server doesn't provide a domain name or dns servers then
alfred [Fri, 1 Feb 2002 18:46:58 +0000 (18:46 +0000)]
If the dhcpd server doesn't provide a domain name or dns servers then
don't clobber /etc/resolv.conf

Add $FreeBSD.

Submitted by: an j. peterson" <rbw@myplace.org>
Verified fix in: dhcp-3.0.1rc6
PR: misc/34455

22 years agoDon't recurse on filedesc lock in chroot_refuse_vdir_fds().
alfred [Fri, 1 Feb 2002 18:27:16 +0000 (18:27 +0000)]
Don't recurse on filedesc lock in chroot_refuse_vdir_fds().

Noticed by: Michael Nottebrock <michaelnottebrock@gmx.net>

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90075,
obrien [Fri, 1 Feb 2002 18:16:02 +0000 (18:16 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90075,
which included commits to RCS files with non-trunk default branches.

22 years agoEnlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.
obrien [Fri, 1 Feb 2002 18:16:02 +0000 (18:16 +0000)]
Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.

22 years agoRegenerate to make osigreturn standard.
bde [Fri, 1 Feb 2002 17:41:45 +0000 (17:41 +0000)]
Regenerate to make osigreturn standard.

22 years agoMade osigreturn(2) standard so that SYS_osigreturn can be used in the
bde [Fri, 1 Feb 2002 17:27:14 +0000 (17:27 +0000)]
Made osigreturn(2) standard so that SYS_osigreturn can be used in the
signal trampoline for old signals.  The arches that support old signals
currently abuse sigreturn(2) instead.  This mainly complicates things
and slightly breaks the the new sigreturn(2).

COMPAT is too limited to support the correct configuration of osigreturn,
and this commit doesn't attempt to fix it; it just moves the bogusness:
osigreturn() must now be provided unconditionally even on arches that
don't really need it; previously it had to be provided under the bogus
condition defined(COMPAT_43).

22 years agoAdd upgrade instructions.
sobomax [Fri, 1 Feb 2002 16:34:13 +0000 (16:34 +0000)]
Add upgrade instructions.

22 years agoComplete bzip2-1.0.2 import.
sobomax [Fri, 1 Feb 2002 16:33:40 +0000 (16:33 +0000)]
Complete bzip2-1.0.2 import.

MFC in: 14 days

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90067,
sobomax [Fri, 1 Feb 2002 16:28:01 +0000 (16:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90067,
which included commits to RCS files with non-trunk default branches.

22 years agoVirgin import (trimmed) of Bzip2 version 1.0.2
sobomax [Fri, 1 Feb 2002 16:28:01 +0000 (16:28 +0000)]
Virgin import (trimmed) of Bzip2 version 1.0.2

22 years agoCompile osigreturn() unconditionally since it will always be needed on
bde [Fri, 1 Feb 2002 15:44:03 +0000 (15:44 +0000)]
Compile osigreturn() unconditionally since it will always be needed on
some arches and the syscall table is machine-independent.  It was
(bogusly) conditional on COMPAT_43, so this usually makes no difference.

ia64: in addition:
- replace the bogus cloned comment before osigreturn() by a correct one.
  osigreturn() is just a stub fo ia64's.
- fix the formatting of cloned comment before sigreturn().
- fix the return code.  use nosys() instead of returning ENOSYS to get
  the same semantics as if the syscall is not in the syscall table.
  Generating SIGSYS is actually correct here.
- fix style bugs.

powerpc: copy the cleaned up ia64 stub.  This mainly fixes a bogus comment.

sparc64: copy the cleaned up the ia64 stub, since there was no stub before.

22 years agoExpand COMBRD(x) macro.
nyan [Fri, 1 Feb 2002 14:48:44 +0000 (14:48 +0000)]
Expand COMBRD(x) macro.

22 years agoMFen (1.269 --> 1.271).
kuriyama [Fri, 1 Feb 2002 13:37:35 +0000 (13:37 +0000)]
MFen (1.269 --> 1.271).

22 years agoRefer to the original mode of the file, not the mode of the original
sheldonh [Fri, 1 Feb 2002 12:37:21 +0000 (12:37 +0000)]
Refer to the original mode of the file, not the mode of the original
file.

PR: docs/34224
Submitted by: "Gary W. Swearingen" <swear@blarg.net>

22 years agoConnect the pam_lastlog(8) and pam_login_access(8) modules to the build.
des [Fri, 1 Feb 2002 08:49:53 +0000 (08:49 +0000)]
Connect the pam_lastlog(8) and pam_login_access(8) modules to the build.

Sponsored by: DARPA, NAI Labs

22 years agoReturn ENONAME if getaddrinfo() is called with AI_NUMERICHOST
roam [Fri, 1 Feb 2002 08:35:16 +0000 (08:35 +0000)]
Return ENONAME if getaddrinfo() is called with AI_NUMERICHOST
and the hostname given is not numeric.

PR: 34390
Submitted by: Serge van den Boom <svdb@stack.nl>
Approved by: silence from -net
MFC after: 1 month

22 years agoFixed slipage in editor.
obrien [Fri, 1 Feb 2002 07:26:00 +0000 (07:26 +0000)]
Fixed slipage in editor.

22 years agoCut-n-paste in `list' mode considered harmful.
obrien [Fri, 1 Feb 2002 07:25:07 +0000 (07:25 +0000)]
Cut-n-paste in `list' mode considered harmful.

22 years agoAdd -a option (SUSv3) to split(1).
mike [Fri, 1 Feb 2002 06:55:18 +0000 (06:55 +0000)]
Add -a option (SUSv3) to split(1).

Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
MFC after: 1 month

22 years agoSome netgraph parse types (such as for the 'value' field in ng_ksocket's
archie [Fri, 1 Feb 2002 02:21:41 +0000 (02:21 +0000)]
Some netgraph parse types (such as for the 'value' field in ng_ksocket's
'struct ng_ksocket_sockopt') like to peek into the ng_mesg header for
information. Make sure when generating default values that we provide
a valid header to peek into.

MFC after: 1 week

22 years ago* Remove __P and convert to ANSI prototypes.
obrien [Fri, 1 Feb 2002 01:39:09 +0000 (01:39 +0000)]
* Remove __P and convert to ANSI prototypes.
* Remove 'register'.  (some functions had 7+ register functions...)
* Fix SCM ID's.

22 years ago* Remove __P and convert to ANSI prototypes.
obrien [Fri, 1 Feb 2002 01:32:19 +0000 (01:32 +0000)]
* Remove __P and convert to ANSI prototypes.
* Remove 'register'.  (some functions had 7+ register functions...)
* Fix SCM ID's.

22 years agoNote new status of __P. Don't use it.
imp [Fri, 1 Feb 2002 01:26:24 +0000 (01:26 +0000)]
Note new status of __P.  Don't use it.

Reviewed by: arch@, mckusick (in principle)

22 years agoThere is no need to wrap vendor id bits with '#if 0' if they come pre-wrapped.
obrien [Fri, 1 Feb 2002 01:17:22 +0000 (01:17 +0000)]
There is no need to wrap vendor id bits with '#if 0' if they come pre-wrapped.

22 years ago* Remove 'register'. (some functions had 7+ register functions...)
obrien [Fri, 1 Feb 2002 01:08:48 +0000 (01:08 +0000)]
* Remove 'register'.  (some functions had 7+ register functions...)
* Fix SCM ID's.

22 years agoFix SCM ID's.
obrien [Fri, 1 Feb 2002 00:57:29 +0000 (00:57 +0000)]
Fix SCM ID's.

22 years agoThe SiS 630 chipset is supported by the sis(4) driver.
bmah [Thu, 31 Jan 2002 19:40:51 +0000 (19:40 +0000)]
The SiS 630 chipset is supported by the sis(4) driver.

PR: 34437
Submitted by: Hendrik Scholz <hendrik@scholz.net>

22 years agoGC P_BUFEXHAUST leftovers, we've had a new mechanism to avoid buffer
dillon [Thu, 31 Jan 2002 18:39:44 +0000 (18:39 +0000)]
GC P_BUFEXHAUST leftovers, we've had a new mechanism to avoid buffer
cache lockups for over a year now.

MFC after: 0 days

22 years agoNew release notes: an(4) LEAP, Home key, and Linux utility support;
bmah [Thu, 31 Jan 2002 18:38:03 +0000 (18:38 +0000)]
New release notes:  an(4) LEAP, Home key, and Linux utility support;
uudecode(1) -s; top 3.5b12.

Updated release notes:  binutils update to 27 January 2002 snapshot,
OpenSSL 0.9.6c.

22 years agoNew release notes: iir driver (submitted by msmith), dumpdev loader tunable
bmah [Thu, 31 Jan 2002 17:50:46 +0000 (17:50 +0000)]
New release notes:  iir driver (submitted by msmith), dumpdev loader tunable
(submitted by sobomax).

22 years agoFix minor style nit.
obrien [Thu, 31 Jan 2002 17:26:37 +0000 (17:26 +0000)]
Fix minor style nit.

22 years agoMFC: gcc.295/config/alpha/freebsd.h revision 1.12:
obrien [Thu, 31 Jan 2002 17:20:44 +0000 (17:20 +0000)]
MFC: gcc.295/config/alpha/freebsd.h revision 1.12:
Remove our definition for FUNCTION_PROFILER as it is wrong.

Note that "jsr $28,_mcount" is a macro for
ldq $27, _mcount($29)           !literal!1
jsr $28, ($27), _mcount         !lituse_jsr!1

1. The call to _mcount is added by alpha_expand_prologue after we load the gp.
Our _mcount uses $27 for the incoming address, unlike OSF/1 and Linux,
which use $28.  This probably doesn't matter since we probably don't use $27
within _mcount itself.
2. You can't use this insn with _mcount because it uses the PLT, which clobbers
the return address in $28.  Note that the prologue_mcount pattern carefully
avoids adding the lituse_jsr relocation so that we call through the GOT
directly.

Submitted by: Richard Henderson <rth@redhat.com>

22 years agoidentify GLPRISM2 PCI WaveLAN/IEEE 802.11
alfred [Thu, 31 Jan 2002 16:55:13 +0000 (16:55 +0000)]
identify GLPRISM2 PCI WaveLAN/IEEE 802.11

Submitted by: Toni Andjelkovic <toni@soth.at>

22 years agoMerge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlock
sheldonh [Thu, 31 Jan 2002 14:23:49 +0000 (14:23 +0000)]
Merge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlock

22 years agoFinish revs.1.23 and 1.24 so that MCOUNT_ENTER really actually compiles
bde [Thu, 31 Jan 2002 13:49:55 +0000 (13:49 +0000)]
Finish revs.1.23 and 1.24 so that MCOUNT_ENTER really actually compiles
for SMP in the plain profiling case.  It seems to work too.

This error was not detected by LINT because LINT only compiles the
GUPROF profiling case, which is is a superset of the plain profiling
case for !SMP but which is so broken for SMP that the buggy code is
not compiled.

22 years agoMerge rev 1.1.1.2 from the vendor branch: fix leftright scrolling for
sheldonh [Thu, 31 Jan 2002 13:45:31 +0000 (13:45 +0000)]
Merge rev 1.1.1.2 from the vendor branch: fix leftright scrolling for
long lines

22 years agoAdd $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from the
sheldonh [Thu, 31 Jan 2002 13:44:36 +0000 (13:44 +0000)]
Add $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from the
vendor branch.  This file was taken off the vendor branch in 1998,
before we started enforcing the presence of CVS Id tags. :-(

22 years agoRevert last commit. stdio.h include is for perror(), not strerror()
jedgar [Thu, 31 Jan 2002 13:32:14 +0000 (13:32 +0000)]
Revert last commit.  stdio.h include is for perror(), not strerror()

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90019,
sheldonh [Thu, 31 Jan 2002 13:28:37 +0000 (13:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90019,
which included commits to RCS files with non-trunk default branches.

22 years agoFix core dump in left-right screen scrolling for long lines.
sheldonh [Thu, 31 Jan 2002 13:28:37 +0000 (13:28 +0000)]
Fix core dump in left-right screen scrolling for long lines.

The nvi maintainer expects this patch to be included in the upcoming
nvi-1.81.6 unless a better fix presents itself.

The MFC reminder below should be taken as a cue to MFC rev 1.1.1.2
of vs_relative.c as well.

PR: bin/26869
Reported by: Alex Semenyaka <alexs@snark.ratmir.ru>
Obtained from: skimo@kotnet.org (via "Alexey V. Neyman" <alex.neyman@auriga.ru>)
MFC after: 1 month

22 years agoModified the rules for vendor ids:
bde [Thu, 31 Jan 2002 13:26:29 +0000 (13:26 +0000)]
Modified the rules for vendor ids:
- explictly say not to edit infrastructure for vendor ids (not just the
  ids).
- say to enclose vendor ids and their infrastucture in ``#if 0'', and
  partly explain why.
- don't set a bad example by mangling the Berkeley id infrastructure from
  ``static char sccsid[] ...'' to ``__RCSID(...)''.
- show a blank line between the vendor id cruft and the FreeeBSD if cruft
  in the example.
- relaxed the rule about adding "From: " to say that "From: " is actually
  useful if the file has been renamed.
- minor English improvements.

Discussed with: obrien

22 years agostrerror(3) is in string.h, not stdio.h
jedgar [Thu, 31 Jan 2002 13:20:48 +0000 (13:20 +0000)]
strerror(3) is in string.h, not stdio.h

MFC after: 1 week

22 years agoFixed world breakage due to missing include of <sys/cdefs.h> in previous
bde [Thu, 31 Jan 2002 12:58:36 +0000 (12:58 +0000)]
Fixed world breakage due to missing include of <sys/cdefs.h> in previous
commit.

Fixed related style bugs:
basename.c: misplaced '#if 0'
dirname.c: misplaced '#if 0'
getgrent.c: missing '#if 0', and tab lossage in vendor id (the previous
            commit fixed the complete corruption of the vendor id but
    lost a tab)
getpwent.c: missing '#if 0'

22 years agoAdd support of PhotoClip USB Camera (http://www.myphotoclip.com):
sobomax [Thu, 31 Jan 2002 11:39:17 +0000 (11:39 +0000)]
Add support of PhotoClip USB Camera (http://www.myphotoclip.com):
- Vendor&Device IDs for USB product,
- quirk for SCSI CAM.

PR: 34481
Submitted by: Olexander Kunytsa <kunia@x-telecom.net>
MFC in: 3 days

22 years agoFix irq/drq handling. IRQ and DRQ resource information can be get
takawata [Thu, 31 Jan 2002 09:18:27 +0000 (09:18 +0000)]
Fix irq/drq handling. IRQ and DRQ resource information can be get
in one object for one resource. Array of values in a object means
possible values for the object.

22 years agoMFi386: revision 1.489.
nyan [Thu, 31 Jan 2002 08:35:38 +0000 (08:35 +0000)]
MFi386: revision 1.489.

22 years agoChanged iskanji[12] to inline functions.
nyan [Thu, 31 Jan 2002 08:29:46 +0000 (08:29 +0000)]
Changed iskanji[12] to inline functions.

22 years agoMerged from sys/dev/sio/{sio.c,sio_isa.c} revisions 1.363 and 1.5,
nyan [Thu, 31 Jan 2002 08:26:45 +0000 (08:26 +0000)]
Merged from sys/dev/sio/{sio.c,sio_isa.c} revisions 1.363 and 1.5,
respectively.

22 years agoAdd pc98 support.
nyan [Thu, 31 Jan 2002 08:24:36 +0000 (08:24 +0000)]
Add pc98 support.

22 years agoRemove obsolete COMBRD* definitions.
nyan [Thu, 31 Jan 2002 08:23:30 +0000 (08:23 +0000)]
Remove obsolete COMBRD* definitions.

22 years agoMFi386: revision 1.180
nyan [Thu, 31 Jan 2002 04:28:52 +0000 (04:28 +0000)]
MFi386: revision 1.180

22 years agoMFi386: revision 1.52
nyan [Thu, 31 Jan 2002 04:22:20 +0000 (04:22 +0000)]
MFi386: revision 1.52

22 years agoFix error handling.
takawata [Thu, 31 Jan 2002 01:23:22 +0000 (01:23 +0000)]
Fix error handling.

PR:30665
Submitted by:TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp>

22 years agoIn revision 1.351, All files/directories in ${CHROOTDIR}/usr/ports/distfiles
matusita [Thu, 31 Jan 2002 00:38:09 +0000 (00:38 +0000)]
In revision 1.351, All files/directories in ${CHROOTDIR}/usr/ports/distfiles
are removed, because ports.tgz includes distfiles by accident.

However, removing files/directories is *not* mandatory.  The only
requirement is "ports.tgz doesn't include distfiles/* but distfiles
directory itself".  If this is correct, the right way is to set an
option to tar(1), not to include these files.

This commit is based on PR: 34194, but a little bit of modification
is made by me (original patch doesn't include 'distfiles' directory).

PR: 34194
Reviewed by: Adrian Steinmann <ast@marabu.ch> (PR submitter)
MFC after: 9 days

22 years agoAllow this to compile again
julian [Wed, 30 Jan 2002 23:38:31 +0000 (23:38 +0000)]
Allow this to compile again
not tested under LINT by: msmith

22 years agoinclude sys/lock.h and sys/mutex.h to make compile.
alfred [Wed, 30 Jan 2002 23:28:25 +0000 (23:28 +0000)]
include sys/lock.h and sys/mutex.h to make compile.

Noticed by: Vincent Poy <vince@oahu.WURLDLINK.NET>

22 years agoo Reserve two interface ioctl values, 38, and 38, for SIOCGIFMAC and
rwatson [Wed, 30 Jan 2002 21:37:32 +0000 (21:37 +0000)]
o Reserve two interface ioctl values, 38, and 38, for SIOCGIFMAC and
  SIOCSIFMAC, which are for the Mandatory Access Control
  implementation.  This will prevent collisions on the p4 development
  branch.

Obtained from: TrustedBSD Project

22 years agoFix FreeBSD IDs.
obrien [Wed, 30 Jan 2002 21:36:57 +0000 (21:36 +0000)]
Fix FreeBSD IDs.

22 years agofget_locked fixes.
alfred [Wed, 30 Jan 2002 19:53:57 +0000 (19:53 +0000)]
fget_locked fixes.
  sort declaration.
  give paramters names.
  remove bogus check for negative fd (u_int) cast does this for us.

Pointed out by: bde

22 years agoRemove unused variables in select(2) from previous delta.
alfred [Wed, 30 Jan 2002 19:48:25 +0000 (19:48 +0000)]
Remove unused variables in select(2) from previous delta.

Pointed out by: bde

22 years agoAdd pam_self(8) so users can login(1) as themselves without authentication,
des [Wed, 30 Jan 2002 19:13:23 +0000 (19:13 +0000)]
Add pam_self(8) so users can login(1) as themselves without authentication,
pam_login_access(8) and pam_securetty(8) to enforce various checks
previously done by login(1) but now handled by PAM, and pam_lastlog(8) to
record login sessions in utmp / wtmp / lastlog.

Sponsored by: DARPA, NAI Labs

22 years agoStill with asbestos longjohns on, completely PAMify login(1) and remove
des [Wed, 30 Jan 2002 19:10:21 +0000 (19:10 +0000)]
Still with asbestos longjohns on, completely PAMify login(1) and remove
code made redundant by various PAM modules (primarily pam_unix(8)).

Sponsored by: DARPA, NAI Labs