dragonfly.git
14 years agoSweep-fix man page section order to match mdoc(7), part 1/5.
Sascha Wildner [Fri, 17 Feb 2006 19:33:33 +0000 (19:33 +0000)]
Sweep-fix man page section order to match mdoc(7), part 1/5.

Note: I haven't touched the few man pages that are still using
      the old man(7) macros. They will be converted to mdoc later.

14 years agoMake the entire BUF/BIO system BIO-centric instead of BUF-centric. Vnode
Matthew Dillon [Fri, 17 Feb 2006 19:18:08 +0000 (19:18 +0000)]
Make the entire BUF/BIO system BIO-centric instead of BUF-centric.  Vnode
and device strategy routines now take a BIO and must pass that BIO to
biodone().  All code which previously managed a BUF undergoing I/O now
manages a BIO.

The new BIO-centric algorithms allow BIOs to be stacked, where each layer
represents a block translation, completion callback, or caller or device
private data.  This information is no longer overloaded within the BUF.
Translation layer linkages remain intact as a 'cache' after I/O has completed.

The VOP and DEV strategy routines no longer make assumptions as to which
translated block number applies to them.  The use the block number in the
BIO specifically passed to them.

Change the 'untranslated' constant to NOOFFSET (for bio_offset), and
(daddr_t)-1 (for bio_blkno).  Rip out all code that previously set the
translated block number to the untranslated block number to indicate
that the translation had not been made.

Rip out all the cluster linkage fields for clustered VFS and clustered
paging operations.  Clustering now occurs in a private BIO layer using
private fields within the BIO.

Reformulate the vn_strategy() and dev_dstrategy() abstraction(s).  These
routines no longer assume that bp->b_vp == the vp of the VOP operation, and
the dev_t is no longer stored in the struct buf.  Instead, only the vp passed
to vn_strategy() (and related *_strategy() routines for VFS ops), and
the dev_t passed to dev_dstrateg() (and related *_strategy() routines for
device ops) is used by the VFS or DEV code.  This will allow an arbitrary
number of translation layers in the future.

Create an independant per-BIO tracking entity, struct bio_track, which
is used to determine when I/O is in-progress on the associated device
or vnode.

NOTE: Unlike FreeBSD's BIO work, our struct BUF is still used to hold
the fields describing the data buffer, resid, and error state.

Major-testing-by: Stefan Krueger
14 years agoProperly assert the state of the MP lock in the async syscall message
Matthew Dillon [Fri, 17 Feb 2006 06:01:24 +0000 (06:01 +0000)]
Properly assert the state of the MP lock in the async syscall message
waiting code.

Reported-by: Stefan Krueger <skrueger@meinberlikomm.de>
14 years agoFix patch handling in kernel sources.
Simon Schubert [Wed, 15 Feb 2006 17:13:33 +0000 (17:13 +0000)]
Fix patch handling in kernel sources.

Noticed-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
14 years agoConsolidate patches into the sources of top, which were imported from
Simon Schubert [Wed, 15 Feb 2006 12:54:36 +0000 (12:54 +0000)]
Consolidate patches into the sources of top, which were imported from
FreeBSD and are not pristine anyways.

14 years agoGet rid of seriously out of date example code.
Matthew Dillon [Mon, 13 Feb 2006 19:29:09 +0000 (19:29 +0000)]
Get rid of seriously out of date example code.

14 years agoAdjust build infrastructure for OpenSSH-4.3p2
Simon Schubert [Mon, 13 Feb 2006 14:47:58 +0000 (14:47 +0000)]
Adjust build infrastructure for OpenSSH-4.3p2

14 years agoUpdate our READMEs
Simon Schubert [Mon, 13 Feb 2006 14:47:04 +0000 (14:47 +0000)]
Update our READMEs

