Print this page
OS-3517 lx brand: branded zones don't interpret .interp section

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/brand/sn1/sn1_brand.h
          +++ new/usr/src/uts/common/brand/sn1/sn1_brand.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  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   * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright (c) 2014, Joyent, Inc. All rights reserved.
  23   24   */
  24   25  
  25   26  #ifndef _SN1_BRAND_H
  26   27  #define _SN1_BRAND_H
  27   28  
  28   29  #ifdef  __cplusplus
  29   30  extern "C" {
  30   31  #endif
  31   32  
  32   33  #include <sys/brand.h>
  33   34  
  34   35  #define SN1_BRANDNAME           "sn1"
  35   36  
  36   37  #define SN1_VERSION_1           1
  37   38  #define SN1_VERSION             SN1_VERSION_1
  38   39  
  39   40  #define SN1_LIB_NAME            "sn1_brand.so.1"
  40      -#define SN1_LINKER_NAME         "ld.so.1"
  41   41  
  42   42  #define SN1_LIB32               BRAND_NATIVE_DIR "usr/lib/" SN1_LIB_NAME
  43      -#define SN1_LINKER32            "/lib/" SN1_LINKER_NAME
  44      -
  45   43  #define SN1_LIB64               BRAND_NATIVE_DIR "usr/lib/64/" SN1_LIB_NAME
  46      -#define SN1_LINKER64            "/lib/64/" SN1_LINKER_NAME
  47   44  
  48   45  #if defined(_LP64)
  49   46  #define SN1_LIB         SN1_LIB64
  50      -#define SN1_LINKER      SN1_LINKER64
  51   47  #else /* !_LP64 */
  52   48  #define SN1_LIB         SN1_LIB32
  53      -#define SN1_LINKER      SN1_LINKER32
  54   49  #endif /* !_LP64 */
  55   50  
  56   51  #if defined(_KERNEL)
  57   52  
  58   53  void sn1_brand_syscall_callback(void);
  59   54  void sn1_brand_syscall32_callback(void);
  60   55  
  61   56  #if !defined(sparc)
  62   57  void sn1_brand_sysenter_callback(void);
  63   58  #endif /* !sparc */
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX