christos
a94376db50
use provide KERN_PROC_PATHNAME in PROC_ARGS.
2015-09-25 19:18:28 +00:00
christos
58ec3b3ba7
remove caddr_t
2015-09-25 19:09:38 +00:00
christos
800ae96385
Fix the broken detach code and make the proc tests detach instead
...
of continue, so that we don't get kernel diagnostic messages about
detaching traced processes.
2015-09-25 19:08:32 +00:00
christos
9a58287b9b
Add a proc_breakpoint_t and a proc_regval_t to abstract some types.
2015-09-25 16:07:32 +00:00
christos
b88569ce68
For processors that have memory breakpoints, add macros for them to help
...
libproc
2015-09-25 16:05:17 +00:00
christos
c09ba22ef4
Restore previous: only build libproc and librtld_db for dtrace since many
...
archs are not supported.
2015-09-25 11:39:08 +00:00
christos
c45350533b
Restore previous: only build libproc and librtld_db for dtrace support, since
...
many archs are not supported.
2015-09-25 11:38:12 +00:00
christos
dc1fa8fa85
we always build librtld_db and libproc.
2015-09-25 11:35:05 +00:00
christos
547df74cfc
libproc and librtld_db build fine without CTF and should always be available.
2015-09-25 11:34:07 +00:00
martin
e7ce0e573c
conditionalize librtld_db docs
2015-09-25 10:43:18 +00:00
martin
1cd8e8787f
More conditional dance for librtld_db
2015-09-25 10:30:36 +00:00
martin
2f0225ffc2
librtld_db depends on libproc, so conditionalize it as well
2015-09-25 10:08:35 +00:00
martin
c5c0f1ebc3
Try to fix set lists for libproc and librtld_db. The latter is probably
...
wrong and needs to be redone with COMPATARCHDIRS magic, but I can't
find any documentation how to do it. Matt?
2015-09-25 09:55:49 +00:00
mrg
a5c0f21e52
move GCC 4.8 users to using gcc.old. should be no functional change.
2015-09-25 08:24:20 +00:00
martin
31c357f656
Conditionalize libproc here as well (why is it entered twice anyway?)
2015-09-25 08:22:02 +00:00
martin
e662b1ba49
libproc depends on libctf, so conditionalize it with the same condition
2015-09-25 07:41:53 +00:00
christos
9657a4f4e1
fix debug and lint sets for i386
2015-09-24 20:27:40 +00:00
christos
810c90eba8
fix typo
2015-09-24 20:27:11 +00:00
christos
450b6a295e
bump libdtrace/libctf.
2015-09-24 20:04:57 +00:00
christos
f94f34a53d
include <sys/proc.h> explicitly for kthread_t
2015-09-24 19:55:00 +00:00
christos
c4db460182
Elf64_Sym.st_value (Elf64_Addr) which is what GElf_Sym using, is wider than
...
uintptr_t on 32 bit machines, so cast to it.
2015-09-24 19:25:37 +00:00
christos
bcf65cfcd7
%j needs uintmax_t not uintptr_t
2015-09-24 19:16:06 +00:00
christos
46e2ed0d2c
make dtrace follow libproc.
2015-09-24 18:37:33 +00:00
christos
ef15a8ede3
remove extra lintlibrary
2015-09-24 18:03:22 +00:00
macallan
8223c4230d
on mips64 we can use the whole PCI space, not just the two 32MB windows
...
accessible via KSEG*
2015-09-24 17:56:59 +00:00
christos
e3e9fedc50
forgotten lint libraries.
2015-09-24 16:37:09 +00:00
christos
bec53237f7
debug for libproc
2015-09-24 16:36:58 +00:00
christos
a2d53314ad
debug for libproc tests
2015-09-24 16:02:39 +00:00
christos
85dc0057a4
Hello lint.
2015-09-24 15:30:39 +00:00
christos
e0fbcc46ac
regen
2015-09-24 14:58:19 +00:00
christos
701e13f65d
document new sysctls
2015-09-24 14:56:41 +00:00
christos
5255484a24
add new libproc test stuff
2015-09-24 14:50:06 +00:00
christos
afbe6b2d68
update for libproc/librtld_db/dtrace changes
2015-09-24 14:49:38 +00:00
christos
58ad14e816
Hook up libproc and librtld_db into the build
2015-09-24 14:48:36 +00:00
christos
9451a2b98d
regen
2015-09-24 14:42:44 +00:00
christos
6d8b5c3e29
Regen
2015-09-24 14:40:09 +00:00
christos
3762d08e86
add kinfo_getvmmap() decl
2015-09-24 14:39:37 +00:00
christos
80a7733395
Add kinfo_getvmmap from FreeBSD
2015-09-24 14:39:20 +00:00
christos
1fc78635f7
new things
2015-09-24 14:37:56 +00:00
christos
72494a1078
Add build stuff.
2015-09-24 14:36:54 +00:00
christos
376cb84211
implement VM_PROC_MAP
2015-09-24 14:35:15 +00:00
christos
932cdb9b10
regen
2015-09-24 14:34:22 +00:00
christos
60513d8ba2
Add proc_find_locked(), which returns the process locked and does the
...
sysctl access check.
2015-09-24 14:33:31 +00:00
christos
25f4925cd9
implementation of KERN_PROC_PATHNAME, some refactoring for KERN_PROC.
2015-09-24 14:33:01 +00:00
christos
4f052c60ca
Add KERN_PROC_PATHNAME and VM_PROC_MAP used by libproc.
2015-09-24 14:32:15 +00:00
christos
a56c5627aa
create an array of altsyscallnames, which are the syscall names that the
...
libc api uses. For example syscallnames[293] = "__sigprocmask14",
altsyscallnames[293] = "sigprocmask". This is so that things like dtrace
can use the system call names everyone uses. The array is sparse; if the
names were the same (or for compat names) they are not copied and the array
has NULL for them.
2015-09-24 14:30:52 +00:00
christos
5377c71070
use the alternate syscall names if available
2015-09-24 14:26:44 +00:00
christos
bae6f8e175
new from FreeBSD
2015-09-24 14:26:09 +00:00
christos
c0855460da
sync with FreeBSD
2015-09-24 14:25:29 +00:00
christos
2cd1ca309f
remove dup copies of code that we've moved to dev a long while ago
2015-09-24 14:23:39 +00:00