14 years agoMerge from vendor branch OPENSSH:
Simon Schubert [Mon, 13 Feb 2006 14:25:42 +0000 (14:25 +0000)]
Merge from vendor branch OPENSSH:
Import OpenSSH 4.3p2 modulo unneeded files

14 years agoImport OpenSSH 4.3p2 modulo unneeded files
Simon Schubert [Mon, 13 Feb 2006 14:25:42 +0000 (14:25 +0000)]
Import OpenSSH 4.3p2 modulo unneeded files

14 years agoRemove no_obj patches from SRCS
Simon Schubert [Mon, 13 Feb 2006 14:21:46 +0000 (14:21 +0000)]
Remove no_obj patches from SRCS

14 years agoMove patch handling out of .if defined(PROG)
Simon Schubert [Mon, 13 Feb 2006 14:21:25 +0000 (14:21 +0000)]
Move patch handling out of .if defined(PROG)

14 years agoPull patch handling into its own file so that patches with
Simon Schubert [Mon, 13 Feb 2006 13:27:20 +0000 (13:27 +0000)]
Pull patch handling into its own file so that patches with
subdir components work correctly.

Reviewed-by: guys from #dragonflybsd
14 years agoBring in a bunch of malloc features from OpenBSD and fundamentally change
Matthew Dillon [Sun, 12 Feb 2006 21:19:07 +0000 (21:19 +0000)]
Bring in a bunch of malloc features from OpenBSD and fundamentally change
the core allocation code to use mmap() instead of brk/sbrk().  Most of the
new options are off by default, see the new manual page for more information.

* guard pages and chunk randomization
* free page protection
* malloc stats(dump)
* pointer guard
* no longer uses brk/sbrk
* updated man page

Submitted-by: "Kevin L. Kane" <kevin.kane@gmail.com>
Porting-work-by: "Kevin L. Kane" <kevin.kane@gmail.com>
14 years agoMake warn() a weak reference.
Matthew Dillon [Sun, 12 Feb 2006 21:14:11 +0000 (21:14 +0000)]
Make warn() a weak reference.

Submitted-by: "Kevin L. Kane" <kevin.kane@gmail.com>
14 years agoRemove serialization calls that are no longer correct, fixing a panic
Matthew Dillon [Sun, 12 Feb 2006 19:53:56 +0000 (19:53 +0000)]
Remove serialization calls that are no longer correct, fixing a panic
with SLIP connections.

14 years agoRemove unnecessary .Pp following .Sh (forgotten in my last commit).
Sascha Wildner [Sat, 11 Feb 2006 21:32:41 +0000 (21:32 +0000)]
Remove unnecessary .Pp following .Sh (forgotten in my last commit).

14 years agoAllways pass -n to echo so that wmake -n will do the right thing.
Simon Schubert [Sat, 11 Feb 2006 10:42:12 +0000 (10:42 +0000)]
Allways pass -n to echo so that wmake -n will do the right thing.
Note that this only works because of the special behaviour of sh's
echo builtin.

14 years agoAdd a fix for CAN-2005-3001, via pkgsrc from Ubunto.
Joerg Sonnenberger [Sat, 11 Feb 2006 01:21:27 +0000 (01:21 +0000)]
Add a fix for CAN-2005-3001, via pkgsrc from Ubunto.

This is a very low impact problem, since the change of an index being
larger than 500 KB is almost zero and the code has problems either way.

14 years agoRemove .Pp directly following .Sh or .Ss (not necessary, see mdoc(7)).
Sascha Wildner [Fri, 10 Feb 2006 19:01:10 +0000 (19:01 +0000)]
Remove .Pp directly following .Sh or .Ss (not necessary, see mdoc(7)).

14 years agoFix comments.
Sascha Wildner [Fri, 10 Feb 2006 18:53:18 +0000 (18:53 +0000)]
Fix comments.

14 years agoRemove the VBWAIT flag test, it will soon go away.
Matthew Dillon [Wed, 8 Feb 2006 08:34:13 +0000 (08:34 +0000)]
Remove the VBWAIT flag test, it will soon go away.

