Print this page
NEX-1643 dtrace provider for smbsrv
Also illumos 1841:
DTrace smb provider was mis-implemented, doesn't exist.
Add back handlers for read/write raw, so that
legacy dtrace consumers can find the probes.
Kill extra arg in smb_negotiate
Fix missing "done" probe with smb_notify
Add example consumer: smb-trace.d
fix soi_pid
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/pkg/manifests/service-file-system-smb.mf
+++ new/usr/src/pkg/manifests/service-file-system-smb.mf
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24 24 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
25 25 #
26 26
27 27 set name=pkg.fmri value=pkg:/service/file-system/smb@$(PKGVERS)
28 28 set name=pkg.description value="SMB Server libraries and commands"
29 29 set name=pkg.summary value="SMB Server"
30 30 set name=info.classification \
31 31 value="org.opensolaris.category.2008:System/File System"
32 32 set name=variant.arch value=$(ARCH)
33 33 dir path=lib
34 34 dir path=lib/svc
35 35 dir path=lib/svc/manifest group=sys
36 36 dir path=lib/svc/manifest/network group=sys
37 37 dir path=lib/svc/manifest/network/smb group=sys
38 38 dir path=lib/svc/method
39 39 dir path=usr group=sys
40 40 dir path=usr/kernel group=sys
41 41 dir path=usr/kernel/drv group=sys
42 42 dir path=usr/kernel/drv/$(ARCH64) group=sys
43 43 dir path=usr/kernel/kmdb group=sys
44 44 dir path=usr/kernel/kmdb/$(ARCH64) group=sys
45 45 dir path=usr/lib
46 46 dir path=usr/lib/fs group=sys
47 47 dir path=usr/lib/fs/smb group=sys
48 48 dir path=usr/lib/fs/smb/$(ARCH64) group=sys
49 49 dir path=usr/lib/mdb group=sys
50 50 dir path=usr/lib/mdb/kvm group=sys
51 51 dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
52 52 dir path=usr/lib/reparse
53 53 dir path=usr/lib/security
54 54 dir path=usr/lib/smbsrv
55 55 dir path=usr/lib/smbsrv/dtrace
56 56 dir path=usr/sbin
57 57 dir path=usr/share/man
58 58 dir path=usr/share/man/man1m
59 59 dir path=usr/share/man/man4
60 60 dir path=usr/share/man/man5
61 61 dir path=var group=sys
62 62 dir path=var/smb group=sys
63 63 dir path=var/smb/cvol group=sys
64 64 dir path=var/smb/cvol/windows group=sys
65 65 dir path=var/smb/cvol/windows/system32 group=sys
66 66 dir path=var/smb/cvol/windows/system32/vss group=sys
67 67 dir path=var/svc group=sys
68 68 driver name=smbsrv perms="* 0640 root sys"
69 69 file path=lib/svc/manifest/network/smb/server.xml group=sys mode=0444
70 70 file path=lib/svc/method/svc-smbd mode=0555
71 71 file path=usr/kernel/drv/$(ARCH64)/smbsrv group=sys
↓ open down ↓ |
71 lines elided |
↑ open up ↑ |
72 72 $(i386_ONLY)file path=usr/kernel/drv/smbsrv group=sys
73 73 file path=usr/kernel/drv/smbsrv.conf group=sys
74 74 file path=usr/kernel/kmdb/$(ARCH64)/smbsrv group=sys mode=0555
75 75 $(i386_ONLY)file path=usr/kernel/kmdb/smbsrv group=sys mode=0555
76 76 file path=usr/lib/fs/smb/$(ARCH64)/libshare_smb.so.1
77 77 file path=usr/lib/fs/smb/libshare_smb.so.1
78 78 file path=usr/lib/mdb/kvm/$(ARCH64)/smbsrv.so group=sys mode=0555
79 79 $(i386_ONLY)file path=usr/lib/mdb/kvm/smbsrv.so group=sys mode=0555
80 80 file path=usr/lib/reparse/libreparse_smb.so.1
81 81 file path=usr/lib/security/pam_smb_passwd.so.1
82 +file path=usr/lib/smbsrv/dtrace/smb-trace.d mode=0555
82 83 file path=usr/lib/smbsrv/dtrace/smbd-all.d mode=0555
83 84 file path=usr/lib/smbsrv/dtrace/smbd-authsvc.d mode=0555
84 85 file path=usr/lib/smbsrv/dtrace/smbd-doorsvc.d mode=0555
85 86 file path=usr/lib/smbsrv/dtrace/smbd-pipesvc.d mode=0555
86 87 file path=usr/lib/smbsrv/dtrace/smbnode.d mode=0555
87 88 file path=usr/lib/smbsrv/dtrace/smbsrv.d mode=0555
88 89 file path=usr/lib/smbsrv/dtrace/smbvfs.d mode=0555
89 90 file path=usr/lib/smbsrv/libmlrpc.so.1
90 91 file path=usr/lib/smbsrv/libmlsvc.so.1
91 92 file path=usr/lib/smbsrv/libsmb.so.1
92 93 file path=usr/lib/smbsrv/libsmbns.so.1
93 94 file path=usr/lib/smbsrv/smbd mode=0555
94 95 file path=usr/sbin/smbadm mode=0555
95 96 file path=usr/sbin/smbstat mode=0555
96 97 file path=usr/share/man/man1m/smbadm.1m
97 98 file path=usr/share/man/man1m/smbd.1m
98 99 file path=usr/share/man/man1m/smbstat.1m
99 100 file path=usr/share/man/man4/smb.4
100 101 file path=usr/share/man/man4/smbautohome.4
101 102 file path=usr/share/man/man5/pam_smb_passwd.5
102 103 file path=var/smb/cvol/windows/system32/eventlog.dll mode=0755
103 104 file path=var/smb/smbpasswd group=sys mode=0400 \
104 105 original_name=SUNWsmbs:var/smb/smbpasswd preserve=true
105 106 legacy pkg=SUNWsmbskr desc="SMB Server kernel root components" \
106 107 name="SMB Server (Kernel)"
107 108 legacy pkg=SUNWsmbsr desc="SMB Server root components" \
108 109 name="SMB Server (Root)"
109 110 legacy pkg=SUNWsmbsu desc="SMB Server libraries and commands" \
110 111 name="SMB Server (Usr)"
111 112 license cr_Sun license=cr_Sun
112 113 license lic_CDDL license=lic_CDDL
113 114 license usr/src/uts/common/fs/smbsrv/THIRDPARTYLICENSE.apple \
114 115 license=usr/src/uts/common/fs/smbsrv/THIRDPARTYLICENSE.apple
115 116 link path=usr/lib/reparse/libreparse_smb.so target=libreparse_smb.so.1
116 117 link path=usr/lib/security/pam_smb_passwd.so target=pam_smb_passwd.so.1
117 118 link path=usr/lib/smbsrv/libmlrpc.so target=libmlrpc.so.1
118 119 link path=usr/lib/smbsrv/libmlsvc.so target=libmlsvc.so.1
119 120 link path=usr/lib/smbsrv/libsmb.so target=libsmb.so.1
120 121 link path=usr/lib/smbsrv/libsmbns.so target=libsmbns.so.1
↓ open down ↓ |
29 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX