dragonfly.git
14 years agoAdd comment that Rev.3 Linksys EG1032 is handled by re(4)
Sepherosa Ziehau [Mon, 16 Oct 2006 14:22:38 +0000 (14:22 +0000)]
Add comment that Rev.3 Linksys EG1032 is handled by re(4)

14 years agoAdd support for Linksys EG1032 rev.3 GigE
Sepherosa Ziehau [Mon, 16 Oct 2006 14:15:51 +0000 (14:15 +0000)]
Add support for Linksys EG1032 rev.3 GigE

Obtained-from: FreeBSD (jhb@freebsd.org)

14 years agosk(4) only supports Rev.2 of Linksys EG1032 GigE
Sepherosa Ziehau [Mon, 16 Oct 2006 14:12:34 +0000 (14:12 +0000)]
sk(4) only supports Rev.2 of Linksys EG1032 GigE

Obtained-from: FreeBSD (jhb@freebsd.org)

14 years ago- Use RE_RX_LIST_SIZE instead of RE_TX_LIST_SIZE while dealing with
Sepherosa Ziehau [Mon, 16 Oct 2006 13:32:02 +0000 (13:32 +0000)]
- Use RE_RX_LIST_SIZE instead of RE_TX_LIST_SIZE while dealing with
  RX DMA stuffs, though current RE_RX_LIST_SIZE == RE_TX_LIST_SIZE
  Obtained-from: FreeBSD (jmg@freebsd.org)
- Use BUS_DMASYNC_PREWRITE instead of BUS_DMASYNC_PREWRITE|BUS_DMASYNC_PREREAD,
  the latter does not apply to DragonFly

14 years agoAdd support Corega CG-LAPCIGT Gigabit Ethernet(8169S)
Sepherosa Ziehau [Mon, 16 Oct 2006 13:19:08 +0000 (13:19 +0000)]
Add support Corega CG-LAPCIGT Gigabit Ethernet(8169S)

Obtained-from: FreeBSD

14 years agoregen
Sepherosa Ziehau [Mon, 16 Oct 2006 13:13:44 +0000 (13:13 +0000)]
regen

14 years agoAdd device id for Corega CG-LAPCIGT (8169S)
Sepherosa Ziehau [Mon, 16 Oct 2006 13:12:52 +0000 (13:12 +0000)]
Add device id for Corega CG-LAPCIGT (8169S)

14 years agoRemove old, outdated headers
Simon Schubert [Mon, 16 Oct 2006 11:55:01 +0000 (11:55 +0000)]
Remove old, outdated headers

14 years agoWARNS6 cleanups.
Peter Avalos [Mon, 16 Oct 2006 00:15:35 +0000 (00:15 +0000)]
WARNS6 cleanups.

Add static and const where appropriate.

ANSI function declarations.

Rename variables that shadow variables higher in scope.

14 years ago* s/ports/pkgsrc/
Sascha Wildner [Sun, 15 Oct 2006 00:04:45 +0000 (00:04 +0000)]
* s/ports/pkgsrc/

* Delete references documenting FreeBSD behavior that doesn't
  exist in DragonFly.

* Delete some references to sysctls that no longer exist.

* Fix man page and additional sysinstall references.[1]

Submitted-by: Victor Balada Diaz <victor@bsdes.net>
[1] by me

14 years agoFix references and .Nm abuse.
Sascha Wildner [Sat, 14 Oct 2006 23:59:59 +0000 (23:59 +0000)]
Fix references and .Nm abuse.

14 years agoFix path names.
Sascha Wildner [Sat, 14 Oct 2006 23:46:23 +0000 (23:46 +0000)]
Fix path names.

14 years agoRemove stone age man page checking tools. They don't work anymore
Sascha Wildner [Sat, 14 Oct 2006 23:33:17 +0000 (23:33 +0000)]
Remove stone age man page checking tools. They don't work anymore
and are intended for man pages using the old man macros (of which
we only have a handful anyway).

14 years agoRemove references to device.hints.
Sascha Wildner [Sat, 14 Oct 2006 23:06:42 +0000 (23:06 +0000)]
Remove references to device.hints.

