Linux Standard Base Core Specification 4.1
Copyright
© 2010 Linux Foundation
Table of Contents
Foreword
Status of this Document
Introduction
I.
Introductory Elements
1.
Scope
1.1.
General
1.2.
Module Specific Scope
2.
References
2.1.
Normative References
2.2.
Informative References/Bibliography
3.
Requirements
3.1.
Relevant Libraries
3.2.
LSB Implementation Conformance
3.3.
LSB Application Conformance
4.
Terms and Definitions
5.
Documentation Conventions
6.
Relationship To ISO/IEC 9945 POSIX
7.
Relationship To Other Linux Foundation Specifications
II.
Executable And Linking Format (ELF)
8.
Introduction
9.
Low Level System Information
9.1.
Operating System Interface
9.2.
Machine Interface
10.
Object Format
10.1.
Object Files
10.2.
Sections
10.3.
Special Sections
10.4.
Symbol Mapping
10.5.
DWARF Extensions
10.6.
Exception Frames
10.7.
Symbol Versioning
10.8.
ABI note tag
11.
Dynamic Linking
11.1.
Program Loading and Dynamic Linking
11.2.
Program Header
11.3.
Dynamic Entries
III.
Base Libraries
12.
Base Libraries
12.1.
Introduction
12.2.
Program Interpreter
12.3.
Interfaces for libc
12.4.
Data Definitions for libc
12.5.
Interface Definitions for libc
12.6.
Interfaces for libm
12.7.
Data Definitions for libm
12.8.
Interface Definitions for libm
12.9.
Interfaces for libpthread
12.10.
Data Definitions for libpthread
12.11.
Interface Definitions for libpthread
12.12.
Interfaces for libgcc_s
12.13.
Data Definitions for libgcc_s
12.14.
Interface Definitions for libgcc_s
12.15.
Interfaces for libdl
12.16.
Data Definitions for libdl
12.17.
Interface Definitions for libdl
12.18.
Interfaces for librt
12.19.
Data Definitions for librt
12.20.
Interfaces for libcrypt
12.21.
Interfaces for libpam
12.22.
Data Definitions for libpam
12.23.
Interface Definitions for libpam
IV.
Utility Libraries
13.
Utility Libraries
13.1.
Introduction
13.2.
Interfaces for libz
13.3.
Data Definitions for libz
13.4.
Interface Definitions for libz
13.5.
Interfaces for libncurses
13.6.
Data Definitions for libncurses
13.7.
Interface Definitions for libncurses
13.8.
Interfaces for libutil
13.9.
Interface Definitions for libutil
V.
Network Security Services
14.
Libraries
14.1.
Interfaces for libnspr4
14.2.
Data Definitions for libnspr4
14.3.
Interfaces for libnss3
14.4.
Data Definitions for libnss3
14.5.
Interfaces for libssl3
14.6.
Data Definitions for libssl3
VI.
Commands and Utilities
15.
Commands and Utilities
15.1.
Commands and Utilities
15.2.
Command Behavior
VII.
Execution Environment
16.
File System Hierarchy
16.1.
/dev
: Device Files
16.2.
/etc
: Host-specific system configuration
16.3.
User Accounting Databases
16.4.
Path For System Administration Utilities
17.
Additional Recommendations
17.1.
Recommendations for applications on ownership and permissions
18.
Additional Behaviors
18.1.
Mandatory Optional Behaviors
18.2.
Optional Mandatory Behaviors
18.3.
Executable Scripts
19.
Localization
19.1.
Introduction
19.2.
Regular Expressions
19.3.
Pattern Matching Notation
VIII.
System Initialization
20.
System Initialization
20.1.
Cron Jobs
20.2.
Init Script Actions
20.3.
Comment Conventions for Init Scripts
20.4.
Installation and Removal of Init Scripts
20.5.
Run Levels
20.6.
Facility Names
20.7.
Script Names
20.8.
Init Script Functions
IX.
Users & Groups
21.
Users & Groups
21.1.
User and Group Database
21.2.
User & Group Names
21.3.
User ID Ranges
21.4.
Rationale
X.
Package Format and Installation
22.
Software Installation
22.1.
Introduction
22.2.
Package File Format
22.3.
Package Script Restrictions
22.4.
Package Tools
22.5.
Package Naming
22.6.
Package Dependencies
22.7.
Package Architecture Considerations
A.
Alphabetical Listing of Interfaces
A.1.
libc
A.2.
libcrypt
A.3.
libdl
A.4.
libgcc_s
A.5.
libm
A.6.
libncurses
A.7.
libpam
A.8.
libpthread
A.9.
librt
A.10.
libutil
A.11.
libz
B.
GNU Free Documentation License (Informative)
B.1.
PREAMBLE
B.2.
APPLICABILITY AND DEFINITIONS
B.3.
VERBATIM COPYING
B.4.
COPYING IN QUANTITY
B.5.
MODIFICATIONS
B.6.
COMBINING DOCUMENTS
B.7.
COLLECTIONS OF DOCUMENTS
B.8.
AGGREGATION WITH INDEPENDENT WORKS
B.9.
TRANSLATION
B.10.
TERMINATION
B.11.
FUTURE REVISIONS OF THIS LICENSE
B.12.
How to use this License for your documents
List of Figures
10-1.
Version Definition Entries
10-2.
Version Definition Auxiliary Entries
10-3.
Version Needed Entries
10-4.
Version Needed Auxiliary Entries
11-1.
Dynamic Structure
List of Tables
2-1.
Normative References
2-2.
Other References
3-1.
Standard Library Names
3-2.
Standard Library Names defined in the Architecture Specific Parts of ISO/IEC 23360
9-1.
Scalar Types
10-1.
ELF Section Types
10-2.
Additional Section Types
10-3.
ELF Special Sections
10-4.
Additional Special Sections
10-5.
DWARF Exception Header value format
10-6.
DWARF Exception Header application
10-7.
Additional DWARF Call Frame Instructions
10-8.
Call Frame Information Format
10-9.
Common Information Entry Format
10-10.
Frame Description Entry Format
10-11.
.eh_frame_hdr
Section Format
11-1.
Linux Segment Types
12-1.
libc Definition
12-2.
libc - RPC Function Interfaces
12-3.
libc - RPC Deprecated Function Interfaces
12-4.
libc - Epoll Function Interfaces
12-5.
libc - System Calls Function Interfaces
12-6.
libc - System Calls Deprecated Function Interfaces
12-7.
libc - Standard I/O Function Interfaces
12-8.
libc - Standard I/O Deprecated Function Interfaces
12-9.
libc - Standard I/O Data Interfaces
12-10.
libc - Signal Handling Function Interfaces
12-11.
libc - Signal Handling Deprecated Function Interfaces
12-12.
libc - Signal Handling Data Interfaces
12-13.
libc - Localization Functions Function Interfaces
12-14.
libc - Localization Functions Data Interfaces
12-15.
libc - Posix Spawn Option Function Interfaces
12-16.
libc - Posix Advisory Option Function Interfaces
12-17.
libc - Socket Interface Function Interfaces
12-18.
libc - Socket Interface Data Interfaces
12-19.
libc - Wide Characters Function Interfaces
12-20.
libc - String Functions Function Interfaces
12-21.
libc - String Functions Deprecated Function Interfaces
12-22.
libc - IPC Functions Function Interfaces
12-23.
libc - Regular Expressions Function Interfaces
12-24.
libc - Character Type Functions Function Interfaces
12-25.
libc - Time Manipulation Function Interfaces
12-26.
libc - Time Manipulation Data Interfaces
12-27.
libc - Terminal Interface Functions Function Interfaces
12-28.
libc - System Database Interface Function Interfaces
12-29.
libc - System Database Interface Deprecated Function Interfaces
12-30.
libc - Language Support Function Interfaces
12-31.
libc - Large File Support Function Interfaces
12-32.
libc - Large File Support Deprecated Function Interfaces
12-33.
libc - Inotify Function Interfaces
12-34.
libc - Standard Library Function Interfaces
12-35.
libc - Standard Library Deprecated Function Interfaces
12-36.
libc - Standard Library Data Interfaces
12-37.
libc - GNU Extensions for libc Function Interfaces
12-38.
libm Definition
12-39.
libm - Math Function Interfaces
12-40.
libm - Math Deprecated Function Interfaces
12-41.
libm - Math Data Interfaces
12-42.
libpthread Definition
12-43.
libpthread - Realtime Threads Function Interfaces
12-44.
libpthread - Advanced Realtime Threads Function Interfaces
12-45.
libpthread - Posix Threads Function Interfaces
12-46.
libpthread - Posix Threads Deprecated Function Interfaces
12-47.
libpthread - Thread aware versions of libc interfaces Function Interfaces
12-48.
libpthread - GNU Extensions for libpthread Function Interfaces
12-49.
libgcc_s Definition
12-50.
libgcc_s - Unwind Library Function Interfaces
12-51.
libdl Definition
12-52.
libdl - Dynamic Loader Function Interfaces
12-53.
librt Definition
12-54.
librt - Shared Memory Objects Function Interfaces
12-55.
librt - Clock Function Interfaces
12-56.
librt - Timers Function Interfaces
12-57.
librt - Message Queues Function Interfaces
12-58.
libcrypt Definition
12-59.
libcrypt - Encryption Function Interfaces
12-60.
libpam Definition
12-61.
libpam - Pluggable Authentication API Function Interfaces
13-1.
libz Definition
13-2.
libz - Compression Library Function Interfaces
13-3.
libncurses Definition
13-4.
libncurses - Curses Function Interfaces
13-5.
libncurses - Curses Deprecated Function Interfaces
13-6.
libncurses - Curses Data Interfaces
13-7.
libutil Definition
13-8.
libutil - Utility Functions Function Interfaces
14-1.
libnspr4 Definition
14-2.
libnspr4 - Netscape Portable Runtime Function Interfaces
14-3.
libnss3 Definition
14-4.
libnss3 - NSS Utility Function Interfaces
14-5.
libssl3 Definition
14-6.
libssl3 - NSS SSL Function Interfaces
15-1.
Commands And Utilities
15-2.
Built In Utilities
15-1.
Escape Sequences
21-1.
Required User & Group Names
21-2.
Optional User & Group Names
22-1.
RPM File Format
22-2.
Signature Format
22-3.
Index Type values
22-4.
Header Private Tag Values
22-5.
Signature Tag Values
22-6.
Signature Digest Tag Values
22-7.
Signature Signing Tag Values
22-8.
Package Info Tag Values
22-9.
Installation Tag Values
22-10.
File Info Tag Values
22-11.
File Flags
22-12.
Package Dependency Tag Values
22-13.
Index Type values
22-14.
Package Dependency Attributes
22-15.
Other Tag Values
22-16.
CPIO File Format
A-1.
libc Function Interfaces
A-2.
libc Data Interfaces
A-3.
libcrypt Function Interfaces
A-4.
libdl Function Interfaces
A-5.
libgcc_s Function Interfaces
A-6.
libm Function Interfaces
A-7.
libm Data Interfaces
A-8.
libncurses Function Interfaces
A-9.
libncurses Data Interfaces
A-10.
libpam Function Interfaces
A-11.
libpthread Function Interfaces
A-12.
librt Function Interfaces
A-13.
libutil Function Interfaces
A-14.
libz Function Interfaces
Next >>>
Foreword