Commit Graph

141 Commits

Author SHA1 Message Date
pooka 04b935ee0a Instead of printing the status value from wait(), decode it into
more human-readable output.

reviewed by jmmv
2009-04-14 15:41:11 +00:00
christos 432ce7c95e At ad@'s request add support for native rwlocks. The XXX's should be addressed
before this is enabled, perhaps with _np functions.
2009-04-13 21:20:40 +00:00
christos d73aed5293 typo OPS instead of OP, pointed by ad@ 2009-04-13 20:23:27 +00:00
christos fc036a6369 auto-define if we have 64 bit atomic ops. 2009-04-12 22:40:56 +00:00
christos 234834adea provide symlinks for the man pages too. 2009-04-12 21:00:48 +00:00
christos 61863ee15d hook bind 2009-04-12 17:13:42 +00:00
christos 69365232db more fixes for the import scripts 2009-04-12 17:08:03 +00:00
christos a7ff841fa1 add libbind2netbsd script based on bind2netbsd 2009-04-12 15:39:53 +00:00
christos b5677b3604 from ftp:///ftp.isc.org/isc/libbind import 6.0rc1. 2009-04-12 15:32:58 +00:00
christos 1030ae3f66 more description fixes. 2009-04-12 15:23:22 +00:00
christos 4491c6c7fc reflect new reality. 2009-04-12 15:05:59 +00:00
christos a52d4154df apply all our patches and the build glue 2009-04-12 03:46:04 +00:00
joerg d595a1c226 Import pkg_install-20090406:
Remove premature return that broke dependency tracking for pkg_add -u.
Fixes PR 41143.
2009-04-06 18:49:08 +00:00
joerg 7bacb5af4b Reimport libfetch-2.23 from pkgsrc, at least one change was lost. 2009-04-04 23:26:03 +00:00
mrg fcc023545e - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)
2009-03-29 01:02:48 +00:00
christos e78b589366 import new bind 2009-03-22 15:02:24 +00:00
christos e353dcca6a import new bind 2009-03-22 14:55:05 +00:00
wiz df00d5ab55 Fix merge error. 2009-03-21 10:09:16 +00:00
christos e6c7ef55a0 need udf. 2009-03-20 21:15:29 +00:00
christos e3fc2c5c61 typo 2009-03-20 21:14:21 +00:00
christos c0b438899b refresh 2009-03-20 21:13:48 +00:00
christos 1400370530 merge conflicts 2009-03-20 20:30:52 +00:00
christos 4bcd344e8f Import am-utils 6.x.y 2009-03-20 20:26:47 +00:00
njoly 6d58ff999b Update atf version to 0.6 for pkg-config files substitution.
ok by jmmv@
2009-03-11 15:57:08 +00:00
joerg 0c588b7da9 Import pkg_install-20090309:
Fix double free in pkg_info.
2009-03-10 00:48:40 +00:00
joerg 8a90f43fbf Import libfetch-2.23:
Don't leak file descriptors when iterating local directories or checking
for if-modified-since on local files.
2009-03-10 00:44:15 +00:00
ad 5e99d26fbe Adjust weight of SIDL down so idle kthreads don't eat up all of the
thread display
2009-03-08 16:26:03 +00:00
joerg 1b46f9c5df Merge pkg_install-20090307. 2009-03-08 14:53:16 +00:00
joerg 908e85af04 Import pkg_install-20090307: Fix a file descriptor leak in pkg_add. 2009-03-08 14:51:34 +00:00
joerg 08d9a1067c Avoid sign comparision issues. 2009-03-06 15:17:56 +00:00
joerg bae4fdf17e Import pkg_install-20090302:
- plug some file descriptor leaks
- add pkg_info -r
2009-03-02 22:31:13 +00:00
joerg 60d9c2168a Update build glue for pkg_install-20090228. 2009-02-28 19:36:32 +00:00
joerg 847d5ab660 Merge changes for pkg_install-20090228. 2009-02-28 19:36:23 +00:00
joerg e50ad3d100 Import pkg_install-20090228:
- pkg_add:
  - more consistent PKG_PATH processing
  - support setting PKG_PATH in pkg_install.conf(5)
  - don't crash when installing package with conflicts
  - fix updating packages with explicit +PRESERVE
  - document the rules for finding packages more clearly
