Linux Standard Base Specification 1.2


Table of Contents
I. Introduction
1. Introduction
Introduction
Purpose
Related Standards
Relevant Libraries
How to Use this Standard
Definitions
Terminology
II. Object Format
2. Object Files
3. Sections
Sections Types
4. Special Sections
Special Sections
5. Symbol Mapping
Symbol Mapping
6. Symbol Versioning
Symbol Version Table
Version Definitions
Version Requirements
Startup Sequence
Symbol Resolution
7. ABI note tag
III. Dynamic Linking
8. Program Loading and Dynamic Linking
9. Dynamic Entries
Dynamic Entries
10. Program Interpreter
IV. Base Libraries
11. Libraries
Interfaces for libc
Data Definitions for libc
Interfaces Definitions for libc
Interfaces for libm
Data Definitions for libm
Interfaces for libpthread
Data Definitions for libpthread
Interfaces Definitions for libpthread
Interfaces for libdl
Data Definitions for libdl
Interfaces Definitions for libdl
Interfaces for libcrypt
Data Definitions for libcrypt
V. Utility Libraries
12. Libraries
Interfaces for libz
Data Definitions for libz
Interfaces for libncurses
Data Definitions for libncurses
Interfaces for libutil
Data Definitions for libutil
Interfaces Definitions for libutil
VI. Graphic Libraries
13. Libraries
Interfaces for libX11
Data Definitions for libX11
Interfaces for libXext
Data Definitions for libXext
Interfaces for libSM
Data Definitions for libSM
Interfaces for libICE
Data Definitions for libICE
Interfaces for libXt
Data Definitions for libXt
Interfaces Definitions for libXt
Interfaces for libGL
Data Definitions for libGL
VII. Package Format and Installation
14. Software Installation
Package Format
Package Tools
Package Naming
Package Dependencies
Package Architecture Considerations
VIII. Commands and Utilities
15. Command and Utilities
Command and Utilities
Command Behavior
IX. Standard Shell
16. Standard Shell
Introduction
Standard Shell Exceptions
Standard Shell Rationale
X. Users & Groups
17. Users & Groups
User and Group Database
User & Group Names
UID Ranges
Rationale
XI. Execution Environment
18. File System Hierarchy
/dev
19. Additional Recommendations
Minimal granted Directory and File permissions
Recommendations for applications on ownership and permissions
20. Additional Behaviors
21. Localization
XII. System Initialization
22. System Initialization
Cron Jobs
Init Script Actions
Comment conventions for init scripts
Installation and removal of init.d files
Run Levels
Facility names
Script names
Init script Functions
A. Alphabetical Listing of Interfaces
libX11
libXt
libm
libGL
libXext
libICE
libSM
libdl
libcrypt
libz
libncurses
libutil
libc
libpthread
B. GNU Free Documentation License
PREAMBLE
APPLICABILITY AND DEFINITIONS
VERBATIM COPYING
COPYING IN QUANTITY
MODIFICATIONS
COMBINING DOCUMENTS
COLLECTIONS OF DOCUMENTS
AGGREGATION WITH INDEPENDENT WORKS
TRANSLATION
TERMINATION
FUTURE REVISIONS OF THIS LICENSE
How to use this License for your documents
List of Tables
1-1. Related Standards
1-2. Standard Libraries Names
1-3. Standard Library Names defined in the Architecture Specific Supplement
3-1. ELF Section Types
3-2. Additional Section Types
4-1. ELF Special Sections
4-2. Additional Special Sections
11-1. libc Definition
11-2. libc - RPC Function Interfaces
11-3. libc - System Calls Function Interfaces
11-4. libc - Standard I/O Function Interfaces
11-5. libc - Standard I/O Data Interfaces
11-6. libc - Signal Handling Function Interfaces
11-7. libc - Signal Handling Data Interfaces
11-8. libc - Standard Library Function Interfaces
11-9. libc - Standard Library Data Interfaces
11-10. libc - Localization Functions Function Interfaces
11-11. libc - Localization Functions Data Interfaces
11-12. libc - Socket Interface Function Interfaces
11-13. libc - Wide Characters Function Interfaces
11-14. libc - String Functions Function Interfaces
11-15. libc - IPC Functions Function Interfaces
11-16. libc - Regular Expressions Function Interfaces
11-17. libc - Regular Expressions Data Interfaces
11-18. libc - Character Type Functions Function Interfaces
11-19. libc - Character Type Functions Data Interfaces
11-20. libc - Time Manipulation Function Interfaces
11-21. libc - Time Manipulation Data Interfaces
11-22. libc - Terminal Interface Functions Function Interfaces
11-23. libc - System Database Interface Function Interfaces
11-24. libc - Language Support Function Interfaces
11-25. libc - Large File Support Function Interfaces
11-26. libm Definition
11-27. libm - Math Function Interfaces
11-28. libm - Math Data Interfaces
11-29. libpthread Definition
11-30. libpthread - Posix Threads Function Interfaces
11-31. libdl Definition
11-32. libdl - Dynamic Loader Function Interfaces
11-33. libcrypt Definition
11-34. libcrypt - Encryption Function Interfaces
12-1. libz Definition
12-2. libz - Compression Library Function Interfaces
12-3. libncurses Definition
12-4. libncurses - Curses Function Interfaces
12-5. libncurses - Curses Data Interfaces
12-6. libutil Definition
12-7. libutil - Utility Functions Function Interfaces
13-1. libX11 Definition
13-2. libX11 - X Windows System Interface Function Interfaces
13-3. libXext Definition
13-4. libXext - X Shape Extension Function Interfaces
13-5. libXext - X Display Power Management Signaling Extension Function Interfaces
13-6. libXext - X Shared Memory Extensions Function Interfaces
13-7. libXext - X Synchronization Extension Function Interfaces
13-8. libXext - X Security Extension Function Interfaces
13-9. libXext - X Double Buffer Extension Function Interfaces
13-10. libSM Definition
13-11. libSM - Session Management Functions Function Interfaces
13-12. libICE Definition
13-13. libICE - ICE Functions Function Interfaces
13-14. libXt Definition
13-15. libXt - X Toolkit Function Interfaces
13-16. libXt - X Toolkit Data Interfaces
13-17. libGL Definition
13-18. libGL - GL X interface Function Interfaces
13-19. libGL - OpenGL Function Interfaces
15-1. Commands and Utilities
17-1. Required User & Group Names
17-2. Optional User & Group Names
A-1. libX11 Function Interfaces
A-2. libXt Function Interfaces
A-3. libXt Data Interfaces
A-4. libm Function Interfaces
A-5. libm Data Interfaces
A-6. libGL Function Interfaces
A-7. libXext Function Interfaces
A-8. libICE Function Interfaces
A-9. libSM Function Interfaces
A-10. libdl Function Interfaces
A-11. libcrypt Function Interfaces
A-12. libz Function Interfaces
A-13. libncurses Function Interfaces
A-14. libncurses Data Interfaces
A-15. libutil Function Interfaces
A-16. libc Function Interfaces
A-17. libc Data Interfaces
A-18. libpthread Function Interfaces
List of Figures
6-1. Version Definition Entries
6-2. Version Definition Auxiliary Entries
6-3. Version Needed Entries
6-4. Version Needed Auxiliary Entries