14 years agoRemove inode free race warning messages. These were originally added to
Matthew Dillon [Sat, 14 Oct 2006 16:26:40 +0000 (16:26 +0000)]
Remove inode free race warning messages.  These were originally added to
determine how often an inode free race occured and are no longer needed.
The actual handling of an inode free race is still in place.

14 years agoNever dereference a NULL pointer.
Jeffrey Hsu [Sat, 14 Oct 2006 06:22:08 +0000 (06:22 +0000)]
Never dereference a NULL pointer.

14 years agoAdd fsck's memzone.c to SRCS (needed by inode.c now).
Sascha Wildner [Thu, 12 Oct 2006 18:43:06 +0000 (18:43 +0000)]
Add fsck's memzone.c to SRCS (needed by inode.c now).

Reported-by: Ferruccio Zamuner <nonsolosoft@diff.org>
14 years agoGreatly reduce memory requirements when fsck'ing filesystems with lots
Matthew Dillon [Thu, 12 Oct 2006 04:04:03 +0000 (04:04 +0000)]
Greatly reduce memory requirements when fsck'ing filesystems with lots
of directories (23 million directories in my case), primarily by using
the correct ufs1_ino_t type instead of ino_t.  Use a linear allocator
for these as well to pack the allocations optimally.

14 years agoImplement suspend method and wait for channels to be idle
YONETANI Tomokazu [Thu, 12 Oct 2006 04:02:37 +0000 (04:02 +0000)]
Implement suspend method and wait for channels to be idle
before going to suspended state.

Taken-from: FreeBSD

14 years agoFix missing malloc -> kmalloc conversions.
Jeffrey Hsu [Thu, 12 Oct 2006 01:32:51 +0000 (01:32 +0000)]
Fix missing malloc -> kmalloc conversions.

14 years agoRemove obsolete time zone.
Sascha Wildner [Wed, 11 Oct 2006 13:28:13 +0000 (13:28 +0000)]
Remove obsolete time zone.

14 years agoAdd a manpage stub for ecc(4).
Sascha Wildner [Tue, 10 Oct 2006 21:29:13 +0000 (21:29 +0000)]
Add a manpage stub for ecc(4).

14 years agoAdd a device that attaches to the memory controller. If ECC is enabled in
Matthew Dillon [Tue, 10 Oct 2006 18:31:03 +0000 (18:31 +0000)]
Add a device that attaches to the memory controller.  If ECC is enabled in
the BIOS the device will poll the controller once a second and report
any ECC corrections or uncorrectable errors.

This module is not loaded by default.  To load the module, add the following
line to /boot/loader.conf.  The module can only be loaded at boot-time:

    ecc_load="YES"'

As of this commit, only the AMD64's memory controller is supported.

14 years agoSync zoneinfo database with tzdata2006n from elsie.
Sascha Wildner [Tue, 10 Oct 2006 17:22:50 +0000 (17:22 +0000)]
Sync zoneinfo database with tzdata2006n from elsie.

asia:           8.7 -> 8.8
europe:         8.5 -> 8.6
northamerica:   8.8 -> 8.9
southamerica:   8.4 -> 8.5
zone.tab:       8.4 -> 8.5

This change affects current time stamps:

  Jordan will switch to winter time on October 27, not September 29.
  (Thanks to Hilal Malawi and Steffen Thorsen.)

This change affects only future time stamps:

  Brazil's DST this year is the first Sunday in November to the
  last Sunday in February.  (Thanks to Frederico A. C. Neves.)

This change affects only past time stamps:

  On Sunday Nicaragua switched at 01:00, not 00:00.  (Thanks to
  Jesper Norgaard Welen.)

This change affects other indexing data:

  Serbia has split into two, and now has ISO 3166 codes, so we need a
  new Zone Europe/Podgorica.  (Thanks to Mark Davis.)

14 years agoCorrect a compiler warning from the last commit.
Matthew Dillon [Tue, 10 Oct 2006 17:16:48 +0000 (17:16 +0000)]
Correct a compiler warning from the last commit.

14 years agoNULLFS was not releasing a reference to the root of the underlying
Matthew Dillon [Tue, 10 Oct 2006 16:21:02 +0000 (16:21 +0000)]
NULLFS was not releasing a reference to the root of the underlying
filesystem on unmount, making the underlying filesystem unmountable.

