Commit Graph

4131 Commits

Author SHA1 Message Date
Michael Kerrisk 8d2394ac80 Link to mkstemp.3 2008-06-12 06:20:27 +00:00
Michael Kerrisk 20523df7ef Wrap source lines so that new sentence starts on new line. 2008-06-12 06:09:19 +00:00
Michael Kerrisk b4e9ee8f48 Document /proc/PID/oom_score, which was new in kernel 2.6.11.
This file displays the "badness" score of the process, which
provides the basis for OOM-killer decisions.

Document /proc/PID/oom_adj, which was new in kernel 2.6.11.
This file influences the oom_score of a process.

Document /proc/PID/limits, which was new in 2.6.24.
This file displays a process's resource limits.

Document /proc/PID/fdinfo/*, which was new in 2.6.22.
These files display info about each descriptor opened by the
process: the current file offset, and the file access mode +
file status flags as set in open() or fcntl(F_SETFL).

Document /proc/PID/mountinfo, which was new in 2.6.26.
This file displays information about mount points.
Closely based on text from Documentation/filesystems/proc.txt.

Document /proc/PID/mountstats, which was new in 2.6.17.
This file displays statistics about mount points.
2008-06-12 05:49:06 +00:00
Michael Kerrisk a3a22b7fc3 Add pointer to discussion of RLIMIT_RTTIME in getrlimit.2.
Rewrote and restructured various parts of the page for greater clarity.
2008-06-12 05:43:11 +00:00
Michael Kerrisk 6cefc99668 Add description of mkostemp(), new in glibc 2.7.
Fix discussion of O_EXCL flag.
These functions may also fail for any of the errors described in open(2).
Various other rewordings.
2008-06-12 05:18:05 +00:00
Michael Kerrisk c81e8a4261 Various minor changes. 2008-06-12 05:16:43 +00:00
Michael Kerrisk b78e3a8023 Document core_pattern pipe syntax, which appeared in kernel 2.6.19.
Add an example program demonstrating use of core_pattern pipe syntax.
Document /proc/PID/coredump_filter, new in kernel 2.6.23.
Documentation was based on the text in Documentation/filesystems/proc.txt,
plus testing, and reading the kernel source.
2008-06-12 04:59:28 +00:00
Michael Kerrisk b5c0095ae9 Clarify discussion of return value of sbrk().
DESCRIPTION: Add some sentences giving an overview of these interfaces.
Add note recommending use of malloc(3).
Change name of brk() argument to the simpler 'addr'.
Add "(void *)" cast to "-1" for error return of sbrk().
Removed some incorrect text about "brk(0)".
Note that SUSv2 specified the return value of sbrk().
Added a detail on the glibc brk() wrapper.
Remove discussions of standards old (C89 and POSIX.1-1990);
CONFORMING TO already discusses the situation with respect
to more recent standards.
2008-06-12 04:47:47 +00:00
Michael Kerrisk 28959f370d sync 2008-06-11 22:42:54 +00:00
Michael Kerrisk 3cde6db55c Add a few more words to DESCRIPTION.
NOTES: Add pointer to acct(5).
2008-06-11 22:42:23 +00:00
Michael Kerrisk aaed8ba0f9 A complete rewrite of this page, now with much more detail. 2008-06-11 22:37:54 +00:00
Michael Kerrisk 305865606d Note that Linux supports ACLs on POSIX named semaphores since 2.6.19. 2008-06-11 22:32:40 +00:00
Michael Kerrisk 8f36e23f07 Linux does not currently support ACLs for POSIX message queues. 2008-06-11 22:31:48 +00:00
Michael Kerrisk bf1082be77 Describe rules governing ownership of new files (bsdgroups
versus sysvgroups, and the effect of the parent directory's
set-group-ID permission bit).
2008-06-11 22:24:45 +00:00
Michael Kerrisk ad22ad5568 ffix 2008-06-11 22:19:03 +00:00
Michael Kerrisk 0689a4da14 Clarify description of chmod() and fchmod().
Add further detail on S_ISUID, S_ISGID, and S_ISVTX permissions.
Reformat list of permissions bits.
2008-06-11 22:14:00 +00:00
Michael Kerrisk 94b40171e1 Provide a clear description of the three types of address that can
appear in the sockaddr_un structure: pathname, unnamed, and abstract.
2008-06-11 22:11:06 +00:00
Michael Kerrisk 063212eb63 Changes for 3.01 2008-06-11 22:10:31 +00:00
Michael Kerrisk 23ce0537cb Add description of RLIMIT_RTTIME limit, new in 2.6.25. 2008-06-11 22:04:51 +00:00
Michael Kerrisk c734b9f234 NOTES: Note that access mode flags are not single bits,
and document the Linuxism "access mode 3".
See also http://thread.gmane.org/gmane.linux.kernel/653123.
2008-06-11 22:04:37 +00:00
Michael Kerrisk a9cfde1dbc SEE ALSO: add symlink.7 2008-06-11 21:50:53 +00:00
Michael Kerrisk 2b061b28a6 Minor tweaks 2008-06-11 21:50:28 +00:00
Michael Kerrisk 60435a752c SEE ALSO: Add hostname (7) 2008-06-11 21:31:42 +00:00
Michael Kerrisk eae3689b44 A description of symbolic links, taken from FreeBSD 6.2 and heavily edited. 2008-06-11 21:25:12 +00:00
Michael Kerrisk 06b00cff20 A description of hostnames, taken from FreeBSD. 2008-06-11 21:24:46 +00:00
Michael Kerrisk 9d6299e824 Note that EEXIST applies, even if the pathname is a
(possibly dangling) symbolic link.
2008-06-11 15:26:41 +00:00
Michael Kerrisk c4e453903d Re-order ERRORS and SEE ALSO entries to be alphabetical. 2008-06-11 13:57:31 +00:00
Michael Kerrisk 7f4d082329 Note that these functions are included in the next POSIX revision.
Remove editorial discussion about what the functions should have been named.
2008-06-11 13:52:05 +00:00
Michael Kerrisk c343e74cfd Added VERSIONS section. 2008-06-11 13:43:34 +00:00
Michael Kerrisk 294544e7b2 Expand description of VERSIONS section. 2008-06-11 13:41:00 +00:00
Michael Kerrisk a93bcd70d8 Added FIXME 2008-06-11 09:55:35 +00:00
Michael Kerrisk e04e8187d2 tfix 2008-06-11 06:57:00 +00:00
Michael Kerrisk 09eefc1f0c tfix 2008-06-11 06:55:04 +00:00
Michael Kerrisk 2581c94554 ffix 2008-06-11 06:42:14 +00:00
Michael Kerrisk bed63c46ad Clarify description a little.
s/changes the root directory/changes the root directory of the calling process/
2008-06-11 06:41:06 +00:00
Michael Kerrisk ffe84477ec s/process/calling process/ so as to that the alarm signal is
delivered to the calling process.
2008-06-11 06:31:49 +00:00
Michael Kerrisk 591e985663 tstamp update 2008-06-11 06:26:50 +00:00
Michael Kerrisk be095d1e02 tfix 2008-06-11 06:24:39 +00:00
Michael Kerrisk 7e8c232152 Remove statement that LSB deprecates the functions
"endmntent(), setmntent() [sic] and setmntent()".
This doesn't seem to be true (I can't find mention of
deprecation in any of the LSB specs).  Rather, LSB simply
doesn't specify these functions.  (LSB 1.3 had a spec of
setmntent(), but not getmntent() or endmntent(), and noted
that having a spec of setmntent() was of little use without
also having a spec of getmntent().)
See also https://lists.linux-foundation.org/pipermail/lsb-discuss/2006-October/003078.html
2008-06-11 06:23:44 +00:00
Michael Kerrisk aababe28d0 Recommend against drem(), in favor of remainder(). 2008-06-11 05:58:47 +00:00
Michael Kerrisk 2110d8391b Start of 3.01 2008-06-11 04:35:22 +00:00
Michael Kerrisk 9dc7cab57e Ready for 3.00 2008-06-11 04:20:37 +00:00
Michael Kerrisk a8ccb17194 Removed tabs 2008-06-10 12:35:25 +00:00
Michael Kerrisk b538137c0b syn 2008-06-10 12:32:16 +00:00
Michael Kerrisk 287aa4b436 sync 2008-06-10 12:29:11 +00:00
Michael Kerrisk 9708eb3749 Quote fixes 2008-06-10 12:29:07 +00:00
Michael Kerrisk 6c04f928e2 Fix use of quotes 2008-06-10 12:28:58 +00:00
Michael Kerrisk 2fd483fb22 sync 2008-06-10 10:56:25 +00:00
Michael Kerrisk 937c005734 sync 2008-06-10 10:28:40 +00:00
Michael Kerrisk a4653e5fd1 Removed tabs 2008-06-10 10:20:41 +00:00