14 years agoMove serializer locking from pppoutput() to pppwrite(), which was
YONETANI Tomokazu [Mon, 6 Feb 2006 01:49:37 +0000 (01:49 +0000)]
Move serializer locking from pppoutput() to pppwrite(), which was
the only caller without serializer locked.

Problem-Reported-by: Eric J. Christeson <eric.j.christeson at gmail.com>
14 years agoSUSv3 states that the type builtin should return a value > 0 if the completion
Eirik Nygaard [Sat, 4 Feb 2006 14:12:20 +0000 (14:12 +0000)]
SUSv3 states that the type builtin should return a value > 0 if the completion
was not successful.

14 years agoMake patch break hardlinks even if not making backups.
Simon Schubert [Fri, 3 Feb 2006 21:20:29 +0000 (21:20 +0000)]
Make patch break hardlinks even if not making backups.

14 years agoUse errx(), no errno is set in this case.
Eirik Nygaard [Thu, 2 Feb 2006 17:00:29 +0000 (17:00 +0000)]
Use errx(), no errno is set in this case.

14 years agoSet proper termio flags for the sysmouse tty
Simon Schubert [Wed, 1 Feb 2006 20:43:42 +0000 (20:43 +0000)]
Set proper termio flags for the sysmouse tty

14 years agoBring in the parallel route table code and clean up ARP. The
Matthew Dillon [Tue, 31 Jan 2006 19:05:45 +0000 (19:05 +0000)]
Bring in the parallel route table code and clean up ARP.  The
route table is now replicated across all cpus (ncpus, not ncpus2).
Note that cloned routes are not replicated.

This removes one of the few remaining obstacles to being able
to run the network protocol stacks without the BGL.

Primary-Design-by: Jeffrey Hsu
Work-by: Jeffrey Hsu and Matthew Dillon
14 years agoRemove extra 'the'.
Sascha Wildner [Tue, 31 Jan 2006 10:30:45 +0000 (10:30 +0000)]
Remove extra 'the'.

Noticed-by: Trevor Kendall <trevorjk@gmail.com>
14 years agoFix spelling mistake.
Sascha Wildner [Tue, 31 Jan 2006 09:45:30 +0000 (09:45 +0000)]
Fix spelling mistake.

Noticed-by: Trevor Kendall <trevorjk@gmail.com>
14 years agoPull the fix from procfs_vnops.c:1.27 also to linprocfs
Simon Schubert [Tue, 31 Jan 2006 02:15:10 +0000 (02:15 +0000)]
Pull the fix from procfs_vnops.c:1.27 also to linprocfs

14 years agocrit_exit() is called where crit_enter() is supposed to be.
YONETANI Tomokazu [Mon, 30 Jan 2006 14:16:16 +0000 (14:16 +0000)]
crit_exit() is called where crit_enter() is supposed to be.

14 years agoSync nv with FreeBSD and update the binary driver to 1.0-0310.
Simon Schubert [Sun, 29 Jan 2006 22:10:11 +0000 (22:10 +0000)]
Sync nv with FreeBSD and update the binary driver to 1.0-0310.
This fixes device timeout issues with my NForce4 chipset.

Obtained-from: FreeBSD

14 years ago- Add NVIDIA nForce MCP12 support
Sepherosa Ziehau [Sun, 29 Jan 2006 08:25:33 +0000 (08:25 +0000)]
- Add NVIDIA nForce MCP12 support
- Add NVIDIA nForce MCP13 support

Reported-and-Tested-by: corecode
14 years agoLobotomize libcaps so it compiles again and can be used by the code
Matthew Dillon [Sat, 28 Jan 2006 18:07:45 +0000 (18:07 +0000)]
Lobotomize libcaps so it compiles again and can be used by the code
in src/test.

