Print this page
NEX-16818 Add fksmbcl development tool
NEX-17264 SMB client test tp_smbutil_013 fails after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (fix ref leaks)
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/libfakekernel/common/sys/cmn_err.h
+++ new/usr/src/lib/libfakekernel/common/sys/cmn_err.h
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, Version 1.0 only
6 6 * (the "License"). You may not use this file except in compliance
7 7 * with the License.
8 8 *
9 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 * or http://www.opensolaris.org/os/licensing.
11 11 * See the License for the specific language governing permissions
12 12 * and limitations under the License.
13 13 *
14 14 * When distributing Covered Code, include this CDDL HEADER in each
15 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 * If applicable, add the following below this CDDL HEADER, with the
17 17 * fields enclosed by brackets "[]" replaced with your own identifying
18 18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 19 *
20 20 * CDDL HEADER END
21 21 */
22 22 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
23 23 /* All Rights Reserved */
24 24
25 25
26 26 /*
27 27 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
28 28 * Use is subject to license terms.
29 29 *
30 30 * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
31 31 * Copyright 2016 Joyent, Inc.
32 32 * Copyright 2017 RackTop Systems.
33 33 */
34 34
35 35 #ifndef _SYS_CMN_ERR_H
36 36 #define _SYS_CMN_ERR_H
37 37
38 38 #include <stdio.h>
39 39
40 40 #if !defined(_ASM) && (defined(_KERNEL) || defined(_FAKE_KERNEL))
41 41 #include <sys/va_list.h>
42 42 #endif
43 43
44 44 #include <sys/dditypes.h>
45 45
46 46 #ifdef __cplusplus
47 47 extern "C" {
48 48 #endif
49 49
50 50 /* Common error handling severity levels */
51 51
52 52 #define CE_CONT 0 /* continuation */
53 53 #define CE_NOTE 1 /* notice */
54 54 #define CE_WARN 2 /* warning */
55 55 #define CE_PANIC 3 /* panic */
56 56 #define CE_IGNORE 4 /* print nothing */
|
↓ open down ↓ |
56 lines elided |
↑ open up ↑ |
57 57
58 58 #if !defined(_ASM) && (defined(_KERNEL) || defined(_FAKE_KERNEL))
59 59
60 60 /*PRINTFLIKE2*/
61 61 extern void cmn_err(int, const char *, ...)
62 62 __KPRINTFLIKE(2);
63 63
64 64 extern void vcmn_err(int, const char *, __va_list)
65 65 __KVPRINTFLIKE(2);
66 66
67 +/*PRINTFLIKE3*/
68 +extern void zcmn_err(zoneid_t, int, const char *, ...)
69 + __KPRINTFLIKE(3);
70 +
67 71 /*PRINTFLIKE1*/
68 72 extern void panic(const char *, ...)
69 73 __KPRINTFLIKE(1) __NORETURN;
70 74
71 75 extern void vpanic(const char *, __va_list)
72 76 __KVPRINTFLIKE(1) __NORETURN;
73 77
78 +/*PRINTFLIKE2*/
79 +extern void zprintf(zoneid_t, const char *, ...)
80 + __KPRINTFLIKE(2);
81 +
74 82 #endif /* !_ASM && (_KERNEL || _FAKE_KERNEL) */
75 83
76 84 #ifdef __cplusplus
77 85 }
78 86 #endif
79 87
80 88 #endif /* _SYS_CMN_ERR_H */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX