Commit Graph

244 Commits

Author SHA1 Message Date
wiz
35fa939a59 Sort sections, fix punctuation nits. 2002-01-15 02:53:04 +00:00
wiz
1d6df4a83c Sort sections, fix whitespace and punctuation nits. 2002-01-15 02:52:49 +00:00
wiz
50adf61724 Sort SEE ALSO. 2002-01-15 02:52:22 +00:00
wiz
923580f4b2 Sort sections and SEE ALSO, fix punctuation nits. 2002-01-15 02:52:09 +00:00
wiz
f6254de6da Sort sections. 2002-01-15 02:51:48 +00:00
lukem
efcc9a4c9d * Add user-controlled mk.conf variables
- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
thorpej
2c6ba846c5 Rename a local to avoid a -Wshadow warning. 2001-11-29 23:32:42 +00:00
lukem
11e3398883 WARNS=2 fixes 2001-11-05 14:59:21 +00:00
mrg
88199bcb84 undefine VA_VPG and VA_OFF before defining them. 2001-09-22 00:53:01 +00:00
wiz
9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
simonb
92a129c5fb Need <machine/pmap.h> for the pdei and ptei macros. 2001-09-17 12:48:20 +00:00
chuck
a089eada9d include machine/vmparam.h so it will compile once again 2001-09-07 01:48:37 +00:00
matt
55c1d5c2d5 Include <machine/vmparam.h> for VM_MIN_*... 2001-08-05 17:51:40 +00:00
matt
cce919e025 Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't
defined.  Include them explicitly in the few kvm_arch.c that need them.
2001-08-05 03:33:15 +00:00
matt
f6c7ed1948 Steal the variable VM_* stuff from m68k. 2001-07-16 05:45:52 +00:00
fvdl
6a150bca8d Add (mostly stub) x86-64 kvm stuff. Needs work. 2001-06-19 00:43:24 +00:00
fredette
f82a63dfb7 Added support for sun2 kernel cores. 2001-05-21 14:56:29 +00:00
simonb
a69a3cc5ec Spell occurred correctly. 2001-04-25 02:19:48 +00:00
simonb
ea5c187922 xref kvm_open. 2001-04-06 14:37:27 +00:00
jdolecek
10b43f7cd4 kvm_doargv2(): make sure the string ends with '\0'; sysctl() might not
properly end it if the data would be longer than the supplied
	buffer

This fixes lib/11467 by SAITOH Masanobu and lib/12389, maybe also
lib/12439.
2001-03-24 10:02:45 +00:00
jdolecek
233eee3634 Minor fix to kvm_doargv2() - if the kd->argv is reallocated, reinitialize
'ap' too. This doesn't seem to have any effect either way; seems like the
condition is never met?
2001-03-24 09:54:52 +00:00
bjh21
c4f68df178 Rename kvm_arm32.c to kvm_arm.c, since it's shared between arm32 and arm26.
The Makefile now finds the correct file without help.
2001-01-08 18:30:03 +00:00
itojun
99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun
8145e73c70 sh3 split 2001-01-04 08:59:24 +00:00
jdolecek
38f7c1d48b adapt to latest struct proc, struct sigacts, struct sigctx changes 2000-12-22 23:11:19 +00:00
msaitoh
dedc9b2e09 Add forgotten initialization.
Fixed PR#11446.
2000-11-16 08:57:15 +00:00
matt
6ea9494104 be consistent in the use of u_long. eventually they should be uintptr_t. 2000-10-27 21:38:10 +00:00
he
dd0d61e300 Use %lx instead of %x with _kvm_err when arg is u_long. 2000-10-10 20:44:16 +00:00
enami
3cc984aab8 Make this file compiles on alpha. 2000-10-05 03:21:01 +00:00
sommerfeld
934ef16427 Format size mismatch 2000-10-04 18:12:01 +00:00
sommerfeld
f9d3ae0fbb format-string audit cleanups 2000-10-04 16:11:27 +00:00
eeh
c8c5d91d87 Handle kernel cores properly. 2000-08-01 16:47:55 +00:00
christos
4678acf4ff revert part of previous; u_long -> uintptr_t now that uintptr_t is u_long. 2000-07-16 02:20:03 +00:00
christos
2d9658e4f7 de-lint. Most important problem was the cast from pointer to uintptr_t to
u_int64_t; changed the uintptr_t to u_long.
2000-07-16 02:04:11 +00:00
mrg
3b8ac18da2 <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 06:34:22 +00:00
mrg
0eac4bfcc7 use <uvm/uvm_param.h> now. 2000-06-26 17:36:56 +00:00
mrg
10a6db97ee remove redundant vm includes 2000-06-26 15:34:55 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
simonb
ec323af478 Document KVM_NO_FILES and kvm_get{proc,argv,envv}2(). Better wording
kindly accepted!

XXX: Need to update distrib lists.  Tomorrow...
2000-06-13 15:48:56 +00:00
msaitoh
b86435df37 libkvm for sh3 2000-06-06 17:57:02 +00:00
tron
be033824b6 Use "NULL" instead of "0" in pointer assignments and comparisons. 2000-06-04 23:03:27 +00:00
thorpej
d36becd30f p_schedflags doesn't exist anymore; just set it to zero for now,
although we'll be able to get the correct info through kmem
groveling later.
2000-05-27 01:03:00 +00:00
simonb
a9f690ae2a Add kvm interface to the new sysctls:
kvm_getproc2() -> sysctl(KERN_PROC2)
	kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV)
	kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV)
Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to
use the above calls without having to open any kernel files.

XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.
2000-05-26 02:42:21 +00:00
bjh21
6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
simonb
21bd11df50 Fill in e_sid when building the eproc from a crash dump. 2000-04-15 15:52:52 +00:00
simonb
e465cebbfc Document KERN_PROC_TTY_NODEV and KERN_PROC_TTY_REVOKE. 2000-04-15 04:38:47 +00:00
chs
e0acecf117 in kvm_getprocs(), check for error from kvm_deadprocs(). 2000-01-15 19:16:32 +00:00
chs
21eedb0ec1 the PMAP_NEW option is gone as the new interface is no longer optional. 1999-09-12 01:19:23 +00:00
cgd
1794a768f0 fix four major and one minor bug in dead kernel file-getting. Three
of the biggies crept in in rev. 1.10 (we need a lint trap!), the
others were here since the file was originally imported.
1999-08-19 05:42:56 +00:00
simonb
f68ec00b50 More trailing white space. 1999-07-02 15:28:49 +00:00