Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Spécifications

Naviguer en ligne ou télécharger Spécifications pour Logiciel Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE. Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Porting Guide

An Oracle Technical White Paper July 2012 Red Hat Enterprise Linux to Oracle Solaris Porting Guide

Page 2

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 9 Chapter 2 The Porting Process Recommended Strategy Due to both operating systems’ confo

Page 3

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 99 Appendix A Security and Privileges The Oracle Solaris 11 security privileges are defin

Page 4

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 100 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_FILE

Page 5 - Chapter 1 Introduction

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 101 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_IPC_

Page 6

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 102 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_PROC

Page 7

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 103 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_SYS_

Page 8

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 104 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_SYS_

Page 9

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 105 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_WIN_

Page 10 - Recommended Strategy

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 106 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_WIN_

Page 11 - Limiting the Scope

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 107 Appendix B GCC to Oracle Solaris Studio Compiler Flag Mapping The compiler flags show

Page 12 - Classification of Code

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 108 TABLE B-1. COMPILER FLAGS THAT REMAIN THE SAME GCC OPTION ORACLE SOLARIS STUDIO 12.3 O

Page 13

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 10 packages on top of the default installation. Hence, you will have to carefully set the P

Page 14 - Data Portability

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 109 Red Hat Enterprise Linux to Oracle Solaris Porting Guide July 2012, Version 1.0 Ora

Page 15 - • Proprietary databases

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 11 Hence, for a large application, understanding which files within the source distribution

