wireshark/capture
João Valverde 7a346c398a Enable rpathification and working relocation on Linux
Dumpcap depends on wsutil.so. The path to the shared library
is encoded in the RPATH (or RUNPATH) property of ELF binaries.
This is currently an absolute path on most Unixy systems.

Dumpcap could not be made to work with a relative RPATH because it
uses elevated privileges and some loaders will ignore relative
RPATHs and non-standard paths under those circumstances, because of
(justified) security concerns.

To enable relocation of the program we link dumpcap statically
with wsutil instead.

This provides a fully working relocatable installation on Linux
and other platforms that support relative RPATHs.
2023-01-29 23:38:00 +00:00
..
.editorconfig
CMakeLists.txt Enable rpathification and working relocation on Linux 2023-01-29 23:38:00 +00:00
airpcap.h Revert "A small for for the Doxygen warning:" 2022-06-20 09:56:54 +00:00
airpcap_loader.c Windows: Fix build 2022-02-24 20:29:04 +00:00
airpcap_loader.h Windows: Fix build 2022-02-24 20:29:04 +00:00
capture-pcap-util-int.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
capture-pcap-util-unix.c dumpcap: Fix a TODO for Npcap test 2022-02-24 21:15:51 +00:00
capture-pcap-util.c MinGW: Fix -Wstrict-aliasing 2023-01-13 22:41:04 +00:00
capture-pcap-util.h dumpcap: Fix a TODO for Npcap test 2022-02-24 21:15:51 +00:00
capture-wpcap.c Lemon: Update code and remove cruft 2023-01-01 18:18:06 +00:00
capture-wpcap.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
capture_ifinfo.c Replace g_strdup_printf() with ws_strdup_printf() 2021-12-19 21:21:58 +00:00
capture_ifinfo.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
capture_session.h capture: Convert sync pipe to GIOChannel 2022-10-23 13:17:10 +02:00
capture_sync.c MinGW: Fix -Wstrict-prototypes 2023-01-13 22:41:04 +00:00
capture_sync.h Clean up handling of --capture-comment. 2021-07-15 05:43:36 +00:00
capture_win_ifnames.c Refactor our logging and extend the wslog API 2021-06-11 09:40:28 +00:00
capture_win_ifnames.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
iface_monitor.c Replace g_snprintf() with snprintf() 2021-12-19 20:06:13 +00:00
iface_monitor.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00
ws80211_utils.c capture: Remove an unused variable. 2022-11-07 11:24:27 -08:00
ws80211_utils.h capture: Add header files to Doxygen 2021-11-30 06:27:26 +00:00