summaryrefslogtreecommitdiff
path: root/usr/src/tools/quick
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2018-06-16 11:04:35 -0400
committerGordon Ross <gwr@nexenta.com>2019-05-28 13:34:10 -0400
commite0687fa3d7ea3b0bb17ed079bd9679fc2dffbf4b (patch)
treebcbd22579b236c3ebf9026ce795bdafd35fda169 /usr/src/tools/quick
parentdb46347b25b03d61611dcb9b588ee786da62c918 (diff)
downloadillumos-gate-e0687fa3d7ea3b0bb17ed079bd9679fc2dffbf4b.tar.gz
10983 add mdb walker for smbd share cache
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/tools/quick')
-rwxr-xr-xusr/src/tools/quick/make-smbsrv15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr/src/tools/quick/make-smbsrv b/usr/src/tools/quick/make-smbsrv
index d5809420d2..45a6f2d178 100755
--- a/usr/src/tools/quick/make-smbsrv
+++ b/usr/src/tools/quick/make-smbsrv
@@ -216,16 +216,14 @@ done
# mdb_arch is both 32-bit & 64-bit
for a in $mdb_arch
do
- (cd $SRC/cmd/mdb/$x/$a/libfksmbsrv &&
- $make $1 )
+ # We build these libraries (to the proto area), so we need to
+ # build the mdb modules for all dependent libraries too.
-# We build these libraries (to the proto area), so we need to
-# build the mdb modules too so mdb will load them.
- (cd $SRC/cmd/mdb/$x/$a/libcmdutils &&
- $make $1 )
- (cd $SRC/cmd/mdb/$x/$a/libavl &&
- $make $1 )
+ for lib in libfksmbsrv libmlsvc libcmdutils libavl
+ do
+ (cd $SRC/cmd/mdb/$x/$a/$lib && $make $1 )
+ done
done
}
@@ -272,6 +270,7 @@ usr/lib/fs/smb/$arch64/libshare_smb.so.1
usr/lib/fs/smb/libshare_smb.so.1
usr/lib/libsmbfs.so.1
usr/lib/mdb/kvm/$arch64/smbsrv.so
+usr/lib/mdb/proc/libmlsvc.so
usr/lib/reparse/libreparse_smb.so.1
usr/lib/security/pam_smb_passwd.so.1
usr/lib/smbsrv/dtrace