Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Spezifikationen Seite 1

Stöbern Sie online oder laden Sie Spezifikationen nach Software Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE herunter. Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Porting Guide

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

Seite 2

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

Seite 3

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

Seite 4

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

Seite 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_

Seite 6

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

Seite 7

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

Seite 8

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

Seite 9

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

Seite 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_

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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 √ √

Seite 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

Seite 21 - Byte Ordering

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

Seite 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

Seite 23

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

Seite 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-

Seite 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

Seite 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

Seite 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

Seite 28

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

Seite 29

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

Seite 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

Seite 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

Seite 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

Seite 33

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

Seite 34

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

Seite 35

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 45

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 54

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

Seite 55

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

Seite 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

Seite 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

Seite 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

Seite 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}' )

Seite 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

Seite 61

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

Seite 62

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

Seite 63

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 69

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

Seite 70

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

Seite 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

Seite 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

Seite 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

Seite 74

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

Seite 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

Seite 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

Seite 77

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

Seite 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

Seite 79

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 95 - Upgrades

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

Seite 96

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 101

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

Seite 102

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

Seite 103

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

Seite 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

Seite 105

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

Seite 106

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

Seite 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

Seite 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

Seite 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

Seite 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

Kommentare zu diesen Handbüchern

Keine Kommentare