14 years agoInitialize intrcnt[] with 0 before using it, because hw.intrcnt
YONETANI Tomokazu [Sat, 28 Jan 2006 17:18:48 +0000 (17:18 +0000)]
Initialize intrcnt[] with 0 before using it, because hw.intrcnt
may return fewer elements than hw.intrnames.

14 years agoPass serializer to bus_setup_intr()
Sepherosa Ziehau [Sat, 28 Jan 2006 15:07:52 +0000 (15:07 +0000)]
Pass serializer to bus_setup_intr()

Reported-and-Tested-by: swildner
14 years agoIn ep_if_start(), restore 'm' after it is used to traverse mbufs, or following
Sepherosa Ziehau [Sat, 28 Jan 2006 14:05:57 +0000 (14:05 +0000)]
In ep_if_start(), restore 'm' after it is used to traverse mbufs, or following
code's assumption is broken.

Reported-and-Tested-by: swildner
14 years agoAdjust X11BASE so that ssh/sshd find xauth with pkgsrc.
Simon Schubert [Thu, 26 Jan 2006 17:48:35 +0000 (17:48 +0000)]
Adjust X11BASE so that ssh/sshd find xauth with pkgsrc.

14 years agoAdd a missing #include <sys/lock.h> to fix a UP kernel build problem.
Matthew Dillon [Thu, 26 Jan 2006 08:19:48 +0000 (08:19 +0000)]
Add a missing #include <sys/lock.h> to fix a UP kernel build problem.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
14 years agoTest commit of new file.
Justin C. Sherrill [Thu, 26 Jan 2006 04:42:12 +0000 (04:42 +0000)]
Test commit of new file.

14 years agoThe random number generator was not generating sufficient entropy by
Matthew Dillon [Wed, 25 Jan 2006 19:56:31 +0000 (19:56 +0000)]
The random number generator was not generating sufficient entropy by
default, resulting in weak random numbers for a short period of time after
a machine is first booted.

* Change the entropy default for all interrupts except the clock interrupt
  from off to on.

* Greatly reduce the overhead of the interrupt entropy code so even high
  performance interrupts can call it.

* Instead of calculating the entropy at the time of the interrupt,
  introduce a new rate-limited kernel thread which the interrupt code can
  simply schedule.  The new thread will be responsible for adding the
  entropy.

  This thread will rate-limit based on the amount of entropy that has been
  built up.  The more entropy we have, the lower the thread's frequency of
  operation.  Currently the limit is set to 25 hz.

* Use the TSC in addition to the normal time calculation when introducing
  entropy.

Note that during tests it was found that a new ssh connection tends to
'eat' all available entropy.  This isn't actually true, it's really the
entropy calculation itself which is not quite correct, but I am duely noting
the issue here.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
14 years agoMerge OpenBSD r1.104:
Joerg Sonnenberger [Wed, 25 Jan 2006 02:47:09 +0000 (02:47 +0000)]
Merge OpenBSD r1.104:
  fix a bug in the fragment cache (used for 'scrub fragment crop/drop-ovl',
  but not 'fragment reassemble'), which can cause some fragments to get
  inserted into the cache twice, thereby violating an invariant, and panic-
  ing the system subsequently. ok deraadt@

Reminded-by: Daniel Hartmeier
14 years agoWhen using visibility macros, sys/cdefs.h must be included first.
Joerg Sonnenberger [Tue, 24 Jan 2006 21:43:33 +0000 (21:43 +0000)]
When using visibility macros, sys/cdefs.h must be included first.

14 years agoSync BSD family tree with FreeBSD.
Sascha Wildner [Mon, 23 Jan 2006 02:56:43 +0000 (02:56 +0000)]
Sync BSD family tree with FreeBSD.

14 years agoRemove ports(7) man page since we're using pkgsrc now.
Sascha Wildner [Sun, 22 Jan 2006 14:50:26 +0000 (14:50 +0000)]
Remove ports(7) man page since we're using pkgsrc now.

14 years ago* Move function types to a separate line.
Sascha Wildner [Sun, 22 Jan 2006 14:03:51 +0000 (14:03 +0000)]
* Move function types to a separate line.

* Ansify function definitions.

* Remove (void) casts for discarded return values.

In collaboration with: Alexey Slynko <slynko@tronet.ru>

14 years agoAdd ansification to silence -Wold-style-definition warnings.
Sascha Wildner [Sun, 22 Jan 2006 13:38:50 +0000 (13:38 +0000)]
Add ansification to silence -Wold-style-definition warnings.

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoAdd some casts to silence warnings.
Sascha Wildner [Sun, 22 Jan 2006 04:44:18 +0000 (04:44 +0000)]
Add some casts to silence warnings.

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoRemove unused variables.
Sascha Wildner [Sun, 22 Jan 2006 04:31:22 +0000 (04:31 +0000)]
Remove unused variables.

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoInitialize variable.
Sascha Wildner [Sun, 22 Jan 2006 04:30:27 +0000 (04:30 +0000)]
Initialize variable.

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoAdd missing header for isab_attach prototype.
Sascha Wildner [Sun, 22 Jan 2006 04:10:32 +0000 (04:10 +0000)]
Add missing header for isab_attach prototype.

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoRemove extra tokens from the end of #else or #endif directives.
Sascha Wildner [Sun, 22 Jan 2006 03:43:38 +0000 (03:43 +0000)]
Remove extra tokens from the end of #else or #endif directives.

gprof fixes submitted by: Kevin Kane <kevin.kane@gmail.com>

14 years agoRemove support for some obsolete architectures.
Sascha Wildner [Sun, 22 Jan 2006 03:24:50 +0000 (03:24 +0000)]
Remove support for some obsolete architectures.

14 years agoRemove antique, unused test code.
Sascha Wildner [Sat, 21 Jan 2006 19:18:26 +0000 (19:18 +0000)]
Remove antique, unused test code.

14 years agoSwitch the type and how argument declarations around to match what the
Matthew Dillon [Sat, 21 Jan 2006 19:05:42 +0000 (19:05 +0000)]
Switch the type and how argument declarations around to match what the
rest of the kernel expects.  Note that only the NCP protocol uses m_getm().

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoAdd wmake(1) reference.
Sascha Wildner [Fri, 20 Jan 2006 20:44:22 +0000 (20:44 +0000)]
Add wmake(1) reference.

14 years agoAdd a wmake(1) man page using the commit message for the description.
Sascha Wildner [Fri, 20 Jan 2006 20:36:43 +0000 (20:36 +0000)]
Add a wmake(1) man page using the commit message for the description.

14 years agoPass correct argument to lwkt_serialize_{enter, exit}()
Sepherosa Ziehau [Fri, 20 Jan 2006 12:25:28 +0000 (12:25 +0000)]
Pass correct argument to lwkt_serialize_{enter, exit}()

Submitted-by: Alexey Slynko <slynko at tronet.ru>
14 years agoAdd the '-c cpu' option to arp, netstat, and route, to allow the route
Matthew Dillon [Thu, 19 Jan 2006 22:19:31 +0000 (22:19 +0000)]
Add the '-c cpu' option to arp, netstat, and route, to allow the route
table for a specific cpu to be dumped.  Route tables are supposed to be
replicated and mostly identical.  Only cloned routes might not be replicated.

14 years agomake zero prefix or suffix tell patch not to produce backups at all
Simon Schubert [Thu, 19 Jan 2006 04:51:30 +0000 (04:51 +0000)]
make zero prefix or suffix tell patch not to produce backups at all

14 years agoProperly refcount module dependencies loaded by loader
Simon Schubert [Thu, 19 Jan 2006 04:49:45 +0000 (04:49 +0000)]
Properly refcount module dependencies loaded by loader

14 years agoFix warning:
Simon Schubert [Thu, 19 Jan 2006 03:14:06 +0000 (03:14 +0000)]
Fix warning:
   checknr.c:558:8: warning: extra tokens at end of #endif directive

Submitted-by: kevin kane <kevin.kane@gmail.com>
14 years agoFix comment indent.
Sascha Wildner [Wed, 18 Jan 2006 09:59:34 +0000 (09:59 +0000)]
Fix comment indent.

14 years ago* Replace DragonFly with Dx.
Sascha Wildner [Wed, 18 Jan 2006 09:24:37 +0000 (09:24 +0000)]
* Replace DragonFly with Dx.

* Remove forgotten apostrophe.

14 years agoAdd master.passwd as a name of this manual page.
Jeremy C. Reed [Wed, 18 Jan 2006 07:42:57 +0000 (07:42 +0000)]
Add master.passwd as a name of this manual page.

Make more changes of FreeBSD to DragonFly (somehow were missed
in previous update). Note that the HISTORY section is not changed.

This appears to also revert some of the changes from last update
(in March 2004) such as misformatted "Changes in behaviour ..."

Used "Ap s" for apostrophe "s" as documented in mdoc(5) and
suggested by saw@ on the submit list. (But didn't fix all.)

Specifically mention "FreeBSD" in the reference to versions prior
to 2.0.5.

Use .Fx instead of ".Tn FreeBSD".

Add a missing period.

Change "is" to "was" for past tense for one sentence.

I submitted this via submit@ list on Jan. 1.

Note that I did not remove the entire "Changes in behavior from
older versions" section, but modified some. This could be removed
or improved.

Also TODO: document that "*" asterisk has different behaviour in field 2
for passwd versus master.passwd.

14 years agoCreate a manual page link of passwd.5 for new master.passwd.5.
Jeremy C. Reed [Wed, 18 Jan 2006 07:04:29 +0000 (07:04 +0000)]
Create a manual page link of passwd.5 for new passwd.5.

The manual page already documents master.passwd. This is same
as done on other BSDs. I mentioned this on submit list two
weeks ago.

14 years agoUse the DragonFly contrib patch system to correct improper sizeof(pointer)
Matthew Dillon [Wed, 18 Jan 2006 02:33:38 +0000 (02:33 +0000)]
Use the DragonFly contrib patch system to correct improper sizeof(pointer)
issues in vendor code.

BIND9:
    Allocated memory was not being entirely zerod out in a number of places.

LIBOPIE:
    An improper sizeof(pointer) just happened to work out to the same size
    as the 4-byte string it was really attempting to size, for 32 bit
    architectures.  Convert the pointer to an array to fix the problem.

DHCLIENT:
    An improper sizeof(pointer) just happened to work out to be the same
    size as the u_int32_t it was supposed to be getting the size of, for
    32 bit architectures.  Fixed.

    ICMP handling was calculating the incorrect packet offset due to
    a sizeof(ia) that should have been sizeof(*ia).

    In addition (unrelated to the original bug report), none of the
    patches for common/ were being applied.  They are now being applied.

TCPDUMP:
    OSPF6 parsing was completely broken, not only using an incorrect
    sizeof(pointer), but also misinterpreting the return value from
    ospf6_print_lsaprefix() which would result in an infinite loop.

References: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702
Reported-by: Mark Eklund <meklund@cisco.com>
14 years agoAdd mk.conf to the ISO and have the installer install it in /etc
Matthew Dillon [Tue, 17 Jan 2006 23:52:20 +0000 (23:52 +0000)]
Add mk.conf to the ISO and have the installer install it in /etc
on the HDD.

14 years agoCorrect sizeof(pointer) bugs that should have been sizeof(*pointer)
Matthew Dillon [Tue, 17 Jan 2006 23:50:35 +0000 (23:50 +0000)]
Correct sizeof(pointer) bugs that should have been sizeof(*pointer)
or strlen(pointer) or something other then sizeof(pointer).

References: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702
Reported-by: Mark Eklund <meklund@cisco.com>
14 years agoAdd forgotten part of setenv cleanup
Simon Schubert [Tue, 17 Jan 2006 15:06:26 +0000 (15:06 +0000)]
Add forgotten part of setenv cleanup

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoRemove 400.status-pkg from the Makefile as well.
Sascha Wildner [Sun, 15 Jan 2006 11:42:50 +0000 (11:42 +0000)]
Remove 400.status-pkg from the Makefile as well.

Reported-by: corecode
14 years agoFix insecure tempfile usage in ee, see FreeBSD-SA-06:02.ee
Simon Schubert [Sun, 15 Jan 2006 00:07:31 +0000 (00:07 +0000)]
Fix insecure tempfile usage in ee, see FreeBSD-SA-06:02.ee

14 years agoSet %bx register instead of %di register as specified by the
Sascha Wildner [Sat, 14 Jan 2006 23:04:46 +0000 (23:04 +0000)]
Set %bx register instead of %di register as specified by the
VBE 3.0 specification, page 45.

Found-in: FreeBSD

14 years agoFix use of history without HistEvent, causing segfaults
Simon Schubert [Sat, 14 Jan 2006 22:58:18 +0000 (22:58 +0000)]
Fix use of history without HistEvent, causing segfaults

Reported-by: esmith <esmith@postmark.net>
14 years agoRemove ports specific periodic script & documentation.
Sascha Wildner [Sat, 14 Jan 2006 22:44:46 +0000 (22:44 +0000)]
Remove ports specific periodic script & documentation.

14 years ago* Remove example supfile for dfports.
Sascha Wildner [Sat, 14 Jan 2006 22:23:40 +0000 (22:23 +0000)]
* Remove example supfile for dfports.

* Add a sentence of documentation about the release example supfiles.

* Replace ports/dfports section in the upgrading notes with some
  information about pkgsrc.

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Sat, 14 Jan 2006 13:36:40 +0000 (13:36 +0000)]
* Remove (void) casts for discarded return values.

