173976 Commits

Author SHA1 Message Date
joerg
af21abb57f Import pkg_install-20080916. Major changes include:
- vulnerability check backend moved into lib for reuse in pkg_add
- add pkg_install.conf parsing for common configuration of the various
  pkg_install components
- fix crashes related to uninitialised PLIST structures
- check explicitly if the required files in pkgdb are present, fixing
  issues with ~empty left-over directories
- improve hardlink handling in pkg_create using the libarchive link
  resolver
- pkg_delete with -P overwrite now updates the pkgdb correctly
- silence warning about empty /var/db/pkg, it provides no value
- pkg_info uses libfetch for remote locations and works without
  temporary files, speeding up operation a lot
2008-09-30 19:00:25 +00:00
joerg
fe618babc6 Import libfetch from pkgsrc, which remains authoritive.
libfetch is a high-level interface for retreiving and uploading files
using URLs. Currently implemented are local file access, FTP, HTTP and
basic HTTPS support, upload only for local files and FTP.
2008-09-30 18:46:07 +00:00
njoly
ab896e4008 Small fix to make setpriority(2) with PRIO_PROCESS return ESRCH when
no valid process can be found.
2008-09-30 17:28:47 +00:00
pooka
49d75a288d Do not clear curlwp after request if we have unmounted. This avoids
an annoying side effect of the reference counting nightmare, namely
trying to vrele() a recently-ceased-to-be cwd.
2008-09-30 17:18:46 +00:00
jmcneill
536d3f6c8b Remove esl(4) 2008-09-30 16:51:45 +00:00
pooka
8bf6577840 Always set HASBUF when creating a componentname. 2008-09-30 16:51:26 +00:00
jmcneill
c46c423e8e Remove esl(4) 2008-09-30 16:45:33 +00:00
rmind
ae626d791a - Schedule bound threads even if CPU is offline. Might be revisited later,
when decision what to do with already bound threads will be made.
- Do not allow to assign offline CPU to the processor-set.

Quick fix for PR/39349.
2008-09-30 16:28:45 +00:00
pooka
eb50fe2242 Add an unspeakable kludge for nfs, which keeps an explicit reference
to the root vnode.  Properly fixing this would require fixing p2k,
which would require fixing puffs, which has some optimizations,
which are incompatible with kernel file systems...  guess my Eyes
of the Overworld were misplaced at that time.
2008-09-30 15:26:54 +00:00
pooka
c7637a677e Initialize nfsnode pools and malloc type dynamically in the
constructor instead of depending on link sets.  Consequently, rename
nfs_nh{init,reinit,done} to nfs_node_{init,reinit,done}, respectively,
to better convey the function.
2008-09-30 14:29:39 +00:00
pooka
7f617ba79e Apply #ifdef modern art to make NFSSERVER-without-NFS possible. 2008-09-30 14:25:15 +00:00
wiz
0247fc12f6 Bump date for previous. Remove trailing whitespace.
New sentence, new line. Capitalize Ethernet.
2008-09-30 09:41:41 +00:00
aymeric
e56ab6501a have '$' include the last character in the line when embedded in a command.
This fixes c$, d$, y$, and so on in vi mode.
2008-09-30 08:37:42 +00:00
dholland
b0188b51ef Refine previous: can put the main -> mymain thing in the .x file, which is
both tidier and also doesn't break update builds.
2008-09-30 06:25:22 +00:00
dholland
b458f98fad If the parser scrapes up something it thinks is positionally a month, but
is numerically out of range, do something reasonable instead of crashing.
PR bin/39627.
2008-09-30 05:51:41 +00:00
dholland
fe23e175c3 Enable the code that reads /etc/pcnfsd.conf. It was disabled because
rpcgen offers no mechanism to call it from the rpcgen-created main().
So, use the preprocessor to rename that mymain() and provide another
main() that loads the config file first.

PR bin/12758.
2008-09-30 05:20:42 +00:00
dholland
d65073510e Use off_t, not __off_t. 2008-09-30 04:03:37 +00:00
lukem
b88214a09b update copyrights 2008-09-30 03:41:53 +00:00
pgoyette
d17ee48907 When scanning i2c bus for responding devices, skip over the multicast
i2c Alert Response Address.  Skipping this won't hurt (the address is
allegedly reserved), and it might avoid the lock-ups that have been
seen by others.
2008-09-29 22:55:08 +00:00
njoly
6d60715500 Make setpriority(2) return EINVAL for incorrect which values. 2008-09-29 21:30:12 +00:00
dyoung
7abd58c82d Do not mention the 'ns' address family any longer, since that
support was removed quite a while ago.

