summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r--usr/src/uts/sparc/nsmb/Makefile6
-rw-r--r--usr/src/uts/sparc/nsmb/ioc_check.ref128
2 files changed, 70 insertions, 64 deletions
diff --git a/usr/src/uts/sparc/nsmb/Makefile b/usr/src/uts/sparc/nsmb/Makefile
index 85c05e9fcb..09b2bc72b9 100644
--- a/usr/src/uts/sparc/nsmb/Makefile
+++ b/usr/src/uts/sparc/nsmb/Makefile
@@ -21,10 +21,10 @@
#
# uts/sparc/nsmb/Makefile
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# sparc architecture dependent
#
@@ -94,6 +94,8 @@ LDFLAGS += -dy -Ncrypto/md4 -Ncrypto/md5 -Nmisc/tlimod
LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
+# Until CR 4994570 is fixed...
+LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
#
# Default build targets.
diff --git a/usr/src/uts/sparc/nsmb/ioc_check.ref b/usr/src/uts/sparc/nsmb/ioc_check.ref
index ead69ec44f..76660e2ef5 100644
--- a/usr/src/uts/sparc/nsmb/ioc_check.ref
+++ b/usr/src/uts/sparc/nsmb/ioc_check.ref
@@ -1,56 +1,62 @@
-#define SIZEOF_SOCKADDR_ANY 0x18
-#define SIZEOF_SOCKADDR_IN 0x10
-#define SIZEOF_SOCKADDR_NB 0x18
-#define SIZEOF_SMBIOC_OSSN 0x218
-#define IOC_SERVER 0x0
-#define IOC_LOCAL 0x18
-#define IOC_LOCALCS 0x30
-#define IOC_LOCALCS_INCR 0x1
-#define IOC_SERVERCS 0x40
-#define IOC_SERVERCS_INCR 0x1
-#define IOC_SRVNAME 0x50
-#define IOC_SRVNAME_INCR 0x1
-#define IOC_USER 0x60
-#define IOC_USER_INCR 0x1
-#define IOC_WORKGROUP 0xe1
-#define IOC_WORKGROUP_INCR 0x1
-#define IOC_SSN_PASSWD 0x162
-#define IOC_SSN_PASSWD_INCR 0x1
-#define IOC_SSN_OPT 0x1e4
-#define IOC_TIMEOUT 0x1e8
-#define IOC_RETRYCOUNT 0x1ec
-#define IOC_SSN_OWNER 0x1f0
-#define IOC_SSN_GROUP 0x1f4
-#define IOC_SSN_MODE 0x1f8
-#define IOC_SSN_RIGHTS 0x1fc
-#define IOC_INTOKLEN 0x200
-#define IOC_OUTTOKLEN 0x204
-#define _IOC_INTOK 0x208
-#define _IOC_OUTTOK 0x210
-#define SIZEOF_SMBIOC_OSHARE 0x120
-#define IOC_SHARE 0x0
-#define IOC_SHARE_INCR 0x1
-#define IOC_SH_PASSWD 0x81
-#define IOC_SH_PASSWD_INCR 0x1
-#define IOC_SH_OPT 0x104
-#define IOC_STYPE 0x108
-#define IOC_SH_OWNER 0x10c
-#define IOC_SH_GROUP 0x110
-#define IOC_SH_MODE 0x114
-#define IOC_SH_RIGHTS 0x118
-#define SIZEOF_SMBIOC_RQ 0x30
+#define ID_SRVADDR 0x0
+#define ID_DOMAIN 0x20
+#define ID_DOMAIN_INCR 0x1
+#define ID_USER 0x120
+#define ID_USER_INCR 0x1
+#define SSN_VOPT 0x0
+#define SSN_OWNER 0x4
+#define SSN_ID 0x8
+#define SSN_SRVNAME 0x228
+#define SSN_SRVNAME_INCR 0x1
+#define SH_PWLEN 0x0
+#define SH_NAME 0x4
+#define SH_NAME_INCR 0x1
+#define SH_PASS 0x104
+#define SH_PASS_INCR 0x1
+#define SH_TYPE_REQ 0x204
+#define SH_TYPE_REQ_INCR 0x1
+#define SH_TYPE_RET 0x20c
+#define SH_TYPE_RET_INCR 0x1
+#define TC_FLAGS 0x0
+#define TC_OPT 0x4
+#define TC_SH 0x8
+#define SV_PROTO 0x0
+#define SV_SM 0x2
+#define SV_TZ 0x4
+#define SV_MAXMUX 0x6
+#define SV_MAXVCS 0x8
+#define SV_RAWMODE 0xa
+#define SV_MAXTX 0xc
+#define SV_MAXRAW 0x10
+#define SV_SKEY 0x14
+#define SV_CAPS 0x18
+#define IS_TRAN_FD 0x0
+#define IS_VCFLAGS 0x4
+#define IS_HFLAGS 0x8
+#define IS_HFLAGS2 0xa
+#define IS_SMBUID 0xc
+#define IS_NEXT_MID 0xe
+#define IS_TXMAX 0x10
+#define IS_RWMAX 0x14
+#define IS_RXMAX 0x18
+#define IS_WXMAX 0x1c
+#define IS_SSN_KEY 0x20
+#define IS_SSN_KEY_INCR 0x1
+#define IS_NEXT_SEQ 0x30
+#define IS_U_MACLEN 0x34
+#define IS_U_MACKEY 0x38
+#define WK_IODS 0x0
+#define WK_SOPT 0x40
+#define WK_OUT_STATE 0x5c
+#define SIZEOF_SMBIOC_RQ 0x20
#define IOC_CMD 0x0
-#define IOC_TWC 0x1
-#define IOC_TBC 0x2
-#define IOC_RPBUFSZ 0x4
-#define IOC_RWC 0x9
-#define IOC_RBC 0xa
-#define IOC_RQ_ERRCLASS 0xd
-#define IOC_RQ_SERROR 0xe
-#define IOC_RQ_ERROR 0x10
-#define _IOC_TWORDS 0x18
-#define _IOC_TBYTES 0x20
-#define _IOC_RPBUF 0x28
+#define IOC_RQ_ERRCLASS 0x1
+#define IOC_RQ_SERROR 0x2
+#define IOC_RQ_ERROR 0x4
+#define IOC_TBUFSZ 0x8
+#define IOC_RBUFSZ 0xc
+#define _IOC_TBUF 0x10
+#define _IOC_RBUF 0x18
#define SIZEOF_SMBIOC_T2RQ 0xc0
#define IOC_SETUP 0x0
#define IOC_SETUP_INCR 0x2
@@ -71,22 +77,20 @@
#define _IOC_RDATA 0xb8
#define SIZEOF_SMBIOC_FLAGS 0xc
#define IOC_LEVEL 0x0
-#define IOC_MASK 0x4
-#define IOC_FLAGS 0x8
-#define SIZEOF_SMBIOC_LOOKUP 0x340
-#define IOC_LOOK_LEVEL 0x0
-#define IOC_LOOK_FLAGS 0x4
-#define IOC_SH 0x8
-#define IOC_SSN 0x128
+#define IOC_MASK 0x8
+#define IOC_FLAGS 0x4
#define SIZEOF_SMBIOC_RW 0x18
#define IOC_FH 0x0
#define IOC_CNT 0x4
#define _IOC_OFFSET 0x8
#define _IOC_BASE 0x10
-#define SIZEOF_SMBIOC_PK 0x304
+#define SIZEOF_SMBIOC_PK 0x224
+#define PK_UID 0x0
#define PK_DOM 0x4
#define PK_DOM_INCR 0x1
#define PK_USR 0x104
#define PK_USR_INCR 0x1
-#define PK_PASS 0x204
-#define PK_PASS_INCR 0x1
+#define PK_LMHASH 0x204
+#define PK_LMHASH_INCR 0x1
+#define PK_NTHASH 0x214
+#define PK_NTHASH_INCR 0x1