* Put function types on separate lines.

* Ansify function definitions.

* Remove PROTO_LIST.

* Some style(9) cleanup.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Sat, 14 Jan 2006 11:44:25 +0000 (11:44 +0000)]
* Remove (void) casts for discarded return values.

* Put function types on separate lines.

* Ansify function definitions.

* Remove __P.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Sat, 14 Jan 2006 11:33:50 +0000 (11:33 +0000)]
* Remove (void) casts for discarded return values.

* Put function types on separate lines.

* Ansify function definitions.

* Remove __P.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Sat, 14 Jan 2006 11:10:47 +0000 (11:10 +0000)]
* Remove (void) casts for discarded return values.

* Put function types on separate lines.

* Ansify function definitions.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Sat, 14 Jan 2006 11:05:18 +0000 (11:05 +0000)]
* Remove (void) casts for discarded return values.

* Put function types on separate lines.

* Ansify function definitions.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Fri, 13 Jan 2006 21:09:27 +0000 (21:09 +0000)]
* Remove (void) casts for discarded return values.

* Put function types on separate lines.

* Ansify function definitions.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years ago* Remove (void) casts for discarded return values.
Sascha Wildner [Fri, 13 Jan 2006 20:45:30 +0000 (20:45 +0000)]
* Remove (void) casts for discarded return values.

* Ansify function definitions.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

14 years agoLOG_WARN -> LOG_WARNING
Sascha Wildner [Fri, 13 Jan 2006 20:26:46 +0000 (20:26 +0000)]
LOG_WARN -> LOG_WARNING