Mention the 'link' address family.  Describe the 'active' keyword.
Add examples for adding and activating a link-layer address.
2008-09-29 17:28:07 +00:00
pooka
d93a348b24 remove verbosity attack 2008-09-29 15:59:54 +00:00
agc
c66caa9ca7 Make this build on Mac OS X. 2008-09-29 12:30:12 +00:00
njoly
d79dceef56 Add strfile.debug and unstr.debug 2008-09-29 11:39:37 +00:00
rmind
03fe669395 - Fix message queue permissions problems.
- Rake into account umask when creating mqueue.
- Restore DDB command, which was accidentally lost (hi martin).
- Misc.
2008-09-29 10:27:53 +00:00
ad
844fcfc979 make PTHREAD__COMPAT=1
Builds a libpthread that can be dropped into a NetBSD 2/3/4 chroot.

This makes threading work in the chroot when using a NetBSD 5 kernel, no
other modifications required.
2008-09-29 08:48:15 +00:00
ad
ab62b04dc5 Allow atomic ops to be built as part of libpthread. 2008-09-29 08:43:00 +00:00
skrll
9f3c3c08eb Typo in comment. 2008-09-28 21:27:11 +00:00
christos
93d0aacf67 Fix a little lint. 2008-09-28 18:54:55 +00:00
christos
910c3de51d this needs finite and scalbn 2008-09-28 18:54:30 +00:00
bouyer
2837506868 Regen: Add JMicron OUI, and JMC2[56]0 PHYs. 2008-09-28 18:30:47 +00:00
bouyer
d601ac3749 Add JMicron OUI, and JMC2[56]0 PHYs. 2008-09-28 18:30:11 +00:00
oster
f29979e70c Undo previous change to an #if 0. The code does belong to the
distributed sparing bits, but no-one has compile-tested the code.
Un-breaks the ALL build.
2008-09-28 16:17:17 +00:00
wiz
188468ada8 regen. 2008-09-28 15:41:50 +00:00
wiz
e5e4b9c58a Add Zippy Technology Corporation (from www.linux-usb.org/usb.ids). 2008-09-28 15:41:29 +00:00
martin
dab198261c Apply patch from Dave Huang in PR kern/39642: catch up on com(4)'s
device_t/softc split.
2008-09-28 15:39:40 +00:00
christos
519d922f3a having 2 separate implementations of frexp ldexp and modf (one here and
one in libm) that produce different results does not make any sense. Use
the one from libm to build instead.
2008-09-28 15:19:09 +00:00
matt
99a8c5ca1c Add the C99 header <tgmath.h> (Type-generic math.h)
Until IEEE libm support *l (long double) we can't install it.
2008-09-28 14:57:41 +00:00
pgoyette
d3676b5978 Add support for DDR3.
OK garbled@
2008-09-28 12:59:54 +00:00
bouyer
10d92b0ee8 Regen for JMicron Ethernet Controllers. 2008-09-28 11:36:06 +00:00
bouyer
470fa26649 Add JMicron JMC250 Gigabit Etheret and JMC260 Fast Ethernet Controllers.
While here, fix other JMicron device IDs (product ID is 4 digits, not five).
2008-09-28 11:35:06 +00:00
reinoud
19eb6cb8aa Remove the not anymore used UDF_READWRITE flag. 2008-09-28 09:02:45 +00:00
dholland
73c1f72053 Fix test case from PR 39639. This time around, be portable. 2008-09-28 07:43:42 +00:00
lukem
e2a43ad977 Support RESCUEDIR for _PATH_VI.
Fixes /rescue/disklabel -e
2008-09-28 06:38:02 +00:00
lukem
cc11735df8 Obsolete libXres* as they were mistakenly installed with the wrong name.
NOTE: As nothing should have linked against this, it should be ok to
obsolete the major shared library, which I've done contrary to the
usual rules for such files.
2008-09-28 06:34:48 +00:00
pooka
b334ad7b43 Don't free nd_mrep in case of no reply. It is (at least in one
case) freed already within the rpc handler.

XXX: this line and another was originally committed with "don't
leak mbufs", but given that currently it can double-free an mbuf
and essentially crash the system, I'll opt for the leak.  Needless
to say, this needs revisiting, but that requires a large scale
campaign due to the sticky nature of nfsm love.
2008-09-28 00:10:18 +00:00
tsutsui
9957bf949d Use \*[Am]' rather than \*&' for ampersand. 2008-09-27 23:15:21 +00:00
he
9ea7de0435 Bump SYMTAB_SPACE so that the contents fits again. 2008-09-27 23:10:02 +00:00
oster
6658196076 Cleanup some of the spare table stuff. It is not needed in the general
case, and is only needed for parity declustering with distributed
sparing.
2008-09-27 21:58:04 +00:00
pooka
2208b2d0df add WARNS=4 2008-09-27 20:49:55 +00:00