- pkg_info:
  - don't complain about PKG_PATH, it is not used
  - sync documentation with reality
2009-02-28 19:33:34 +00:00
oster ab54f8ad2b On a multi-cpu/core machine, running 'top' and pressing '1' resulted
in n-1 blank lines at the bottom of the display.  On the same machine,
running 'top -1' and pressing '1' resulted in a garbled display that
would just get progressively worse.  Invert the values returned by
display_setmulti() to correct both issues.
2009-02-27 17:38:14 +00:00
joerg 8ef7bd4c41 Merge. 2009-02-26 19:40:24 +00:00
joerg 4d694e83af Remove pkg_install.conf.5 on make clean. 2009-02-26 18:35:13 +00:00
roy 3d26b90412 Import dhcpcd-4.0.12
Fixes since dhcpcd-4.0.11 include:
 * Logging to LOG_DAEMON instead of LOG_LOCAL0
 * Checking for POLLERR and POLLNVAL
 * Only opening raw sockets when we have a working link
2009-02-26 13:53:19 +00:00
joerg e0c851f773 Update build glue for pkg_install-20090225. 2009-02-25 21:23:17 +00:00
joerg 3018e10272 Import pkg_install-20090225:
- improve diagnostic for audit-packages wrapper
- new pkg_delete code:
  - topologocial ordering of packages
  - bails out before removing anything if it knows that it will run into
    problems later
  - new option -A: remove automatic installed packages that are no
    longer used (e.g. pkg_add foo; pkg_delete -A foo should not alter
    the list of installed packages)
- less chatty pkg_info for -Q
2009-02-25 21:21:40 +00:00
roy 27323c5250 Import dhcpcd-4.0.11
Fixes since dhcpcd-4.0.10 include recovery from send_packet failure
2009-02-21 10:12:30 +00:00
jmmv 658941c968 Build and install h_c; from Nicolas Joly in private mail. 2009-02-17 17:29:19 +00:00
joerg 6a4d107f7d Install pkg_install.conf(5). 2009-02-15 18:24:49 +00:00
joerg 9da2cc5c4b Update to libfetch-2.22:
- Support for conditional fetch
- Allow correctly overwriting fetchRestartCalls from signal handlers by
  making it volatile
- Explicitly document that the size of struct url can increase.
2009-02-14 19:36:51 +00:00
joerg b8b994aea2 Import pkg_install-20090214:
- pkg_add:
  - doesn't crash on missing +BUILD_INFO
  - for -u skip the package it will update when l oking for conflicts
  - don't fail in libarchive when trying to use directories as packages
- pkg_admin:
  - stricter argument checking for audit family of commands
  - fetch-pkg-vulnerabilities -u will only update if the remove file
    is newer
- pkg_delete:
  - fix PKG_METADATA_DIR passed to deinstall script
  - when using -d, ignore @dirrm
  - fix -d code to unregister the correct pkgdb entry
- pkg_info:
  - fix crashes on incomplete packages
2009-02-14 17:18:56 +00:00
lukem f092a45e5d fix -Wsign-compare issues 2009-02-12 09:05:13 +00:00
joerg 560d13285f Retire. 2009-02-05 19:58:17 +00:00
roy fe76f6974c Import dhcpcd-4.0.10
Changes since dhcpcd-4.0.9
 * Move the ARP check to after the REQUEST to be more RFC2131 conformant.
2009-02-04 09:08:46 +00:00
wiz ba273597f5 New sentence, new line. Use more markup. 2009-02-03 05:16:08 +00:00
joerg bb314659c8 Merge pkg_install-20090201 and update build system. 2009-02-02 20:47:19 +00:00