FreeBSD Developers' Handbook

FreeBSD ¤å¥ó­pµe

Åwªï¨Ï¥Î Developers' Handbook¡I ³o¥÷¤å¥ó¬O¥Ñ³\¦h¤H ¤£Â_¼¶¼g ¦Ó¦¨ªº¡A ¦Ó¥B³\¦h³¹¸`¤´»Ý§ó·s©ÎªÌ¤º®eÁÙ¬O¤@¤ùªÅ¥Õ¡A ¦pªG§A·QÀ°¦£ FreeBSD ¤å¥ó­p¹º¡A ½Ð±H«H¨ì FreeBSD documentation project ¶l»¼½×¾Â¡C

³Ì·sª©ªº¤å¥ó³£¦b FreeBSD ©xºô ¤W­±¡A ¤]¥i±q FreeBSD FTP server ¤U¸ü¤£¦P®æ¦¡ªº¸ê®Æ¡C ·íµM¤]¥i¥H¦b¨ä¥Lªº mirror¯¸¤U¸ü¡C


Table of Contents
I. °ò¥»·§©À
1 ²¤¶
1.1 ¦b FreeBSD ¶}µoµ{¦¡
1.2 The BSD Vision
1.3 µ{¦¡¬[ºc«ü«n
1.4 /usr/src ªº¬[ºc
2 µ{¦¡¶}µo¤u¨ã
2.1 ·§±Ô
2.2 ²¤¶
2.3 Programming ·§©À
2.4 ¥Î cc ¨Ó½s͵{¦¡
2.5 Make
2.6 Debugging
2.7 Using Emacs as a Development Environment
2.8 Further Reading
3 Secure Programming
3.1 Synopsis
3.2 Secure Design Methodology
3.3 Buffer Overflows
3.4 SetUID issues
3.5 Limiting your program's environment
3.6 Trust
3.7 Race Conditions
4 Localization and Internationalization - L10N and I18N
4.1 Programming I18N Compliant Applications
5 Source Tree Guidelines and Policies
5.1 MAINTAINER on Makefiles
5.2 Contributed Software
5.3 Encumbered Files
5.4 Shared Libraries
6 Regression and Performance Testing
6.1. Micro Benchmark Checklist
II. Interprocess Communication(IPC)
7 Sockets
7.1 Synopsis
7.2 Networking and Diversity
7.3 Protocols
7.4 The Sockets Model
7.5 Essential Socket Functions
7.6 Helper Functions
7.7 Concurrent Servers
8 IPv6 Internals
8.1 IPv6/IPsec Implementation
III. Kernel(®Ö¤ß)
9 DMA
9.1 DMA: What it is and How it Works
10 Kernel Debugging
10.1 Obtaining a Kernel Crash Dump
10.2 Debugging a Kernel Crash Dump with kgdb
10.3 Debugging a Crash Dump with DDD
10.4 Post-Mortem Analysis of a Dump
10.5 On-Line Kernel Debugging Using DDB
10.6 On-Line Kernel Debugging Using Remote GDB
10.7 Debugging Loadable Modules Using GDB
10.8 Debugging a Console Driver
10.9 Debugging the Deadlocks
IV. Architectures(¹q¸£¬[ºc)
11 x86 Assembly Language Programming
11.1 Synopsis
11.2 The Tools
11.3 System Calls
11.4 Return Values
11.5 Creating Portable Code
11.6 Our First Program
11.7 Writing UNIX® Filters
11.8 Buffered Input and Output
11.9 Command Line Arguments
11.10 UNIX® Environment
11.11 Working with Files
11.12 One-Pointed Mind
11.13 Using the FPU
11.14 Caveats
11.15 Acknowledgements
V. ªþ¿ý
Bibliography
List of Examples
2-1. A sample .emacs file

¥»¤å¤Î¨ä¥L¤å¥ó¡A¥i¥Ñ¦¹¤U¸ü¡Gftp://ftp.FreeBSD.org/pub/FreeBSD/doc/¡C

­Y¦³ FreeBSD ¤è­±ºÃ°Ý¡A½Ð¥ý¾\Ū FreeBSD ¬ÛÃö¤å¥ó¡A¦p¤£¯à¸Ñ¨Mªº¸Ü¡A¦A¬¢¸ß <questions@FreeBSD.org>¡C
Ãö©ó¥»¤å¥óªº°ÝÃD¡A½Ð¬¢¸ß <doc@FreeBSD.org>¡C