5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
  24  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  25  */
  26 
  27 #ifndef _S10_BRAND_H
  28 #define _S10_BRAND_H
  29 
  30 #ifdef  __cplusplus
  31 extern "C" {
  32 #endif
  33 
  34 #include <sys/brand.h>
  35 
  36 #define S10_BRANDNAME           "solaris10"
  37 
  38 #define S10_VERSION_1           1
  39 #define S10_VERSION             S10_VERSION_1
  40 
  41 #define S10_LIB_NAME            "s10_brand.so.1"
  42 #define S10_LINKER_NAME         "ld.so.1"
  43 
  44 #define S10_LIB32               BRAND_NATIVE_DIR "usr/lib/" S10_LIB_NAME
  45 #define S10_LINKER32            "/lib/" S10_LINKER_NAME
  46 
  47 #define S10_LIB64               BRAND_NATIVE_DIR "usr/lib/64/" S10_LIB_NAME
  48 #define S10_LINKER64            "/lib/64/" S10_LINKER_NAME
  49 
  50 #if defined(_LP64)
  51 #define S10_LIB         S10_LIB64
  52 #define S10_LINKER      S10_LINKER64
  53 #else /* !_LP64 */
  54 #define S10_LIB         S10_LIB32
  55 #define S10_LINKER      S10_LINKER32
  56 #endif /* !_LP64 */
  57 
  58 /*
  59  * Solaris 10 value of _SIGRTMIN, _SIGRTMAX, MAXSIG, NSIG
  60  */
  61 #define S10_SIGRTMIN    41
  62 #define S10_SIGRTMAX    48
  63 #define S10_MAXSIG      48
  64 #define S10_NSIG        49
  65 
  66 /*
  67  * Brand system call subcodes.  0-127 are reserved for generic subcodes.
  68  */
  69 #define B_S10_PIDINFO           128
  70 #define B_S10_NATIVE            130
  71 #define B_S10_FSREGCORRECTION   131
  72 #define B_S10_ISFDXATTRDIR      132
  73 
  74 /*
  75  * Versioning flags
 
 | 
 
 
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
  24  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  25  * Copyright (c) 2014, Joyent, Inc. All rights reserved.
  26  */
  27 
  28 #ifndef _S10_BRAND_H
  29 #define _S10_BRAND_H
  30 
  31 #ifdef  __cplusplus
  32 extern "C" {
  33 #endif
  34 
  35 #include <sys/brand.h>
  36 
  37 #define S10_BRANDNAME           "solaris10"
  38 
  39 #define S10_VERSION_1           1
  40 #define S10_VERSION             S10_VERSION_1
  41 
  42 #define S10_LIB_NAME            "s10_brand.so.1"
  43 #define S10_LINKER_NAME         "ld.so.1"
  44 
  45 #define S10_LIB32               BRAND_NATIVE_DIR "usr/lib/" S10_LIB_NAME
  46 #define S10_LIB64               BRAND_NATIVE_DIR "usr/lib/64/" S10_LIB_NAME
  47 
  48 #if defined(_LP64)
  49 #define S10_LIB         S10_LIB64
  50 #else /* !_LP64 */
  51 #define S10_LIB         S10_LIB32
  52 #endif /* !_LP64 */
  53 
  54 /*
  55  * Solaris 10 value of _SIGRTMIN, _SIGRTMAX, MAXSIG, NSIG
  56  */
  57 #define S10_SIGRTMIN    41
  58 #define S10_SIGRTMAX    48
  59 #define S10_MAXSIG      48
  60 #define S10_NSIG        49
  61 
  62 /*
  63  * Brand system call subcodes.  0-127 are reserved for generic subcodes.
  64  */
  65 #define B_S10_PIDINFO           128
  66 #define B_S10_NATIVE            130
  67 #define B_S10_FSREGCORRECTION   131
  68 #define B_S10_ISFDXATTRDIR      132
  69 
  70 /*
  71  * Versioning flags
 
 |