This is particularly useful when installing programs for tests that need to be
linked statically, e.g., mini-me from capsicum-test, which is linked statically
to avoid the dynamic library lookup in the upstream project.
MFC after: 1 month
Differential D19756
Allow programs to set `NO_SHARED` on a per-prog basis ngie on Mar 29 2019, 7:06 PM. Authored by Tags None Referenced Files
Subscribers
Details This is particularly useful when installing programs for tests that need to be MFC after: 1 month Some programs from ^/projects/capsicum-test linked statically via this change: $ file /usr/tests/sys/capsicum-test/mini-me* /usr/tests/sys/capsicum-test/mini-me: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 13.0 (1300012), FreeBSD-style, stripped /usr/tests/sys/capsicum-test/mini-me.noexec: setuid ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 13.0 (1300012), FreeBSD-style, stripped /usr/tests/sys/capsicum-test/mini-me.setuid: setuid ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 13.0 (1300012), FreeBSD-style, stripped
Diff Detail
Event Timeline |