]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Dynamically load .so modules to expand functionality
authorimp <imp@FreeBSD.org>
Thu, 6 Dec 2018 22:58:26 +0000 (22:58 +0000)
committerimp <imp@FreeBSD.org>
Thu, 6 Dec 2018 22:58:26 +0000 (22:58 +0000)
commit5503f79902711ea0eb2324857e92d803206f91b5
treedb54cec43d019af17143c184ae6ae96b0ba6c61d
parentcc672743e29a6eca7068bd535436b66bef782528
Dynamically load .so modules to expand functionality

o Dynamically load all the .so files found in /libexec/nvmecontrol and
  /usr/local/libexec/nvmecontrol.
o Link nvmecontrol -rdynamic so that its symbols are visible to the
  libraries we load.
o Create concatinated linker sets that we dynamically expand.
o Add the linked-in top and logpage linker sets to the mirrors for them
  and add those sets to the mirrors when we load a new .so.
o Add some macros to help hide the names of the linker sets.
o Update the man page.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D18455

fold
etc/mtree/BSD.root.dist
sbin/nvmecontrol/Makefile
sbin/nvmecontrol/logpage.c
sbin/nvmecontrol/ns.c
sbin/nvmecontrol/nvmecontrol.8
sbin/nvmecontrol/nvmecontrol.c
sbin/nvmecontrol/nvmecontrol.h
sbin/nvmecontrol/wdc.c
share/man/man7/hier.7