]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThis commit was generated by cvs2svn to compensate for changes in r90238,
Sheldon Hearn [Tue, 5 Feb 2002 09:17:24 +0000 (09:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90238,
which included commits to RCS files with non-trunk default branches.

22 years agoFix obscure bug in code loading support that could cause parsing of
Sheldon Hearn [Tue, 5 Feb 2002 09:17:24 +0000 (09:17 +0000)]
Fix obscure bug in code loading support that could cause parsing of
functions in multi-line files to fail, depending on the state of the
stack.  The fix is sanctioned by the vendor and will appear in bc-1.07.

PR: bin/34601
Reported by: mi
Obtained from: Phil Nelson <phil@cs.wwu.edu>

22 years agoThree times lucky: <stddef.h>, not <sys/param.h>
Dag-Erling Smørgrav [Tue, 5 Feb 2002 08:01:32 +0000 (08:01 +0000)]
Three times lucky: <stddef.h>, not <sys/param.h>

22 years agoOops, the correct header to include for NULL is <sys/param.h>.
Dag-Erling Smørgrav [Tue, 5 Feb 2002 07:53:00 +0000 (07:53 +0000)]
Oops, the correct header to include for NULL is <sys/param.h>.

22 years ago- Do not hang if the resource allocation fails.
Seigo Tanimura [Tue, 5 Feb 2002 06:52:56 +0000 (06:52 +0000)]
- Do not hang if the resource allocation fails.
- Add another quirk entry of SB AWE64.

PR: kern/32530
Submitted by: Magnus Backstrom <b@etek.chalmers.se>

22 years agoANSIfy and constify.
Dag-Erling Smørgrav [Tue, 5 Feb 2002 06:49:11 +0000 (06:49 +0000)]
ANSIfy and constify.

Sponsored by: DARPA, NAI Labs

22 years agoMove arguments in prototype out of application namespace.
Dag-Erling Smørgrav [Tue, 5 Feb 2002 06:31:58 +0000 (06:31 +0000)]
Move arguments in prototype out of application namespace.

Sponsored by: DARPA, NAI Labs

22 years agoMakes __istype() an inline (and a non inlined) function to avoid C++
Rob Braun [Tue, 5 Feb 2002 06:21:34 +0000 (06:21 +0000)]
Makes __istype() an inline (and a non inlined) function to avoid C++
compile issues.  std::isspace(' ') was expanding to std::(!!_maskrune...)
which would cause a C++ compile error.  Making __istype() an inline
causes the expansion to be std::__istype() instead, which is valid.

Reviewed by: jkh

22 years ago#include <sys/types.h> for NULL (hidden by Linux-PAM header pollution)
Dag-Erling Smørgrav [Tue, 5 Feb 2002 06:20:27 +0000 (06:20 +0000)]
#include <sys/types.h> for NULL (hidden by Linux-PAM header pollution)

Sponsored by: DARPA, NAI Labs

22 years ago#include cleanup.
Dag-Erling Smørgrav [Tue, 5 Feb 2002 06:08:26 +0000 (06:08 +0000)]
#include cleanup.

Sponsored by: DARPA, NAI Labs

22 years agoMFen (1.272 --> 1.275).
Jun Kuriyama [Tue, 5 Feb 2002 02:23:14 +0000 (02:23 +0000)]
MFen (1.272 --> 1.275).

22 years agoGet rid of the twisted MFREE() macro entirely.
Matthew Dillon [Tue, 5 Feb 2002 02:00:56 +0000 (02:00 +0000)]
Get rid of the twisted MFREE() macro entirely.

Reviewed by: dg, bmilekic
MFC after: 3 days

22 years agoGive the next BIND-importing schmuck some assistance.
Jacques Vidrine [Mon, 4 Feb 2002 21:28:45 +0000 (21:28 +0000)]
Give the next BIND-importing schmuck some assistance.

22 years ago+ A variety of 23XX changes:
Matt Jacob [Mon, 4 Feb 2002 21:04:25 +0000 (21:04 +0000)]
+ A variety of 23XX changes:
disable MWI on 2300

based on function code, set an 'isp_port' for the 2312- it's a
separate instance, but the NVRAM is shared, and the second port's
NVRAM is at offset 256.

+ Enable RIO operation for LVD SCSI cards. This makes a *big* difference
as even under reasonable load we get batched completions of about 30
commands at a time on, say, an ISP1080.

+ Do 'continuation' mailbox commands- this allows us to specify a work
area within the softc and 'continue' repeated mailbox commands. This is
more or less on an ad hoc basis and is currently only used for firmware
loading (which f/w now loads substantially faster becuase the calling
thread is only woken when all the f/w words are loaded- not for each
one of the 40000 f/w words that gets loaded).

+ If we're about to return from isp_intr with a 'bogus interrupt' indication,
and we're not a 23XX card, check to see whether the semaphore register is
currently *2* (not *1* as it should be) and whether there's an async completion
sitting in outgoing mailbox0. This seems to capture cases of lost fast posting
and RIO interrupts that the 12160 && 1080 have been known to pump out under
extreme load (extreme, as in > 250 active commands).

+ FC_SCRATCH_ACQUIRE/FC_SCRATCH_RELEASE macros.

+ Endian correct swizzle/unswizzle of an ATIO2 that has a WWPN in it.

MFC after: 1 week

22 years agoMove the pseudofs, procfs and linprocfs modules out from the fs directory.
Dag-Erling Smørgrav [Mon, 4 Feb 2002 20:16:50 +0000 (20:16 +0000)]
Move the pseudofs, procfs and linprocfs modules out from the fs directory.
Keeping them there seemed like a good idea at the time, but it annoys bde
and confuses people who do not understand how MODULES_OVERRIDE works.

22 years agoNew release note: ldd(1) can be used on shared libraries.
Bruce A. Mah [Mon, 4 Feb 2002 20:02:07 +0000 (20:02 +0000)]
New release note:  ldd(1) can be used on shared libraries.

Updated release note:  BIND 8.3.1-REL.

22 years agoMatch the requirements of the new kernel structures.
Søren Schmidt [Mon, 4 Feb 2002 19:24:43 +0000 (19:24 +0000)]
Match the requirements of the new kernel structures.

22 years agoMajor update of the ATA RAID code, part 1:
Søren Schmidt [Mon, 4 Feb 2002 19:23:40 +0000 (19:23 +0000)]
Major update of the ATA RAID code, part 1:

Overhaul of the attach/detach code and structures, there were some nasty
bugs in the old implementation. This made it possible to collapse the
ATA/ATAPI device control structures into one generic structure.

A note here, the kernel is NOT ready for detach of active devices,
it fails all over in random places, but for inactive devices it works.
However for ATA RAID this works, since the RAID abstration layer
insulates the buggy^H^H^H^H^H^Hfragile device subsystem from the
physical disks.

Proberly detect the RAID's from the BIOS, and mark critical RAID1
arrays as such, but continue if there is enough of the mirror left
to do so.

Properly fail arrays on a live system. For RAID0 that means return EIO,
and for RAID1 it means continue on the still working part of the mirror
if possible, else return EIO.
If the state changes, log this to the console.

Allow for Promise & Highpoint controllers/arrays to coexist on the
same machine. It is not possible to distribute arrays over different
makes of controllers though.

If Promise SuperSwap enclosures are used, signal disk state on the
status LED on the front.

Misc fixes that I had lying around for various minor bugs.

Sponsored by: Advanis Inc.

22 years agogetgrouplist now takes `gid_t' instead of `int'.
Jacques Vidrine [Mon, 4 Feb 2002 19:19:34 +0000 (19:19 +0000)]
getgrouplist now takes `gid_t' instead of `int'.

22 years agohex.c is new in libisc with 8.3.1-REL.
Jacques Vidrine [Mon, 4 Feb 2002 19:18:23 +0000 (19:18 +0000)]
hex.c is new in libisc with 8.3.1-REL.

22 years agoResolve conflicts after import of ISC BIND 8.3.1-REL.
Jacques Vidrine [Mon, 4 Feb 2002 19:15:33 +0000 (19:15 +0000)]
Resolve conflicts after import of ISC BIND 8.3.1-REL.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90209,
Jacques Vidrine [Mon, 4 Feb 2002 19:12:46 +0000 (19:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90209,
which included commits to RCS files with non-trunk default branches.

22 years agoImport of ISC BIND 8.3.1-REL.
Jacques Vidrine [Mon, 4 Feb 2002 19:12:46 +0000 (19:12 +0000)]
Import of ISC BIND 8.3.1-REL.

22 years agoChange EPERM to EOPNOTSUPP when failing pseudofs_setattr() arbitrarily.
Robert Watson [Mon, 4 Feb 2002 18:21:59 +0000 (18:21 +0000)]
Change EPERM to EOPNOTSUPP when failing pseudofs_setattr() arbitrarily.

Quoth the alfred: The latter would be better.

22 years agoReturn EPERM instead of 0 in the un-implemented pseudofs_setattr().
Robert Watson [Mon, 4 Feb 2002 18:09:29 +0000 (18:09 +0000)]
Return EPERM instead of 0 in the un-implemented pseudofs_setattr().
Conceivably, it should even return EOPNOTSUPP.

22 years agoExplicitly declare (gcc internal) functions.
Mark Murray [Mon, 4 Feb 2002 17:59:25 +0000 (17:59 +0000)]
Explicitly declare (gcc internal) functions.

Submitted by: ru

22 years agoo Scatter vn_start_write() and vn_finished_write() through ACL code so
Robert Watson [Mon, 4 Feb 2002 17:58:15 +0000 (17:58 +0000)]
o Scatter vn_start_write() and vn_finished_write() through ACL code so
  that it interacts properly with snapshotting.

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

22 years agoNew release notes: ngctl(8) write, ps(1) -W deorbit burn.
Bruce A. Mah [Mon, 4 Feb 2002 17:50:01 +0000 (17:50 +0000)]
New release notes:  ngctl(8) write, ps(1) -W deorbit burn.

MFCs noted:  dumpdev loader tunable.

22 years agoCorrected an argument to in6_pcbnotify().
Hajimu UMEMOTO [Mon, 4 Feb 2002 17:40:36 +0000 (17:40 +0000)]
Corrected an argument to in6_pcbnotify().

Obtained from: KAME
MFC after: 1 week

22 years agoIn tcp_respond(), correctly reset returned IPv6 header. This is essential
Hajimu UMEMOTO [Mon, 4 Feb 2002 17:37:06 +0000 (17:37 +0000)]
In tcp_respond(), correctly reset returned IPv6 header.  This is essential
when the original packet contains an IPv6 extension header.

Obtained from: KAME
MFC after: 1 week

22 years agoTwo updates from ISO 639-2/RA Change Notice, dated 2001-08-13 and
Garrett Wollman [Mon, 4 Feb 2002 17:35:33 +0000 (17:35 +0000)]
Two updates from ISO 639-2/RA Change Notice, dated 2001-08-13 and
2001-09-24.

Obtained from: ISO 639-2/RA, <http://lcweb.loc.gov/standards/iso639-2/>
MFC after: 1 day

22 years agoUpdate alpha-3 code for Romania.
Garrett Wollman [Mon, 4 Feb 2002 17:29:14 +0000 (17:29 +0000)]
Update alpha-3 code for Romania.

PR: 34608
Submitted by: Laurent Wacrenier <lwa@victor.teaser.fr>
Obtained from: ISO 3166/MA Newsletter V-3
MFC after: 1 day

22 years agossh_get_authentication_connection() gets its parameters from environment
Dag-Erling Smørgrav [Mon, 4 Feb 2002 17:15:44 +0000 (17:15 +0000)]
ssh_get_authentication_connection() gets its parameters from environment
variables, so temporarily switch to the PAM environment before calling it.

Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>

22 years agoI missed adding a file that was needed on the Alpha (and will be needed
David E. O'Brien [Mon, 4 Feb 2002 17:06:30 +0000 (17:06 +0000)]
I missed adding a file that was needed on the Alpha (and will be needed
on x86_64 also.

Submitted by: ru

22 years agoBack out the "upgrading" of NBBY to unsigned, as it exposes
Mark Murray [Mon, 4 Feb 2002 16:42:44 +0000 (16:42 +0000)]
Back out the "upgrading" of NBBY to unsigned, as it exposes
bugs elsewhere, and also is well understood as a signed quantity.

22 years agoNote that Kirk apparently missed adding vn_start_write() and friends
Robert Watson [Mon, 4 Feb 2002 16:41:59 +0000 (16:41 +0000)]
Note that Kirk apparently missed adding vn_start_write() and friends
to kern_acl.c when he added snapshotting.  This will need to be added
at some point.

22 years agoNew release note: Linux emulation needs SYSVSEM.
Bruce A. Mah [Mon, 4 Feb 2002 16:31:38 +0000 (16:31 +0000)]
New release note:  Linux emulation needs SYSVSEM.

Submitted by: archie

22 years ago* fix some warnings
Alexey Zelkin [Mon, 4 Feb 2002 16:17:19 +0000 (16:17 +0000)]
* fix some warnings
* set WARNS
* few style/whitespace fixes

Submitted by: ru

22 years agoProtect "make buildworld" against -Werror, as this module does not
Mark Murray [Mon, 4 Feb 2002 16:09:25 +0000 (16:09 +0000)]
Protect "make buildworld" against -Werror, as this module does not
build cleanly.

22 years agoDefault debugging to OFF now.
Warner Losh [Mon, 4 Feb 2002 15:55:21 +0000 (15:55 +0000)]
Default debugging to OFF now.

22 years ago(null delta)
Sheldon Hearn [Mon, 4 Feb 2002 15:12:52 +0000 (15:12 +0000)]
(null delta)

The previous delta added the 'smmsp' user, not 'smmp'.

22 years agoAdd the MTA users 'mailnull' and 'smmp'.
Sheldon Hearn [Mon, 4 Feb 2002 15:12:06 +0000 (15:12 +0000)]
Add the MTA users 'mailnull' and 'smmp'.

PR: conf/34535
Submitted by: Ceri <setantae@submonkey.net>
MFC after: 1 week

22 years agoSupported C-NET(98)P2 PnP mode.
Yoshihiro Takahashi [Mon, 4 Feb 2002 14:01:27 +0000 (14:01 +0000)]
Supported C-NET(98)P2 PnP mode.

Submitted by: "Hirokazu WATANABE" <gwna@geocities.co.jp>
MFC after: 3 days

22 years agodescribe localeck
Alexey Zelkin [Mon, 4 Feb 2002 14:00:29 +0000 (14:00 +0000)]
describe localeck
plus some capitalization/whitespace fixes

22 years agoAdd simple diagnostic utility to checking for invalid/incomplete
Alexey Zelkin [Mon, 4 Feb 2002 13:59:16 +0000 (13:59 +0000)]
Add simple diagnostic utility to checking for invalid/incomplete
locales

22 years agoUse MACHINE_ARCH instead of MACHINE to check i386 arch.
Yoshihiro Takahashi [Mon, 4 Feb 2002 12:50:52 +0000 (12:50 +0000)]
Use MACHINE_ARCH instead of MACHINE to check i386 arch.

MFC after: 3 days

22 years ago(forced)
Maxim Sobolev [Mon, 4 Feb 2002 10:44:15 +0000 (10:44 +0000)]
(forced)

Previous commit (ldd on shlibs) is a subject of:

MFC after: 2 weeks

22 years agoAllow ldd(1) be used on shared libraries in addition to executables.
Maxim Sobolev [Mon, 4 Feb 2002 10:33:48 +0000 (10:33 +0000)]
Allow ldd(1) be used on shared libraries in addition to executables.

22 years agoGC meaningless assignment.
Maxim Sobolev [Mon, 4 Feb 2002 10:23:23 +0000 (10:23 +0000)]
GC meaningless assignment.

MFC after: 3 days

22 years agoAdd -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) would
Mike Barcroft [Mon, 4 Feb 2002 07:26:21 +0000 (07:26 +0000)]
Add -L option (SUSv3) to pwd(1).  Fix a bug, where realpath(1) would
complain about paths starting with `-', by not calling getopt(3).

Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
Obtained from: NetBSD (partially)
MFC after: 1 month

22 years agoRemove mbuf exhaustion warning messages; these are handled by the
Mike Silbersack [Mon, 4 Feb 2002 03:15:27 +0000 (03:15 +0000)]
Remove mbuf exhaustion warning messages; these are handled by the
mbuf system in a rate-limited fashion now.

Reviewed by: luigi
MFC after: 1 week

22 years agoCorrect inadvertent style botches in previous commit.
Kris Kennaway [Mon, 4 Feb 2002 03:06:51 +0000 (03:06 +0000)]
Correct inadvertent style botches in previous commit.

22 years agoLock down with WFORMAT=1 except those directories with unfixed warnings.
Kris Kennaway [Mon, 4 Feb 2002 02:49:19 +0000 (02:49 +0000)]
Lock down with WFORMAT=1 except those directories with unfixed warnings.
Tested on i386 and alpha.

22 years agoSilence some WFORMAT=1 warnings
Kris Kennaway [Mon, 4 Feb 2002 02:37:09 +0000 (02:37 +0000)]
Silence some WFORMAT=1 warnings

22 years agoLock down with WFORMAT?=1, with overrides in the subdirectories which
Kris Kennaway [Mon, 4 Feb 2002 02:33:51 +0000 (02:33 +0000)]
Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean.  Tested on i386 and alpha.

22 years agoMark a function as __printflike()
Kris Kennaway [Mon, 4 Feb 2002 02:12:49 +0000 (02:12 +0000)]
Mark a function as __printflike()

MFC after: 1 week

22 years agoMark a function as __printflike()
Kris Kennaway [Mon, 4 Feb 2002 01:41:35 +0000 (01:41 +0000)]
Mark a function as __printflike()

MFC after: 1 week

22 years agoMark a function as __printf0like(). This exposes a warning which requires
Kris Kennaway [Mon, 4 Feb 2002 01:37:59 +0000 (01:37 +0000)]
Mark a function as __printf0like().  This exposes a warning which requires
some code changes to fix but should be possible.

MFC after: 1 week

22 years agoPrototype a function as __printflike() to avoid a FORMAT_AUDIT warning.
Kris Kennaway [Mon, 4 Feb 2002 01:34:52 +0000 (01:34 +0000)]
Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.

MFC after: 1 week

22 years agoMark report() as printflike and fix resulting warnings, including one bug
Kris Kennaway [Mon, 4 Feb 2002 01:28:45 +0000 (01:28 +0000)]
Mark report() as printflike and fix resulting warnings, including one bug
(get_errmsg -> get_errmsg())

22 years agoSilence some FORMAT_AUDIT warnings (one left)
Kris Kennaway [Mon, 4 Feb 2002 01:23:44 +0000 (01:23 +0000)]
Silence some FORMAT_AUDIT warnings (one left)

22 years ago__printflike() should really be __printf0like() since verrx() can
Kris Kennaway [Mon, 4 Feb 2002 01:11:48 +0000 (01:11 +0000)]
__printflike() should really be __printf0like() since verrx() can
accept a NULL format string.

22 years agoAdd a __printflike() attribute to silence warning with FORMAT_AUDIT=1
Kris Kennaway [Mon, 4 Feb 2002 01:07:07 +0000 (01:07 +0000)]
Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1

22 years agoAdd the other half of the salt-generating code. No functional
Mark Murray [Mon, 4 Feb 2002 00:28:54 +0000 (00:28 +0000)]
Add the other half of the salt-generating code. No functional
difference except that the salt is slightly harder to build
dictionaries against, and the code does not use srandom[dev]().

22 years agoForced commit.
Mark Murray [Sun, 3 Feb 2002 22:42:46 +0000 (22:42 +0000)]
Forced commit.

Previous commit included a large improvement to the salt generation to
help obfuscate information that is otherwise leaked. No real risks
involved, but this feels better, and does not use srandom[dev]().

22 years agoUse __FBSDID() and clean up the vendor tags.
Mark Murray [Sun, 3 Feb 2002 20:55:54 +0000 (20:55 +0000)]
Use __FBSDID() and clean up the vendor tags.

22 years agoWARNS=4 fixes, plus a healthy dose of fixes inspired by lint.
Mark Murray [Sun, 3 Feb 2002 19:11:32 +0000 (19:11 +0000)]
WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.

22 years agoFollow NetBSD and ANSIfy the function definitions.
Josef Karthauser [Sun, 3 Feb 2002 17:03:34 +0000 (17:03 +0000)]
Follow NetBSD and ANSIfy the function definitions.
Remove trailing whitespaces (submitted to NetBSD).

22 years agoo Eliminate __P
Warner Losh [Sun, 3 Feb 2002 15:53:02 +0000 (15:53 +0000)]
o Eliminate __P
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register

22 years agoTurn on fascist warning mode.
Mark Murray [Sun, 3 Feb 2002 15:51:52 +0000 (15:51 +0000)]
Turn on fascist warning mode.

22 years agoWARNS fix. Zap an unused variable.
Mark Murray [Sun, 3 Feb 2002 15:50:05 +0000 (15:50 +0000)]
WARNS fix. Zap an unused variable.

22 years agoWARNS=n fixes (and some stylistic issues).
Mark Murray [Sun, 3 Feb 2002 15:17:57 +0000 (15:17 +0000)]
WARNS=n fixes (and some stylistic issues).

22 years agoWARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra
Mark Murray [Sun, 3 Feb 2002 14:43:04 +0000 (14:43 +0000)]
WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra
cleanup courtesy of automatic checking (lint).

22 years agoWARNS-n and lint(1) silencer. Declare (const) strings properly as
Mark Murray [Sun, 3 Feb 2002 12:00:05 +0000 (12:00 +0000)]
WARNS-n and lint(1) silencer. Declare (const) strings properly as
'const char *'.

22 years agoWARNS=n and lint(1) silencer. Declare an array of (const) strings
Mark Murray [Sun, 3 Feb 2002 11:57:32 +0000 (11:57 +0000)]
WARNS=n and lint(1) silencer. Declare an array of (const) strings
as const char.

22 years agoZero functional difference; make some integer constants unsigned, as
Mark Murray [Sun, 3 Feb 2002 11:36:59 +0000 (11:36 +0000)]
Zero functional difference; make some integer constants unsigned, as
they are used in unsigned context. This shuts lint(1) up in a few
significant ways with "signed/unsigned" arithmetic warnings.

22 years agoMake the style a little bit more consistant by removing parameter
Mark Murray [Sun, 3 Feb 2002 11:21:22 +0000 (11:21 +0000)]
Make the style a little bit more consistant by removing parameter
names from some prototypes. (Other prototypes here already have
these removed).

22 years agoWork around a buffer overflow problem on argv that has been exposed
Akinori MUSHA [Sun, 3 Feb 2002 10:01:49 +0000 (10:01 +0000)]
Work around a buffer overflow problem on argv that has been exposed
after making test(1) a sh(1) builtin; sh(1) coredumps when you run
something like this:

sh -c 'test ! `true 1`'

The cause is that the test(1) code totally depends on the presence of
two extra cells at the end of argv that are filled with NULL's.  The
reason why the bug hasn't been exposed would be because the C startup
code kindly prepares argv with some extra zeroed cells for a program.

I know this is not the best fix, but since there are argv++'s without
boundary checks everywhere, I'd rather patch it up like this
(preparing a copy of argv with extra NULL's) for the moment.

MFC after: 3 days

22 years agoUse osigreturn(2) instead of sigreturn(2) plus broken magic for returning
Bruce Evans [Sun, 3 Feb 2002 09:13:58 +0000 (09:13 +0000)]
Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning
from old signal handlers.  This is simpler and faster, and fixes (new)
sigreturn(2) when %eip in the new signal context happens to match the
magic value (0x1d516).  0x1d516 is below the default ELF text section,
so this probably never broken anything in practice.

locore.s:
In addition, don't build the signal trampoline for old signal handlers
when it is not used.

alpha:
Not fixed, but seems to be even less broken in practice due to more
advanced magic. A false match occurs for register #32 in mc_regs[].
Since there is no hardware register #32, a false match is only possible
for direct calls to sigreturn(2) that happen to have the magic number
in the spare mc_regs[32] field.

22 years agoUse new ID scheme.
Mike Barcroft [Sun, 3 Feb 2002 07:35:32 +0000 (07:35 +0000)]
Use new ID scheme.

Fix a bug that caused .br domains to be queried twice, by only
recursively following ARIN referrals when querying ARIN.

PR: 34291
MFC after: 7 days

22 years agoChange variable name from DOCDISTFILES to RELEASEDISTFILES. Respect
Makoto Matsushita [Sun, 3 Feb 2002 07:00:37 +0000 (07:00 +0000)]
Change variable name from DOCDISTFILES to RELEASEDISTFILES.  Respect
DOCDISTFILES if defined.  No impact should happen with this change.

DOCDISTFILES is introduced by rev. 1.541, to point the directory that
contains the distfiles for ports/textproc/docproj.  It's good, but
we also build ports/sysutils/mkisofs during the release (if MAKE_ISOS
is defined).  It is natural that cdrtools tarball is prefetched, then
copy it under ${CHROOTDIR}/usr/ports/distfiles.

As a result, DOCDISTFILES variable is somewhat abused for non-doc
tarballs; *DOC*DISTFILES is no longger appropriate name for that.

PR: 16843
PR: 34194
Submitted by: murray
MFC after: 6 days

22 years agoImprove the change in the previous commit: use a stub for osigreturn()
Bruce Evans [Sun, 3 Feb 2002 04:09:02 +0000 (04:09 +0000)]
Improve the change in the previous commit: use a stub for osigreturn()
when it is not really used instead of unconditionalizing all of it.

22 years agoUse a more correct method of copying entire ACLs (fixes
Chris D. Faulhaber [Sun, 3 Feb 2002 02:37:43 +0000 (02:37 +0000)]
Use a more correct method of copying entire ACLs (fixes
operation under Linux).

22 years agoRegenerate.
Josef Karthauser [Sat, 2 Feb 2002 21:12:22 +0000 (21:12 +0000)]
Regenerate.

22 years agoUpdate comments and product identifiers so that they're the same
Josef Karthauser [Sat, 2 Feb 2002 21:09:54 +0000 (21:09 +0000)]
Update comments and product identifiers so that they're the same
as NetBSD's definitions.

22 years agoAdd some missing usb vendors (from NetBSD).
Josef Karthauser [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.
Josef Karthauser [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
Dag-Erling Smørgrav [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'.
Bruce Evans [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
Bruce Evans [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'
Bruce Evans [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.
Warner Losh [Sat, 2 Feb 2002 07:10:02 +0000 (07:10 +0000)]
Fix unused variable.

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

22 years agoOoops, forgot to remove the registers here.
Warner Losh [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.
Warner Losh [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
Warner Losh [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
Warner Losh [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
Warner Losh [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
Warner Losh [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*:
Warner Losh [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)