Page 16 - Application Verification

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 12 systems. Oracle Solaris Studio 12.x is available on both RHEL and Oracle Solaris (SPARC

Page 17 - Memory Leak Detection

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 13 Data Portability Data Migration Considerations Data migration is one of the most challen

Page 18 - Storage Order and Alignment

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 14 Applications storing data that is shared between platforms can handle the endianness iss

Page 19 - Data Structures and Sizes

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 15 POPULAR PROPRIETARY DATABASES Oracle 11gR2 √ √ DB2 9.7.x √ √ Sybase 15.7.x √ √

Page 20

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 16 uncover a.out.uc A GUI will then appear for viewing coverage data. Memory Leak Detectio

Page 21 - Byte Ordering

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 17 Chapter 3 Operating System Considerations Supported Processor Architectures (Linux Ver

Page 22 - System APIs

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 18 The processor will have to issue two different read instructions to read the complete in

Page 23

Red Hat Enterprise Linux to Oracle Solaris Porting Guide What’s New in Oracle Solaris 11? ... 4 O

Page 24

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 19 Figure 3-3. Visual representation of how struct mydata would be padded to align with 4-

Page 25

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 20 type—and even the size of the type itself—can differ. And this is exactly what happens i

Page 26

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 21 The story is little different for member data in a structure, union, or class objects. T

Page 27

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 22 available on Oracle Solaris, either as system calls or library functions (APIs). There a

Page 28

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 23 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP

Page 29

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 24 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP

Page 30 - Oracle Solaris Studio

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 25 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP

Page 31 - Useful Tools

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 26 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP

Page 32 - Mapping

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 27 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP

Page 33

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 28 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP

Page 34

Red Hat Enterprise Linux to Oracle Solaris Porting Guide GNU Compiler Collection (GCC) Versus Oracle Solaris Studio Compiler Option Mapping ...

Page 35

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 29 Chapter 4 Application Development Environment Reducing Migration Costs Oracle Solaris

Page 36

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 30 • C, C++, and Fortran compilers for compiling code at the command line or through the I

Page 37

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 31 • Discover is a tool used by software developers to detect programming errors related t

Page 38

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 32 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S

Page 39

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 33 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S

Page 40

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 34 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S

Page 41

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 35 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S

Page 42

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 36 applications can have a dramatic impact on the overall performance of an application on

Page 43

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 37 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 44

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 38 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 45

Red Hat Enterprise Linux to Oracle Solaris Porting Guide Resource Limits on Oracle Solaris 11 ... 72 Mig

Page 46

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 39 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 47

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 40 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 48 - Debugging Applications

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 41 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 49

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 42 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 50

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 43 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 51 - Linux Threading Model

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 44 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 52

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 45 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 53

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 46 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON

Page 54

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 47 Debugging Applications Many powerful tools are available on Oracle Solaris 11 for debugg

Page 55

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 48 and recompile a native source file and continue executing without rebuilding the entire

Page 56 - OpenMP Support

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 4 Chapter 1 Introduction The purpose of this document is to enable developers to resolve

Page 57 - Using Thread Analyzer

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 49 • plockstat, which is a tool implemented using DTrace to print user-level lock statisti

Page 58 - % collect -r race app params

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 50 Chapter 5 Threads and Multiprocessing POSIX Compliance The standard POSIX.1c threads e

Page 59 - RHEL ORACLE SOLARIS 11

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 51 bash$ $( LD_ASSUME_KERNEL=2.12 ldd /bin/ls | grep libc.so |awk '{print $3}' )

Page 60

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 52 take into account some minor differences in the interface, which are largely due to edge

Page 61

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 53 TABLE 5-1. IMPLEMENTATION-LEVEL DIFFERENCES FUNCTION RHEL ORACLE SOLARIS 11 int pthrea

Page 62

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 54 Signals in Threaded Applications The RHEL POSIX thread implementation is process-centri

Page 63

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 55 applications. The number of simultaneous threads that can be accommodated is quite large

Page 64 - Chapter 7 Security

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 56 developer to specify how. Within legacy code, execution loops, in particular, often repr

Page 65 - Ensure Strong Defenses

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 57 % collect -r race app params % collect -r deadlock app params Finally, the results of t

Page 66

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 58 Chapter 6 Migrating the Device Drivers and Kernel Device driver software is tightly co

Page 67

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 5 Figure 1-1. Oracle Solaris is designed to meet the security, performance, and scalabilit

Page 68

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 59 TABLE 6-2. ENTRY POINTS AND IMPLEMENTATION DIFFERENCES RHEL ORACLE SOLARIS 11 The kern

Page 69

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 60 Device Driver Interface and Driver-Kernel Interface The following table lists the differ

Page 70

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 61 init_module() in Linux initializes a loadable module entry. In Oracle Solaris, _init()

Page 71

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 62 Best Practices for Porting Device Drivers and Kernel Modules The porting of device drive

Page 72 - Resource Limits on RHEL

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 63 Chapter 7 Security Security Interfaces for Developers For data centers hosting enterpr

Page 73 - Migrating Scripts

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 64 The least privilege model includes nearly 50 fine-grained privileges as well as the basi

Page 74

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 65 • A kernel cryptographic framework for kernel-level modules Note that consumers that ar

Page 75

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 66 TABLE 7-1. API AND IMPLEMENTATION DIFFERENCES RHEL ORACLE SOLARIS 11 int MD5_Final(unsi

Page 76

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 67 TABLE 7-1. API AND IMPLEMENTATION DIFFERENCES RHEL ORACLE SOLARIS 11 Blowfish Arcfour o

Page 77

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 68 • The hardware-assisted encryption can be used to enhance Oracle Database performance w

Page 78

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 6 RHEL conforms to the Linux Standard Base 4.0 (LSB 4.0) specification. The LSB is based on

Page 79

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 69 Chapter 8 Runtime Environment Though RHEL and Oracle Solaris are UNIX-based operating

Page 80 - RHEL Service Management

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 70 with the least privilege model to more securely run daemons such as httpd, which need to

Page 81

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 71 Resource Controls and Runtime Limits When moving from RHEL to Oracle Solaris 11, one rea

Page 82

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 72 On RHEL, after reboot, the rc.sysinit initialization script reads the /etc/sysctl.conf f

Page 83 - Migrating to SMF

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 73 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O

Page 84

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 74 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O

Page 85

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 75 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O

Page 86

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 76 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O

Page 87

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 77 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O

Page 88

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 78 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O

Page 89

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 7 GNU Compiler Collection (GCC) and other GNU tools are also available on both RHEL and Ora

Page 90 - # gcc -fPIC -c pam_module.c

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 79 /etc/rcN.d/ directories. With this arrangement, now it is possible to have centralized c

Page 91 - Applications

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 80 #/sbin/chkconfig --list crond crond 0:off 1:off 2:on 3:on 4:on 5:on 6

Page 92 - Categories of RPM Packages

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 81 intervention is required, system administrators can quickly identify the root cause of t

Page 93

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 82 You can disable a service with the following command, where service name is the name of

Page 94 - • Package dependencies:

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 83 Leveraging SMF Facilities in Oracle Solaris 11 The Oracle Solaris 11 SMF facility can be

Page 95 - Upgrades

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 84 Chapter 9 Infrastructure Differences Most enterprise applications have a great deal in

Page 96

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 85 PAM Configuration and Differences The following table lists the PAM-related system admin

Page 97

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 86 TABLE 9-2. SEQUENCE OF FUNCTION CALLS DURING PAM INVOCATION STEP-BY-STEP SEQUENCE ACTU

Page 98

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 87 TABLE 9-2. SEQUENCE OF FUNCTION CALLS DURING PAM INVOCATION STEP-BY-STEP SEQUENCE ACTUA

Page 99

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 88 Differences in PAM Data Structures and Function Calls The following table lists the diff

Page 100 - PRIVILEGE NAME DESCRIPTION

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 8 • Oracle's commitment for long-term investments • End-to-end 24 x 7 support from O

Page 101

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 89 Necessary Compiler Option, Linker Options, and Linked Libraries TABLE 9-4. COMPILATION S

Page 102

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 90 Chapter 10 Packaging and Distributing Applications With increasing trends towards cons

Page 103

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 91 • Signature: The signature contains size, checksums, and other such package signatures.

Page 104

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 92 Packaging on Oracle Solaris 11 Oracle Solaris 11 takes a new approach to package managem

Page 105

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 93 installation in order to refresh the system configuration. They can also specify actions

Page 106

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 94 Implementation Differences for Packaging The following table lists out the basic infrast

Page 107

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 95 TABLE 10-2. SYSTEM ADMINISTRATION RHEL ORACLE SOLARIS 11 To install or upgrade a packag

Page 108 - Flag Mapping

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 96 TABLE 10-3. CREATING A PACKAGE RHEL ORACLE SOLARIS 11 On RHEL, consider that a tar file

Page 109

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 97 TABLE 10-3. CREATING A PACKAGE RHEL ORACLE SOLARIS 11 Step 4—Specify package contents

Page 110

Red Hat Enterprise Linux to Oracle Solaris Porting Guide 98 TABLE 10-4. PUBLISHING A PACKAGE RHEL ORACLE SOLARIS 11 Once the package is ready, it c

Commentaires sur ces manuels

Pas de commentaire