Commit Graph

180199 Commits

Author SHA1 Message Date
rmind
440e5485e0 - Rearrange pg_delete() and pg_remove() (renamed pg_free), thus
proc_enterpgrp() with proc_leavepgrp() to free process group and/or
  session without proc_lock held.
- Rename SESSHOLD() and SESSRELE() to  to proc_sesshold() and
  proc_sessrele().  The later releases proc_lock now.

Quick OK by <ad>.
2009-04-25 15:06:31 +00:00
skrll
0e68e44118 Only include <assert.h> and <string.h> if !_KERNEL && !_STANDALONE 2009-04-25 12:20:48 +00:00
snj
0e48057f61 Yet another round of INSTALL fixes. 2009-04-25 10:34:42 +00:00
snj
059a9b4ae1 Sync with (a close approximation of) reality. 2009-04-25 09:10:55 +00:00
sborrill
71d4bf3caa Fix random 'filesystem full' messages by trapping a couple of 32-bit
overflow areas missed in rev 1.110 and switching cgbase().

Kudos to rump_ffs!
2009-04-25 08:32:32 +00:00
tsutsui
90c44cfe77 Remove suffix "B" from rtk_name of PCI_PRODUCT_REALTEK_RT8168 devices.
All 8168/8111 variants (8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP)
have the same PCI device ID.
2009-04-25 06:16:12 +00:00
agc
ee219f892b Enable netpgp in the build, and amend set lists accordingly. 2009-04-25 05:54:50 +00:00
lukem
7ca13b8bcd Fix most of the -Wsign-compare issues. 2009-04-25 05:11:37 +00:00
snj
cbd498a0a1 Another round of INSTALL improvements big and small. 2009-04-25 01:33:12 +00:00
agc
efdd9dba1e WARNS=4 changes 2009-04-25 01:29:14 +00:00
ad
1344cedef1 Remove some rubbish 2009-04-24 23:11:07 +00:00
njoly
aaad3eb0f6 Drop the process WCPU decimal part when it reaches 100.0% (threaded
application on SMP system), to make it stay in the 5 expected columns.

ok by christos.
2009-04-24 19:07:45 +00:00
ad
97a4cbf1a7 .long -> .quad 2009-04-24 18:26:51 +00:00
ad
9b7896c50a A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.

For rwlocks, always enable the explicit membars. They were disabled only
on x86, and since they are not in the fast-path it's not a big deal.
TODO: convert these to an atomic_membar_foo() or similar that does ordering
between regular data references and atomic references.
2009-04-24 17:53:06 +00:00
ad
fbfeb4f2a9 A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.
2009-04-24 17:49:51 +00:00
ad
c28dc6f757 A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.

This is not complete (atomic ops need some work too).
2009-04-24 17:45:40 +00:00
ad
437e4a0d38 - Attach via the kthread so boot is not so slow on some systems with IPMI.
- NOWAIT -> WAITOK
2009-04-24 17:42:03 +00:00
reed
9fc4d3902e Fix roff formatting for ->
by adding an \ such as document in mdoc.7

This was reported in 41276
2009-04-24 16:48:58 +00:00
christos
61af394aa4 PR/41273: Martin Mersberger: missing '/' in /etc/rc.d/named in section
named_migrate
2009-04-24 14:26:02 +00:00
joerg
0ec643dcd9 Import pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:16:52 +00:00
jakllsch
abf7e840eb Add Microchip PICkit 1 to HID blacklist. 2009-04-24 14:16:50 +00:00
joerg
94109f5e3c Import pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:16:43 +00:00
jakllsch
e75d76046a regen. 2009-04-24 14:07:36 +00:00
jakllsch
1cdfeda3ef Add Microchip Technology vendor ID and two PICkit device IDs thereof. 2009-04-24 14:06:22 +00:00
pooka
2080685e3d * init pool linksets, makes proplib work. reported by Arnaud Ysmal.
(linksets, sigh)
* reduce #ifdef for RUMP_USE_REAL_ALLOCATORS
2009-04-24 13:27:03 +00:00
lukem
a60f776aae Revert incorrect change made as part of the WARNS=4.
Fixes "ftp host [port]" on the CLI.
Noted by Geoff Wing.
2009-04-24 08:57:26 +00:00
agc
ea21613ec1 Remove artefacts which should not have been imported - sorry for the noise 2009-04-24 01:05:59 +00:00
snj
ca3c228f9e Note that SMP is broken on sparc. 2009-04-23 23:54:10 +00:00
christos
3c2585b945 correct cast to size_t. 2009-04-23 22:09:23 +00:00
macallan
f274fcd902 mention wscons support in zx(4) 2009-04-23 20:48:09 +00:00
macallan
c7d8ba2450 Add wscons support 2009-04-23 20:46:49 +00:00
kefren
02190332dd Add power hooks. Proposed a couple of days ago on tech-kern@, no
objections received. Tested on Dell Inspiron 2200 with BCM4318
2009-04-23 20:24:23 +00:00
njoly
d3dabe1260 Add IPC_64 support for all semctl(2)/msgctl(2). Needed, at least on
i386 for Linux 2.6 emulation.
2009-04-23 17:40:57 +00:00
njoly
c4fb0248d2 Convert si_code value from native to linux. 2009-04-23 17:37:51 +00:00
elad
7f1171f976 - Make kauth(9) call logic match the one in netinet6/in6_pcb.c
- Indent a comment
2009-04-23 17:02:26 +00:00
elad
f2eb9b87ec Some changes to in_pcbbind():
- Extract guts to in_pcbbind_{addr,port}()

  - Put the port auto-assignment logic in in_pcbsetport(), which looks very
    similar to in6_pcbsetport()

  - Fix a bug where "sin" was passed to kauth(9) without being set to
    anything

No objections on tech-net@.
2009-04-23 16:42:56 +00:00
tsutsui
f120aa8526 Make sure to remove all generated files on cleandir. 2009-04-23 16:37:44 +00:00
tsutsui
ded7297540 Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks. 2009-04-23 16:35:20 +00:00
tsutsui
c37f283f47 Fix -Wcast-qual and -Wsign-compare issues. 2009-04-23 14:49:32 +00:00
tsutsui
e2832ec4e0 Create cksums for files in ${MD_INSTALLATION_DIRS}. 2009-04-23 14:38:58 +00:00
tsutsui
0cfe059a5a Build ramdisk based INSTALL kernel and bootstrap bootable install image file
and install them into releasedir.
2009-04-23 14:16:09 +00:00
tsutsui
931804e263 Switch bootstrap bootable install image from ffs to ustarfs based. 2009-04-23 14:14:35 +00:00
cegger
7c3843a362 pool uses signed int for flags.
undo the int -> u_int change for pmap_pdp_alloc to unbreak the PAE build.
2009-04-23 12:18:41 +00:00
apb
aff2f5a7b4 Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because
INSTALL_DIR would want to write to the metalog, and it can't do that
if the metalog is inside DESTDIR but DESTDIR doesn't yet exist.
This allows some XXX comments to be removed.
2009-04-23 11:29:29 +00:00
msaitoh
e447a613d9 use proplib 2009-04-23 10:47:43 +00:00
msaitoh
278d80cb78 remove obsolete code. 2009-04-23 10:43:31 +00:00
apb
c4ad9aa7fc Make clean_METALOG in distrib/sets early in the build, to ensure that
the METALOG does not grow without bounds on multiple MKUPDATE builds.
(Previously, sanitise_METALOG in distrib/sets/Makefile used to do
something like this near the end of a build.)
2009-04-23 09:43:49 +00:00
apb
3ae1376a23 Clean up the handling of METALOG.sanitised:
* Don't change METALOG in place while creating METALOG.sanitised in the
  sanitise_METALOG target.  This makes it easier to manually inspect
  METALOG to find the order in which lines were added during a build.

* Add a clean_METALOG target, to be invoked from src/Makefile early in
  the build, to prevent unbounded growth of METALOG during multiple
  MKUPDATE builds.

* Remove the old hack of incorporating etc/mtree/NetBSD.dist into
  METALOG.sanitised.  It was needed only during a short transition
  period when people might have done MKUPDATE builds starting from
  existing DESTDIR and OBJDIR trees that had been created before
  revision 1.317 of src/etc/Makefile.

* Since etc/mtree/NetBSD.dist is no longer added, there's will not
  be any "optional" lines, so there's no need to filter them from
  METALOG.sanitised.

* There's no need for two different METALOG.unpriv and
  METALOG.sanitised.unpriv variables; combine them into a single
  METALOG.unpriv variable whose value is "-M ${METALOG}.sanitised".

* Reorder some lines in the Makefile, to bring related targets,
  variables and comments together.
2009-04-23 09:37:03 +00:00
apb
9d84a95580 Simplify the way EXCLUDE_REGEXP is built. 2009-04-23 09:30:56 +00:00
kefren
62e6076ccd Add pmf hooks. Proposed two days ago on tech-kern@, no objections.
Tested on amd64 with Asus P5Q-E mainboard with onboard Yukon Lite
2009-04-23 09:18:25 +00:00