gecko-dev/netwerk
Haik Aftandilian 4591ba72b4 Bug 1770484 - Make Mac processes not depend on DYLD_LIBRARY_PATH to load libraries r=glandium,gsvelto,mac-reviewers,necko-reviewers,dragana,spohl
Change XUL and other dylibs to be built with an @rpath/<dylib> install name (LC_ID_DYLIB) instead of @executable_path/<dylib>.

Change executables to be built with an @rpath dyld search path set to @executable_path by default so that @rpath/<dylib> dylibs in the same directory can be resolved. For executables not in the same directory as @rpath dylibs, such as plugin-container, set a relative @rpath such as @executable_path/../../../.

Previously, dylib install names were set as @executable_path/<dylib> allowing them to be resolved by dyld for the loading executable if the executable resided in the same directory as the dylib. For executables not in the same directory as the dylibs, dyld resolved these dylibs using DYLD_LIBRARY_PATH set before launching the process by Firefox code. With this change, loading does not rely on DYLD environment variables. Instead, dylibs have an install name set as @rpath/<dylib> and each executable loading a dylib has its @rpath set at compile-time to refer to dylib directory.

Differential Revision: https://phabricator.services.mozilla.com/D147360
2022-06-03 21:14:01 +00:00
..
base Bug 1770869 - remove nsISSLSocketControl.clientCert r=jschanck,necko-reviewers,kershaw 2022-06-01 23:20:58 +00:00
build Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
cache Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
cache2 Bug 1769027 - Cleanup netwerk includes r=necko-reviewers,dragana 2022-05-30 14:21:13 +00:00
cookie Bug 1770881 - Mapping active logins to privacy.clearOnShutdown.sessions instead of -session . r=pbz 2022-05-24 17:37:53 +00:00
dns Bug 1768140 - Reset mTRRSuccess before a new lookup, r=necko-reviewers,dragana 2022-05-20 11:24:26 +00:00
docs Bug 1769754 - Networking Test Guidelines, r=necko-reviewers,eguloien,dragana DONTBUILD 2022-05-31 11:41:36 +00:00
ipc Bug 1354248 - Part 4: Make PageIconProtocolHandler use RemoteStreamGetter. r=necko-reviewers,nika,mak,ckerschb,kershaw 2022-06-03 15:17:34 +00:00
locales Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb 2022-04-05 08:20:25 +00:00
mime Bug 1769027 - Cleanup netwerk includes r=necko-reviewers,dragana 2022-05-30 14:21:13 +00:00
protocol Bug 1354248 - Part 3: Supply LoadInfoArgs through the RemoteStreamGetter mechanism. r=necko-reviewers,kershaw 2022-06-03 15:17:33 +00:00
sctp Bug 1767997 - Apply readability-make-member-function-const on dom/network r=andi 2022-05-13 05:35:25 +00:00
socket Bug 1770869 - remove nsISSLSocketControl.clientCert r=jschanck,necko-reviewers,kershaw 2022-06-01 23:20:58 +00:00
streamconv Bug 1769027 - Cleanup netwerk includes r=necko-reviewers,dragana 2022-05-30 14:21:13 +00:00
system Bug 1769027 - Cleanup netwerk includes r=necko-reviewers,dragana 2022-05-30 14:21:13 +00:00
test Bug 1770484 - Make Mac processes not depend on DYLD_LIBRARY_PATH to load libraries r=glandium,gsvelto,mac-reviewers,necko-reviewers,dragana,spohl 2022-06-03 21:14:01 +00:00
url-classifier Bug 1772105 - Use plain object for lazy getter in netwerk/url-classifier/. r=mccr8 2022-06-01 16:41:16 +00:00
wifi Bug 1207753 - netwerk nsWifiMonitor thread-safety annotations r=necko-reviewers,dragana 2022-03-23 14:55:16 +00:00
moz.build Bug 1696393 - Add in-tree HTTP cache docs r=necko-reviewers,sylvestre,dragana DONTBUILD 2021-03-08 10:28:11 +00:00