Details
- Reviewers
oshogbo emaste - Group Reviewers
capsicum - Commits
- rS350515: Capsicumize addr2line(1).
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 25577 Build 24181: arc lint + arc unit
Event Timeline
contrib/elftoolchain/addr2line/addr2line.c | ||
---|---|---|
719 | caph_enter. |
contrib/elftoolchain/addr2line/addr2line.c | ||
---|---|---|
713 | This can be a one linear: |
usr.bin/addr2line/Makefile | ||
---|---|---|
15 ↗ | (On Diff #60247) | Not using casper. |
usr.bin/addr2line/Makefile | ||
---|---|---|
15 ↗ | (On Diff #60247) | Ah, I thought this define was needed to use all caph_* |
contrib/elftoolchain/addr2line/addr2line.c | ||
---|---|---|
712 | IF THE ELF will be built without ELFTC_HAVE_MMAP it will require read permissions as well. Should we support that? |
contrib/elftoolchain/addr2line/addr2line.c | ||
---|---|---|
712 | I think this is probably overkill. _elftc.h defines ELFTC_HAVE_MMAP based on the target OS, it's not a compile-time configuration parameter. The capsicum additions are FreeBSD specific, so I think it's safe to simply assume that mmap is available. |
In file included from /usr/src/contrib/elftoolchain/addr2line/addr2line.c:30:
/usr/include/capsicum_helpers.h:42:10: fatal error: 'libcasper.h' file not found
#include <libcasper.h>
^~~~~~~~~~~~~
1 error generated.
- addr2line.o ---
- [addr2line.o] Error code 1
make[3]: stopped in /usr/src/usr.bin/addr2line
1 error
make[3]: stopped in /usr/src/usr.bin/addr2line
- cross-tools ---
- [cross-tools] Error code 2
make[2]: stopped in /usr/src
1 error
make[2]: stopped in /usr/src