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 :-)
- 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
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.
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
- 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
- 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.
- 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