Reported-by: Joerg Sonnenberger
14 years agoAdd two more vmspace_*() system calls to read and write a vmspace. These
Matthew Dillon [Tue, 10 Oct 2006 15:43:16 +0000 (15:43 +0000)]
Add two more vmspace_*() system calls to read and write a vmspace.  These
will be used by the virtual kernel to handle copyin/copyout.  The routines
are just empty wrappers at the moment.

Implement the body for vmspace_mmap() and vmspace_munmap().

14 years agoFix a long-standing bug inherited from FreeBSD. It is possible for a
Matthew Dillon [Tue, 10 Oct 2006 15:40:47 +0000 (15:40 +0000)]
Fix a long-standing bug inherited from FreeBSD.  It is possible for a
signal sent to a process group to race a fork().  If the signal is received
by the process doing the fork() before it finishes hooking up the new child
to the process group the new child will not receive the signal.  The result
is that ^C does not always kill all the processes in the process group.

The problem occurs on UP systems if fork1() in the kernel blocks prior to
finishing the process setup.  Such blocking can occur in MALLOC.  The problem
can also occur if an interrupt occurs just as the process issues the fork()
system call, or on SMP systems where the signal is sent from a different cpu.

The solution is to use a lockmgr() lock to interlock the pgrp structure when
a signal is being sent to a process group and to have fork() check for
signal pre-conditions and return ERESTART if such conditions exist to force
processing of the pending signals.

NOTE!  BMAKE, MAKE, GNUMAKE ALSO HAVE UNRELATED SIGNALING BUGS.  These
programs improperly install a SIG_IGN for a few microseconds in order to
test the current signal function for SIGINT and various other signals.
If a ^C is sent while *MAKE is in this window, the *MAKE will ignore the
signal.

Reviewed-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
14 years agoSet 'error' if we can't get Mac address from Xircom cards, so that caller
Sepherosa Ziehau [Tue, 10 Oct 2006 11:34:55 +0000 (11:34 +0000)]
Set 'error' if we can't get Mac address from Xircom cards, so that caller
of attach() will know that attaching failed.  This avoids panic on double
detach().

Paniced-by: 'Koston' on #EFnet
Reminded-by: swildner@
14 years agoRemove unneeded assignments.
Jeffrey Hsu [Tue, 10 Oct 2006 00:04:10 +0000 (00:04 +0000)]
Remove unneeded assignments.

14 years agoClear up mbuf usage statistics.
Jeffrey Hsu [Mon, 9 Oct 2006 22:30:48 +0000 (22:30 +0000)]
Clear up mbuf usage statistics.

14 years agoRemove trailing whitespace.
Sascha Wildner [Mon, 9 Oct 2006 09:48:08 +0000 (09:48 +0000)]
Remove trailing whitespace.

14 years agoSilence gcc41 warnings.
Peter Avalos [Sun, 8 Oct 2006 17:11:30 +0000 (17:11 +0000)]
Silence gcc41 warnings.

Reported and tested by: swildner

14 years agoMove WARNS6 up into Makefile.inc for games/ and out of the individual
Peter Avalos [Sun, 8 Oct 2006 16:22:36 +0000 (16:22 +0000)]
Move WARNS6 up into Makefile.inc for games/ and out of the individual
Makefiles.

14 years agoUpgrade to less version 394.
Peter Avalos [Sun, 8 Oct 2006 14:52:37 +0000 (14:52 +0000)]
Upgrade to less version 394.

14 years agoAdd our READMEs.
Peter Avalos [Sun, 8 Oct 2006 14:31:47 +0000 (14:31 +0000)]
Add our READMEs.

14 years agoMerge from vendor branch LESS:
Peter Avalos [Sun, 8 Oct 2006 14:06:20 +0000 (14:06 +0000)]
Merge from vendor branch LESS:
Import of less version 394

14 years agoImport of less version 394
Peter Avalos [Sun, 8 Oct 2006 14:06:20 +0000 (14:06 +0000)]
Import of less version 394

