freebsd-skq/contrib
emaste 41b576ab7d lldb: map TRAP_CAP to a trace trap
In the absense of a more specific handler for TRAP_CAP (generated by
ENOTCAPABLE or ECAPMODE while in capability mode) treat it as a trace
trap.

Example usage (testing the bug in PR219173):

% proccontrol -m trapcap lldb usr.bin/hexdump/obj/hexdump -- -Cv -s 1 /bin/ls
...
(lldb) run
Process 12980 launching
Process 12980 launched: '.../usr.bin/hexdump/obj/hexdump' (x86_64)
Process 12980 stopped
* thread #1, stop reason = trace
    frame #0: 0x0000004b80c65f1a libc.so.7`__sys_lseek + 10
...

In the future we should have LLDB control the trapcap procctl itself
(as it does with ASLR), as well as report a specific stop reason.
This change eliminates an assertion failure from LLDB for now.
2017-05-25 16:41:07 +00:00
..
amd
apr
apr-util
atf Skip tests depending on coredumps if coredumps are disabled via kern.coredump. 2017-05-16 18:42:44 +00:00
binutils Bring some rough support for FreeBSD S/390 to the GNU toolchain. 2017-05-23 16:38:10 +00:00
blacklist Extend libblacklist support with new action types 2017-05-23 19:03:07 +00:00
bmake Merge bmake-20170510 2017-05-10 22:45:05 +00:00
bsnmp Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
byacc Apply r274475's to expr.oxout.tab.c to fix the test on FreeBSD 2017-02-07 18:37:46 +00:00
bzip2
com_err
compiler-rt Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
cortex-strings
dialog
diff
dma dma.8: fix problems reported by igor and 'mandoc -Tlint' 2017-05-20 17:42:58 +00:00
dtc Merge from vendor branch importing dtc 1.4.3 2017-03-10 17:36:05 +00:00
ee
elftoolchain nm: document 'r' symbol type 2017-05-22 01:10:12 +00:00
expat
file
flex
gcc Bring some rough support for FreeBSD S/390 to the GNU toolchain. 2017-05-23 16:38:10 +00:00
gcclibs
gdb
gdtoa
gperf
groff
hyperv/tools hyperv/kvp: Fix pool direcrory and file permission 2017-05-04 01:46:04 +00:00
ipfilter Implement ippool command line IPv6 address parse support (for the -i 2017-05-16 02:48:46 +00:00
jemalloc Update jemalloc to 4.5.0. 2017-03-02 01:14:48 +00:00
ldns
ldns-host
less MFV r317581: less v491. 2017-05-05 14:33:39 +00:00
libarchive cpio/tests/test_option_lz4: fix a use after free in the failure case 2017-05-11 08:22:01 +00:00
libbegemot
libc-pwcache
libc-vis vis(3): delete spurious .Pp macro 2017-05-23 07:00:46 +00:00
libc++ Pull in r302362 from upstream libc++ trunk (by me): 2017-05-06 21:43:55 +00:00
libcxxrt Import libcxxrt master 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92. 2017-03-25 13:17:48 +00:00
libdivsufsort
libexecinfo
libgnuregex
libpcap MFV r316124: Fix build when WITHOUT_INET6. 2017-03-29 03:36:26 +00:00
libreadline
libstdc++ libstdc++: fix symbol version script for LLD 2017-04-19 19:06:47 +00:00
libucl Import libucl 20170219 2017-02-19 17:37:16 +00:00
libxo Import libxo-0.7.2; add xo_options.7. 2017-05-16 18:46:56 +00:00
llvm lldb: map TRAP_CAP to a trace trap 2017-05-25 16:41:07 +00:00
mdocml Import mandoc 1.4.1rc2 2017-02-19 17:46:37 +00:00
mknod
mtree
ncurses
netbsd-tests bsdgrep: Correct per-line line metadata printing 2017-05-20 11:20:03 +00:00
netcat Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
ngatm
ntp MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
nvi
ofed cxgbe/iw_cxgbe: Report accurate page_size_cap in ib_query_device. 2017-04-14 19:18:50 +00:00
one-true-awk MFV r315425: 2017-03-16 21:32:05 +00:00
openbsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
openpam Upgrade to OpenPAM Resedacea. 2017-05-05 13:31:25 +00:00
openresolv MFV r312970: 2017-01-30 16:32:53 +00:00
opie
pam_modules/pam_passwdqc
pf
pjdfstest
pnpinfo
sendmail Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
serf
smbfs
sqlite3
subversion
tcp_wrappers tcp_wrappers: Sprinkle some bounds-checked string copying 2017-04-14 00:45:09 +00:00
tcpdump Cherry-pick 5d3c5151c2b885aab36627bafb8539238da27b2d, it fixes use after free 2017-04-25 15:56:46 +00:00
tcsh MFV r315950: 2017-03-25 14:14:11 +00:00
telnet
tnftp
top Add -w to usage string. 2017-05-20 18:02:31 +00:00
traceroute Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
tzcode Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tzdata Import tzdata 2017b 2017-03-27 21:00:49 +00:00
unbound
unvis
vis
wpa
xz
zlib
zstd Import Zstandard 1.2.0 2017-05-06 10:26:40 +00:00