12 2009 档案
摘要:前言:以下表格中的内容部分出自《Advanced Programming in the UNIX® Environment: Second Edition》,部分由自己翻译。这里对部分小节(主要是第四章)中,涉及到的Unix系统的安全策略进行归纳整理。 When How 文件的读写执行权限 见我的上一篇文章:Linux C学习小总结(二)- 文件与目录(文件夹)权限的区别 The fil...
阅读全文
摘要:翻译自:http://en.wikipedia.org/wiki/File_system_permissionsPermissions(权限)The effect of setting the permissions on a directory (rather than a file) is "one of the most frequently misunderstood file permi...
阅读全文
摘要:标准输入,标准输出,标准错误:文件描述符(File Descriptor):STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO(unistd.h)文件指针(File *):stdin, stdout, stderr(stdio.h)头文件:sys/types.h:被unistd.h所引用,作用是预定义pid_t等类型(如typedef int pid_t),这些类...
阅读全文