14 years agoAdd missing parentheses to fix a segmentation fault that is easily
Simon Schubert [Sun, 8 Oct 2006 09:12:32 +0000 (09:12 +0000)]
Add missing parentheses to fix a segmentation fault that is easily
reproducable with `jot -s " " 400 1 | column -t'. The bug was present
in the the original CSRG 'column -t' added in 1989.

Obtained-from: FreeBSD/iedowse
Submitted-by: Xin LI <delphij@delphij.net>
14 years agoSync zoneinfo database with tzdata2006m from elsie.
Sascha Wildner [Sun, 8 Oct 2006 08:56:37 +0000 (08:56 +0000)]
Sync zoneinfo database with tzdata2006m from elsie.

Theory:         7.19 -> 8.1
africa:         7.40 -> 8.5
antarctica:     7.30 -> 8.2
asia:           7.90 -> 8.7
australasia:    7.78 -> 8.3
backward:       7.30 -> 8.2
etcetera:       7.12 -> 8.1
europe:         7.96 -> 8.5
factory:        7.3  -> 8.1
leapseconds:    7.20 -> 8.1
northamerica:   7.87 -> 8.8
southamerica:   7.66 -> 8.4
systemv:        7.5  -> 8.1
yearistype.sh:  7.8  -> 8.2
zone.tab:       1.32 -> 8.4

14 years agoSerializer is already held before calling rl_watchdog().
Sepherosa Ziehau [Sat, 7 Oct 2006 02:57:30 +0000 (02:57 +0000)]
Serializer is already held before calling rl_watchdog().

Reported-by: swildner@
14 years agoEnsure that exit_group actually returns a sane value, not some random
Joerg Sonnenberger [Fri, 6 Oct 2006 13:40:40 +0000 (13:40 +0000)]
Ensure that exit_group actually returns a sane value, not some random
bytes from the stack. Fixes Linux ldconfig.

MFC: After 3 days.

14 years agoFix typo in comment.
Sascha Wildner [Fri, 6 Oct 2006 13:08:45 +0000 (13:08 +0000)]
Fix typo in comment.

14 years ago1) Document the new statistics report settings.
Sascha Wildner [Thu, 5 Oct 2006 04:04:31 +0000 (04:04 +0000)]
1) Document the new statistics report settings.

2) Sync the manpage and default periodic.conf with the current
   state of affairs.

14 years agoAdd Marc's monthly statistics script to DragonFly's base dist. These
Matthew Dillon [Wed, 4 Oct 2006 21:39:23 +0000 (21:39 +0000)]
Add Marc's monthly statistics script to DragonFly's base dist.  These
scripts report basic non-identifying OS info to a BSD community site on
the internet.

These scripts are DISABLED by default.  To enable, add the following
lines to your /etc/periodic.conf file:

monthly_statistics_enable="YES"
monthly_statistics_report_devices="YES"

Submitted-by: "Marc G. Fournier" <scrappy@freebsd.org>
14 years agoDo not temporarily set signals to SIG_IGN when polling whether the parent
Matthew Dillon [Wed, 4 Oct 2006 20:13:53 +0000 (20:13 +0000)]
Do not temporarily set signals to SIG_IGN when polling whether the parent
set them up as ignored signals or not.  This can result in ^C not being
properly recognized for a short period of time.

Reported-by: Victor Balada Diaz <victor@bsdes.net>
14 years agoFix a bug where mmap()ing a revoked descriptor caused a kernel panic on a
Matthew Dillon [Wed, 4 Oct 2006 18:28:32 +0000 (18:28 +0000)]
Fix a bug where mmap()ing a revoked descriptor caused a kernel panic on a
NULL pointer.

Reported-by: walt <wa1ter@myrealbox.com>
14 years agoFix pathnames for gcc41
Simon Schubert [Wed, 4 Oct 2006 13:18:57 +0000 (13:18 +0000)]
Fix pathnames for gcc41

Reminded-by: sephe
14 years agoBorrow the code from test/pcpu/cpustat.c to display per-cpu load average on SMP machines.
YONETANI Tomokazu [Tue, 3 Oct 2006 12:20:11 +0000 (12:20 +0000)]
Borrow the code from test/pcpu/cpustat.c to display per-cpu load average on SMP machines.

14 years agoUse .Dx
Sascha Wildner [Tue, 3 Oct 2006 10:21:40 +0000 (10:21 +0000)]
Use .Dx

14 years agoRemove obsolete disk size check.
Sascha Wildner [Tue, 3 Oct 2006 01:32:41 +0000 (01:32 +0000)]
Remove obsolete disk size check.

Pointed-out-by: joerg
Tested-by: Bryan Berch <dfbsd@winbeam.com>
14 years agoNO_PKGTOOLS doesn't exist anymore
Simon Schubert [Mon, 2 Oct 2006 19:30:19 +0000 (19:30 +0000)]
NO_PKGTOOLS doesn't exist anymore

14 years agoUnhook the old ports tools from the build
Simon Schubert [Mon, 2 Oct 2006 19:15:25 +0000 (19:15 +0000)]
Unhook the old ports tools from the build

14 years agoMake xlint work with gcc3+
Simon Schubert [Mon, 2 Oct 2006 13:26:40 +0000 (13:26 +0000)]
Make xlint work with gcc3+

Submited-by: Bill Marquette <bill.marquette@gmail.com>
Fixes: issue277

14 years agoRegen.
Sascha Wildner [Sun, 1 Oct 2006 18:38:55 +0000 (18:38 +0000)]
Regen.

Hart:    2006-09-04 (version 612)
Boemler: 2006-10-01

14 years agoFix name collision on C++.
Victor Balada Diaz [Sun, 1 Oct 2006 12:09:29 +0000 (12:09 +0000)]
Fix name collision on C++.

Submitted-By: Pavlin Radoslavov <pavlin@icir.org>
14 years agoCombine two allocations into one.
Jeffrey Hsu [Sun, 1 Oct 2006 03:09:14 +0000 (03:09 +0000)]
Combine two allocations into one.

14 years agoFix redefinition of M_IPMADDR malloc type.
Sascha Wildner [Sat, 30 Sep 2006 22:38:21 +0000 (22:38 +0000)]
Fix redefinition of M_IPMADDR malloc type.

14 years agoRemove unneccessary MALLOC_DECLARE (declared static in kern_exit.c).
Sascha Wildner [Sat, 30 Sep 2006 22:14:31 +0000 (22:14 +0000)]
Remove unneccessary MALLOC_DECLARE (declared static in kern_exit.c).

14 years agoDe-staticize (previously declared extern).
Sascha Wildner [Sat, 30 Sep 2006 22:06:04 +0000 (22:06 +0000)]
De-staticize (previously declared extern).

14 years agoAdd missing header for struct pcb.
Sascha Wildner [Sat, 30 Sep 2006 21:28:43 +0000 (21:28 +0000)]
Add missing header for struct pcb.

14 years agoRearrange stuff a bit to satisfy GCC 4.1.
Sascha Wildner [Sat, 30 Sep 2006 21:23:28 +0000 (21:23 +0000)]
Rearrange stuff a bit to satisfy GCC 4.1.

14 years agoRemove wrong redeclarations.
Sascha Wildner [Sat, 30 Sep 2006 21:10:19 +0000 (21:10 +0000)]
Remove wrong redeclarations.

14 years agoAvoid casts as lvalues.
Sascha Wildner [Sat, 30 Sep 2006 20:23:05 +0000 (20:23 +0000)]
Avoid casts as lvalues.

Taken-from: FreeBSD

14 years agoRemove incorrect extern declarations for stuff that is already
Sascha Wildner [Sat, 30 Sep 2006 20:03:44 +0000 (20:03 +0000)]
Remove incorrect extern declarations for stuff that is already
declared static.

14 years agoGCC 4.1 also needs memset() in a freestanding environment.
Sascha Wildner [Sat, 30 Sep 2006 19:25:13 +0000 (19:25 +0000)]
GCC 4.1 also needs memset() in a freestanding environment.

Submitted-by: corecode
14 years agoMark the static abi tag variable used, so gcc41 doesn't optimize it away
Simon Schubert [Sat, 30 Sep 2006 18:07:04 +0000 (18:07 +0000)]
Mark the static abi tag variable used, so gcc41 doesn't optimize it away

Reported-by: swildner et al.
14 years agoFix typo.
Sascha Wildner [Sat, 30 Sep 2006 16:32:38 +0000 (16:32 +0000)]
Fix typo.

14 years agoAlways zero out vpp, like the nresolve compat code expects
Simon Schubert [Sat, 30 Sep 2006 00:20:27 +0000 (00:20 +0000)]
Always zero out vpp, like the nresolve compat code expects

Reported-by: Rumcic
14 years agoFix smb panic, td might be NULL
Simon Schubert [Sat, 30 Sep 2006 00:18:25 +0000 (00:18 +0000)]
Fix smb panic, td might be NULL

Reported-by: Rumcic
14 years agoDelete unused bind version.
Victor Balada Diaz [Fri, 29 Sep 2006 16:50:07 +0000 (16:50 +0000)]
Delete unused bind version.

14 years agoUnbreak world build by including a now required header
Simon Schubert [Fri, 29 Sep 2006 06:35:03 +0000 (06:35 +0000)]
Unbreak world build by including a now required header

14 years agoWe're guaranteed m_pkthdr.fw_flags is already zero on allocation.
Jeffrey Hsu [Fri, 29 Sep 2006 04:16:39 +0000 (04:16 +0000)]
We're guaranteed m_pkthdr.fw_flags is already zero on allocation.

14 years agoExplicitly mark places in the IPv6 code that require a contiguous buffer.
Jeffrey Hsu [Fri, 29 Sep 2006 03:37:04 +0000 (03:37 +0000)]
Explicitly mark places in the IPv6 code that require a contiguous buffer.

Clear up confusion with inequalities and missing frees in error cases.

Combine two separate memory allocations into one single allocation
from the object cache.

14 years agoFix most compiler warnings. The last warnings at WARNS6 will need to be
Peter Avalos [Thu, 28 Sep 2006 22:29:44 +0000 (22:29 +0000)]
Fix most compiler warnings.  The last warnings at WARNS6 will need to be
fixed in usr.bin/printf.

Remove nested externs.

Rename local variables shadowing globals.

Some changes taken from NetBSD.

14 years agoUpdate README.DELETED
Simon Schubert [Thu, 28 Sep 2006 18:50:30 +0000 (18:50 +0000)]
Update README.DELETED

14 years agoMerge from vendor branch OPENSSH:
Simon Schubert [Thu, 28 Sep 2006 18:49:49 +0000 (18:49 +0000)]
Merge from vendor branch OPENSSH:
Import erroneously removed header from OpenSSH-4.4p1

14 years agoImport erroneously removed header from OpenSSH-4.4p1
Simon Schubert [Thu, 28 Sep 2006 18:49:49 +0000 (18:49 +0000)]
Import erroneously removed header from OpenSSH-4.4p1

14 years agoUpdate build infrastructure for openssh-4.4p1
Simon Schubert [Thu, 28 Sep 2006 18:42:50 +0000 (18:42 +0000)]
Update build infrastructure for openssh-4.4p1

14 years agoUpdate our READMEs
Simon Schubert [Thu, 28 Sep 2006 18:41:32 +0000 (18:41 +0000)]
Update our READMEs

14 years agoImport stripped down sources of OpenSSH-4.4p1
Simon Schubert [Thu, 28 Sep 2006 18:38:21 +0000 (18:38 +0000)]
Import stripped down sources of OpenSSH-4.4p1

14 years agoMerge from vendor branch OPENSSH:
Simon Schubert [Thu, 28 Sep 2006 18:38:21 +0000 (18:38 +0000)]
Merge from vendor branch OPENSSH:
Import stripped down sources of OpenSSH-4.4p1

14 years agoUpdate strtonum(3) to the latest OpenBSD version, which uses long long's
Simon Schubert [Thu, 28 Sep 2006 17:20:45 +0000 (17:20 +0000)]
Update strtonum(3) to the latest OpenBSD version, which uses long long's
instead of unsigned long long's.

Noticed-by: OpenSSH openbsd-portable regression test suite
14 years agoThe "is_eof" commit made this WARNS 3.
Peter Avalos [Thu, 28 Sep 2006 04:24:05 +0000 (04:24 +0000)]
The "is_eof" commit made this WARNS 3.

14 years agoFix compiler warnings by creating a new macro "is_eof" that does the PEOF
Peter Avalos [Thu, 28 Sep 2006 04:19:40 +0000 (04:19 +0000)]
Fix compiler warnings by creating a new macro "is_eof" that does the PEOF
comparison, and don't use it if the character comes from a string.  Taken
from FreeBSD.

14 years agoRemove WARNS since it's in ../Makefile.inc.
Peter Avalos [Thu, 28 Sep 2006 03:46:03 +0000 (03:46 +0000)]
Remove WARNS since it's in ../Makefile.inc.

14 years agoGrammer fixes taken from OpenBSD.
Peter Avalos [Wed, 27 Sep 2006 21:58:08 +0000 (21:58 +0000)]
Grammer fixes taken from OpenBSD.

14 years agoRemove crufty build options that are not relevant.
Peter Avalos [Wed, 27 Sep 2006 19:18:00 +0000 (19:18 +0000)]
Remove crufty build options that are not relevant.

14 years agoWelcome the build infrastructure for gcc41
Simon Schubert [Wed, 27 Sep 2006 12:10:35 +0000 (12:10 +0000)]
Welcome the build infrastructure for gcc41

14 years agoAdd our READMEs
Simon Schubert [Wed, 27 Sep 2006 10:27:33 +0000 (10:27 +0000)]
Add our READMEs

14 years agoMerge from vendor branch GCC:
Simon Schubert [Wed, 27 Sep 2006 10:25:53 +0000 (10:25 +0000)]
Merge from vendor branch GCC:
Import a stripped down version of gcc-4.1.1

14 years agoImport a stripped down version of gcc-4.1.1
Simon Schubert [Wed, 27 Sep 2006 10:25:53 +0000 (10:25 +0000)]
Import a stripped down version of gcc-4.1.1

14 years agoRun trimdir in a subshell so that our cwd doesn't change under us
Simon Schubert [Wed, 27 Sep 2006 10:24:15 +0000 (10:24 +0000)]
Run trimdir in a subshell so that our cwd doesn't change under us

14 years agoFollow up to kern_conf.c 1.16. We can't just ignore the ops comparison, it
Matthew Dillon [Tue, 26 Sep 2006 18:57:14 +0000 (18:57 +0000)]
Follow up to kern_conf.c 1.16.  We can't just ignore the ops comparison, it
is needed to keep user-invisible devices user-invisible.  Add a flag so
hashdev() knows when it can ignore the comparison and when it can't ignore
the comparison.

14 years agoFix a bug in the device intercept code used by /dev/console. The
Matthew Dillon [Tue, 26 Sep 2006 18:15:28 +0000 (18:15 +0000)]
Fix a bug in the device intercept code used by /dev/console.  The
bug caused device opens on the underlying device to create a new
device instead of using the console intercept, causing make_dev
warnings and preventing getty from operating properly on the console.

Reported-by: "Frank W. Josellis" <frank@dynamical-systems.org>
14 years agoFix an off-by-one error. Track #1 is index 0 in the TOC buffer.
Matthew Dillon [Tue, 26 Sep 2006 17:32:09 +0000 (17:32 +0000)]
Fix an off-by-one error.  Track #1 is index 0 in the TOC buffer.

Submitted-by: "Ben Woolley" <tautolog@gmail.com>
14 years agoAlways warn about identical target and source. Nevertheless, don't treat
Simon Schubert [Mon, 25 Sep 2006 09:27:21 +0000 (09:27 +0000)]
Always warn about identical target and source.  Nevertheless, don't treat
it as a failure when -f is specified.

14 years agoDon't unlink the target if the source and target are the same file. Instead,
Simon Schubert [Sun, 24 Sep 2006 21:28:13 +0000 (21:28 +0000)]
Don't unlink the target if the source and target are the same file.  Instead,
complain unless -f is given.

Add a comment about the inverted nomenclature within the source
wrt target and source.

14 years agoTry to clean up any remaining filesystem references when rebooting. Clean
Matthew Dillon [Sun, 24 Sep 2006 19:43:55 +0000 (19:43 +0000)]
Try to clean up any remaining filesystem references when rebooting.  Clean
up references made by the process calling reboot(), the proc0 template,
the init process, and by the VFS subsystem.

14 years agoMake bsdtar our default tar. GNU tar is still installed as gtar, and can
Peter Avalos [Sat, 23 Sep 2006 20:31:45 +0000 (20:31 +0000)]
Make bsdtar our default tar.  GNU tar is still installed as gtar, and can
be "tar" by using WITH_GTAR in make.conf.

Discussed on: users