14 years agobx is supposed to point to twiddle_chars, not contain the first element
Matthew Dillon [Fri, 13 Jan 2006 19:41:50 +0000 (19:41 +0000)]
bx is supposed to point to twiddle_chars, not contain the first element
of twiddle_chars.

Submitted-by: Yuichiro Goto <goto@acr.kanazawa-it.ac.jp>
14 years agoCheck for setenv/putenv's success
Simon Schubert [Thu, 12 Jan 2006 13:43:11 +0000 (13:43 +0000)]
Check for setenv/putenv's success

Submitted-by: Alexey Slynko <slynko@tronet.ru>
14 years agoRetire old subvers file
Simon Schubert [Wed, 11 Jan 2006 13:54:50 +0000 (13:54 +0000)]
Retire old subvers file

14 years agoImport a softdep fix from FreeBSD rev 1.183 by tegge:
Simon Schubert [Wed, 11 Jan 2006 02:46:38 +0000 (02:46 +0000)]
Import a softdep fix from FreeBSD rev 1.183 by tegge:

Don't set the COMPLETE flag in an inodedep structure before the related
inode has been written.

14 years agoUse _KERNEL_STRUCTURES where appropriate
Simon Schubert [Wed, 11 Jan 2006 02:38:02 +0000 (02:38 +0000)]
Use _KERNEL_STRUCTURES where appropriate

14 years agoShape up asf to be better usable on DragonFly
Simon Schubert [Wed, 11 Jan 2006 02:00:13 +0000 (02:00 +0000)]
Shape up asf to be better usable on DragonFly

14 years agoAlso make clean for internal pic archives.
Simon Schubert [Wed, 11 Jan 2006 01:15:32 +0000 (01:15 +0000)]
Also make clean for internal pic archives.

14 years agoAdd kvm_readstr, a convenience helper which lets you read C strings from
Simon Schubert [Wed, 11 Jan 2006 01:12:59 +0000 (01:12 +0000)]
Add kvm_readstr, a convenience helper which lets you read C strings from
kernel cores/kmem.

14 years agoMove the MAKEDEV step at the end of make upgrade so you can background it
Simon Schubert [Wed, 11 Jan 2006 01:04:34 +0000 (01:04 +0000)]
Move the MAKEDEV step at the end of make upgrade so you can background it

14 years agoMerge from vendor branch GDB:
Simon Schubert [Wed, 11 Jan 2006 00:52:13 +0000 (00:52 +0000)]
Merge from vendor branch GDB:
Remove HP-UX only files

14 years agoRemove HP-UX only files
Simon Schubert [Wed, 11 Jan 2006 00:52:13 +0000 (00:52 +0000)]
Remove HP-UX only files

14 years agoRemove HP-UX only files
Simon Schubert [Wed, 11 Jan 2006 00:52:13 +0000 (00:52 +0000)]
Remove HP-UX only files

14 years agodo not try to hold serializer in nge_rxeof(), since nge_rxeof() is called by
Sepherosa Ziehau [Tue, 10 Jan 2006 14:14:00 +0000 (14:14 +0000)]
do not try to hold serializer in nge_rxeof(), since nge_rxeof() is called by
nge_poll() and nge_intr() which already have held serializer

Reported-and-Tested-by: Steve O'Hara-Smith <steve at sohara.org>
14 years agoAdd missing pkgsrc paths to shell dotfiles and rc scripts
Simon Schubert [Tue, 10 Jan 2006 01:56:04 +0000 (01:56 +0000)]
Add missing pkgsrc paths to shell dotfiles and rc scripts

Noticed-by: Joseph Garcia
14 years agoFix a refcount bug which would appear when you kldunloaded a busy module,
Simon Schubert [Tue, 10 Jan 2006 00:33:12 +0000 (00:33 +0000)]
Fix a refcount bug which would appear when you kldunloaded a busy module,
preventing it to be unloaded later when it wasn't busy anymore, stating
"linkerunload: attempt to unload file that was loaded by the kernel".