Tài liệu Advanced Linux Programming: 10-Security ppt

Tài liệu Advanced Linux Programming: C Table of Signals ppt

Tài liệu Advanced Linux Programming: C Table of Signals ppt

... following: % man 7 signal Table C.1 Linux Signals Name Description SIGHUP Linux sends a process this signal when it becomes disconnected from a terminal. Many Linux programs use SIGHUP for an ... in /usr/include/sys/signum.h, which is included as part of <signal.h>. For a full list of Linux signals, including a short description of each and the default behavior when the signal...

Ngày tải lên: 21/01/2014, 07:20

2 453 0
Tài liệu Advanced Linux Programming: D Online Resources pptx

Tài liệu Advanced Linux Programming: D Online Resources pptx

... VISIT ON THE INTERNET to learn more about programming for the GNU /Linux system. D.1 General Information n http://www.advancedlinuxprogramming.com is this book’s home on the Internet. Here, you ... information about pro- gramming GNU /Linux. The same information can also be found at http://www.newriders.com. n http://www.linuxdoc.org is the home of the Linux Documentation Project. This sit...

Ngày tải lên: 21/01/2014, 07:20

2 338 0
Tài liệu Advanced Linux Programming: 2-Writing Good GNU/Linux Software pptx

Tài liệu Advanced Linux Programming: 2-Writing Good GNU/Linux Software pptx

... GNU /Linux system in certain ways. GNU/ Linux provides other ways for interacting with the operating environment, too. 03 0430 CH02 5/22/01 10:20 AM Page 17 36 Chapter 2 Writing Good GNU /Linux ... guidelines presented, you’ll be able to write programs that work well within the GNU /Linux environment and meet GNU /Linux users’ expec- tations of how programs should operate. 2.1 Interacti...

Ngày tải lên: 21/01/2014, 07:20

28 363 1
Tài liệu Advanced Linux Programming: 5-Interprocess Communication pptx

Tài liệu Advanced Linux Programming: 5-Interprocess Communication pptx

... call.The first argument is the address at which you would like Linux to map the file into your process’s address space; the value NULL allows Linux to choose an available start address.The second argument ... other processes. If you don’t specify this flag, Linux may buffer writes before transferring them to the file. Alternatively, you can force Linux to incorporate buffered writes...

Ngày tải lên: 26/01/2014, 07:20

32 398 0
Tài liệu Advanced Linux Programming: 6-Mastering Linux ppt

Tài liệu Advanced Linux Programming: 6-Mastering Linux ppt

... CH06 5/22/01 10:29 AM Page 145 Mastering Linux II 6 Devices 7 The /proc File System 8 Linux System Calls 9 Inline Assembly Code 10 Security 11 A Sample GNU /Linux Application 07 0430 PT02 5/22/01 ... on. Major device numbers are listed in the Linux kernel sources documentation. On many GNU /Linux distributions, this documentation can be found in /usr/src /linux/ Documentation/devices...

Ngày tải lên: 26/01/2014, 07:20

20 371 0
Tài liệu Advanced Linux Programming: 9-Inline Assembly Code ppt

Tài liệu Advanced Linux Programming: 9-Inline Assembly Code ppt

... directly.The Linux source code file /usr/src /linux/ arch/i386/kernel/process.s provides another example, using hlt in idle loop code. See other Linux source code files in /usr/src /linux/ arch/ and /usr/src /linux/ drivers/. Assembly

Ngày tải lên: 26/01/2014, 07:20

8 333 0
Tài liệu Advanced Linux Programming: 10-Security ppt

Tài liệu Advanced Linux Programming: 10-Security ppt

... Chapter 2,“Writing Good GNU /Linux Software,” Section 2.1.7,“Using Temporary Files,” we showed how to use mkstemp to create temporary files. Unfortunately, what mkstemp does on Linux is open the file ... simple programs. Full documentation about how PAM works is available in /usr/doc/pam on most GNU /Linux systems. 10.6 More Security Holes Although this chapter will point out a few commo...

Ngày tải lên: 26/01/2014, 07:20

22 305 0
Tài liệu Advanced Linux Programming: A-Other Development Tools pdf

Tài liệu Advanced Linux Programming: A-Other Development Tools pdf

... 277 Other Development Tools A DEVELOPING CORRECT, FAST C OR C++ GNU /LINUX PROGRAMS requires more than just understanding the GNU /Linux operating system and its system calls. In this appendix, we ... determine the currently executing function.These samples determine function execution times. Because Linux s clock ticks are 0.01 seconds apart, these interruptions occur, at most, every 0.01...

Ngày tải lên: 21/01/2014, 07:20

22 497 0
Tài liệu Advanced Linux Programming: B Low-Level I/O docx

Tài liệu Advanced Linux Programming: B Low-Level I/O docx

... I/O B CPROGRAMMERS ON GNU /LINUX HAVE TWO SETS OF INPUT/OUTPUT functions at their disposal.The standard C library provides I/O functions: printf, fopen, and so on. 1 The Linux kernel itself provides ... descriptor may cause Linux to take a particular action, depending on the nature of the file descriptor. For example, when you close a file descriptor for a network socket, Linux closes...

Ngày tải lên: 21/01/2014, 07:20

20 465 0
w