Commit Graph

873 Commits

Author SHA1 Message Date
Michael Kerrisk d6d70cf942 Added SEE ALSO entries referring to new bsd_signal.3 and sysv_signal.3 pages. 2007-05-04 21:22:28 +00:00
Michael Kerrisk 7f82d75e0b Moved the discussion of async-signal-safe functions to signal(7).
Added text referring to the discussion of async-signal-safe
functions in signal(7).
2007-05-04 20:32:31 +00:00
Michael Kerrisk 2e519bf2eb Added text referring to the discussion of async-signal-safe
functions in signal(7).
A few other minor formatting and wording changes.
2007-05-04 20:32:14 +00:00
Michael Kerrisk f9a848cb2b Removed out of date FIXME 2007-05-01 15:27:18 +00:00
Michael Kerrisk 83314009c0 Place MAP_* flags list in alphabeitical order. 2007-05-01 15:23:23 +00:00
Michael Kerrisk ae0318dfac Removed out-of-date FIXME. 2007-05-01 15:12:39 +00:00
Michael Kerrisk b364fca092 Removed some comment text about interpreter scripts, placing
it instead in Changes file.
2007-05-01 14:34:02 +00:00
Michael Kerrisk e506533603 hyphen --> minus 2007-05-01 07:58:48 +00:00
Michael Kerrisk 32875790e8 Make hyphens into minus signs. 2007-05-01 07:57:14 +00:00
Michael Kerrisk 35f0f2f954 wfix 2007-04-30 16:11:48 +00:00
Michael Kerrisk 3996edf642 Added description of epoll_pwait(), new in kernel 2.6.19. 2007-04-30 16:08:08 +00:00
Michael Kerrisk 0265cd0106 Link to epoll_wait.2 2007-04-30 16:06:33 +00:00
Michael Kerrisk ab44d3d652 A fairly substantial rewrite, which among other things fixes the
reported by Kyle Sluder in http://bugzilla.kernel.org/show_bug.cgi?id=8399
And added some example code.
2007-04-30 15:32:25 +00:00
Michael Kerrisk d6f223a7e3 Mention effect of MS_NOSUID mount(2) flag for set-user-ID programs.
Expanded description of handling of file descriptors during
execve(), adding text to note that descriptors 0, 1, and 2
may be treated specially.
2007-04-30 14:30:17 +00:00
Michael Kerrisk e6b33ad7da Added an example program.
Expanded the discussion of interpreter scripts and the
'optional-arg' argument of an interpreter script.
Added text noting that FD_CLOEXEC causes record locks to be released.
2007-04-30 12:25:52 +00:00
Michael Kerrisk 3b5804b409 spfix 2007-04-30 10:58:27 +00:00
Michael Kerrisk 456960740c Add text noting that Linux allows 'argv' and 'envp' to be
NULL, but warning that this is non-standard and non-portable,
and should be avoided in portable programs.
Bug filed (http://bugzilla.kernel.org/show_bug.cgi?id=8408)
to get this changed, but maybe that won't be done because it
is an ABI change.
2007-04-30 10:39:32 +00:00
Michael Kerrisk cd24c68794 ffix 2007-04-30 09:00:59 +00:00
Michael Kerrisk 7fd8a3c9db wfix 2007-04-30 08:55:57 +00:00
Michael Kerrisk bab1c5df34 Removed out-of-date FIXME 2007-04-30 06:16:57 +00:00
Michael Kerrisk 0fcd5bc9cb "-1" should be "\-1" 2007-04-27 17:11:22 +00:00
Michael Kerrisk 18be658d0c s/nonnegative/non-negative/ 2007-04-24 19:10:31 +00:00
Michael Kerrisk 099c2a5971 Wrap long lines 2007-04-24 16:56:32 +00:00
Michael Kerrisk 1c44bd5b0b Wrap long lines; start sentences on new lines 2007-04-24 16:44:51 +00:00
Michael Kerrisk 88933758db Added some formatting fixes 2007-04-21 11:02:46 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk 273691af91 Remove crufty statement that this system call is not implemented.
The nice interval can be used to control the size of the round-robin
quantum.
2007-04-05 14:37:59 +00:00
Michael Kerrisk 41798314b6 Code formatting fixes 2007-04-05 14:17:54 +00:00
Michael Kerrisk 7295b7eda0 Replaced tabs with spaces 2007-04-05 13:29:41 +00:00
Michael Kerrisk 1bef0ec265 Moved timespec definition from SYNOPSIS into description. 2007-04-05 12:50:59 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk b9208776db Make SYNOPSIS match select.2. 2007-04-03 18:03:03 +00:00
Michael Kerrisk 332f4bb952 Include <sys/daemon.h> header in SYNOPSIS 2007-04-03 18:02:44 +00:00
Michael Kerrisk 66ac438177 tfix 2007-04-03 17:56:03 +00:00
Michael Kerrisk b9f027105c ffix 2007-04-03 15:32:52 +00:00
Michael Kerrisk 521bf58405 ffix 2007-04-03 14:04:54 +00:00
Michael Kerrisk ed9ed0f576 ffix 2007-04-03 13:03:04 +00:00
Michael Kerrisk 70d67e7929 ffix 2007-04-03 12:49:50 +00:00
Michael Kerrisk d12c14243e Formatting fixes + fixed return values. 2007-04-03 12:47:21 +00:00
Michael Kerrisk 538d54d9e9 Add text to note that EPOLLRDHUP appeared in kernel 2.6.17. 2007-03-25 13:40:58 +00:00
Michael Kerrisk f6a4055f3a Various improvements to DESCRIPTION. 2007-03-25 12:59:30 +00:00
Michael Kerrisk 814521a7d8 Removed out-of-date FIXME 2007-03-25 12:39:16 +00:00
Michael Kerrisk ae39cf8f79 Fix inconsistent argument names in SYNOPSIS and DESCRIPTION. 2007-03-18 06:20:17 +00:00
Michael Kerrisk 33e820cb39 Improve ENOENT description. 2007-03-18 06:00:32 +00:00
Michael Kerrisk 5bb80360ee ffix 2007-03-18 05:30:51 +00:00
Michael Kerrisk b857d3daac Fix RETURN VALUE description: returns error number of failure. 2007-03-11 07:08:35 +00:00
Michael Kerrisk 0579929938 tripped some excess/outdated text from the BUGS section. 2007-03-06 06:37:48 +00:00
Michael Kerrisk 87f434dfce If sops contains multiple operations, then these are performed
in array order.  All Unix systems that I know of do this,
and some Linux applications depend on this behaviour.  SUSv3
made no explicit statement here, but SUSv3 will explicitly
require this behaviour.
Small rewording of explanation of "atomically".
2007-03-04 17:29:43 +00:00
Michael Kerrisk 24825f2786 2.6.21 fixed several bugs in mincore() (according to Nick Piggin).
Small fix to ENONEM description.
2007-03-04 02:35:44 +00:00
Michael Kerrisk d44417fb63 Add "#define _ATFILE_SOURCE" to SYNOPSIS 2007-03-01 02:31:08 +00:00
Michael Kerrisk b438981878 Various fixes as per Debian bug 411177.
* s/effective/real/ in description test.
* added <fcntl.h> to synopsis.
* various other changes.
2007-03-01 02:25:14 +00:00
Michael Kerrisk c5405c0894 Fix EINVAL description 2007-03-01 01:43:47 +00:00
Michael Kerrisk 00877d8f0f tfix 2007-03-01 01:27:34 +00:00
Michael Kerrisk 1954b6a9b4 Remove duplicate word typo. 2007-03-01 01:12:16 +00:00
Michael Kerrisk 11dcec1d2a Small wording clarification. 2007-03-01 00:48:07 +00:00
Michael Kerrisk dc0b1e23b6 Since 2.6.20, access() honours the MS_NOEXEC mount flag. 2007-02-26 14:30:21 +00:00
Michael Kerrisk 926b6e378b Document MS_RELATIME, new in kernel 2.6.20. 2007-02-10 17:37:00 +00:00
Michael Kerrisk 60bb61aaee Added SEE ALSO entry pointing to time.7 2007-02-02 05:47:09 +00:00
Michael Kerrisk 0a90178cbb Add feature_test_macros(7) to SEE ALSO 2007-01-28 20:00:24 +00:00
Michael Kerrisk 0cce6cb992 The cpusetsize argument was only absent in glibc 2.3.3. 2007-01-12 18:07:50 +00:00
Michael Kerrisk 182d662267 Substantial rewrites to make clearer. 2007-01-07 21:26:24 +00:00
Michael Kerrisk 9f5773f75b On Linux, the error returned when opening a large file on a
32-bit system is actually EFBIG, not EOVERFLOW.
2007-01-06 23:31:16 +00:00
Michael Kerrisk 4ca6357577 tfix 2007-01-04 18:54:52 +00:00
Michael Kerrisk 7e91e5d883 Removed cryptic text under CONFORMING to referring to "open(2) and NFS". 2006-12-27 04:59:04 +00:00
Michael Kerrisk c2e8c91d54 Add reference to ipv6 to table. 2006-12-27 04:06:22 +00:00
Michael Kerrisk 459f24d56a ffix 2006-12-27 03:56:24 +00:00
Michael Kerrisk 3f74a33f53 Fix .TH line. 2006-12-27 03:55:15 +00:00
Michael Kerrisk 3547839964 wrap long source lines 2006-12-27 03:54:41 +00:00
Michael Kerrisk f921239486 Fix incorrect argument name in DESCRIPTION.
Small wording improvement.
2006-12-27 03:54:12 +00:00
Michael Kerrisk 5d693709d0 ffix 2006-12-27 03:44:22 +00:00
Michael Kerrisk 945dc55a8a wfix 2006-12-27 02:50:13 +00:00
Michael Kerrisk 79b8032e17 wfix 2006-12-27 02:48:57 +00:00
Michael Kerrisk a832b2d85b wfix 2006-12-27 02:47:18 +00:00
Michael Kerrisk fd2cf680a5 ffix 2006-12-27 02:42:01 +00:00
Michael Kerrisk 37d4cd1cee Slight rewording. 2006-12-27 02:41:07 +00:00
Michael Kerrisk 9606a1f374 wfix 2006-12-27 02:39:51 +00:00
Michael Kerrisk ecbd70cd8b tfix 2006-12-27 02:37:36 +00:00
Michael Kerrisk bc07c5149f pfix 2006-12-27 02:37:04 +00:00
Michael Kerrisk bedd18e502 tfix 2006-12-27 02:36:18 +00:00
Michael Kerrisk 1b3fc756cd s/EACCESS/EACCES/ 2006-12-27 01:47:20 +00:00
Michael Kerrisk 7b7c33c9d2 Remove sentence "gettimeofday() obsoleting time() on 4.3BSD".
This information is old, and probably no longer relevant.
See Debian bug 403888.
2006-12-27 01:10:14 +00:00
Michael Kerrisk 98a9c4b789 Updated CONFORMING TO 2006-12-18 00:46:28 +00:00
Michael Kerrisk 75b48e9d74 Various fixes to CONFORMING TO 2006-12-17 01:34:44 +00:00
Michael Kerrisk ec1c522895 wspfix 2006-12-17 01:17:37 +00:00
Michael Kerrisk d24e23199c s/Unices/Unix systems/ 2006-12-17 01:04:18 +00:00
Michael Kerrisk 1eb85d1484 Updated various header pages to accurately reflect which functions
are and are not part of C89.  Also fixed/improved a few other
CONFORMING TO entries.
2006-12-16 22:11:08 +00:00
Michael Kerrisk 9110c53a81 ffix 2006-12-16 20:56:09 +00:00
Michael Kerrisk cd270bc04b fix long line in source 2006-12-16 19:23:29 +00:00
Michael Kerrisk 6d3925acc3 When the parent receives an event with PTRACE_EVENT_* set, the child
is not in the normal signal delivery path.  This means the parent 
cannot do ptrace(PTRACE_CONT) with a signal or ptrace(PTRACE_KILL).  
kill() with a SIGKILL signal can be used instead to kill the child 
process after receiving one of these messages.
2006-12-16 19:18:56 +00:00
Michael Kerrisk a62f51211f Further substantial rewrites. 2006-12-05 07:40:31 +00:00
Michael Kerrisk 609af441be Clarified discussion of /count == 0/ case. 2006-12-04 05:36:13 +00:00
Michael Kerrisk ff929e3b15 Added more details to prototype.
Added discussion of IA-64's clone2() system call.
2006-12-04 05:25:49 +00:00
Michael Kerrisk 5e8cde2f2e Rewrote various parts to be clearer. 2006-12-04 04:50:15 +00:00
Michael Kerrisk e2b013adbc s%linux/aio.h%libaio.h% in SYNOPSIS
changed return type from "long" to "int"
2006-12-01 04:23:44 +00:00
Michael Kerrisk ee930c498f Added a few words to note that RLIMIT_NPROC is really a limit on
threads.
2006-12-01 03:49:20 +00:00
Michael Kerrisk 882b85db93 Removed text stating that mmap() never returns 0; that's not true. 2006-11-30 05:48:48 +00:00
Michael Kerrisk f6cfd01694 Elimitae duplicated text; grfix 2006-11-26 22:10:20 +00:00
Michael Kerrisk f363434666 Clarify discussion of privilege requirements.
Added ENOMEM to ERRORS.
2006-11-26 04:13:44 +00:00
Michael Kerrisk 9f3d8b28cd Clarify O_LARGEFILE description. 2006-11-25 18:35:39 +00:00
Michael Kerrisk 2dcbf4f7af tfix 2006-11-25 18:22:22 +00:00
Michael Kerrisk 037510969c tfix 2006-11-25 06:19:11 +00:00
Michael Kerrisk e061497331 Added FIXME 2006-11-25 04:13:21 +00:00
Michael Kerrisk be352a313b Add text describoing behaviour of the Linux brk() system call
and point out that the glibc brk() wrapper provides different behaviour.
Note that sbrk() is implemented as a library function in glibc that 
calls the brk() system call.
2006-11-25 04:13:11 +00:00
Michael Kerrisk 266a5e9172 FUTEX_FD is scheduled for removal in June 2007. 2006-11-25 01:57:28 +00:00
Michael Kerrisk 53e4da489a Since Linux 2.6.18, the PID of the new process is also available
for PTRACE_EVENT_VFORKDONE.
2006-11-25 01:21:51 +00:00
Michael Kerrisk bcdd964e2d Fix description of O_LARGEFILE to mention required feature test macros. 2006-11-25 01:00:24 +00:00
Michael Kerrisk e97b529a2a MNT_FORCE can cause data loss. 2006-10-04 14:44:36 +00:00
Michael Kerrisk 5535400717 Mosts systems support the synonym _SC_PAGE_SIZE (the only exception I
know is Darwin, and maybe it supports it by now as well).
2006-10-02 04:58:20 +00:00
Michael Kerrisk 9ec86f2990 Noted that sysconf(_SC_PAGE_SIZE) is preferred in portable applications. 2006-10-02 04:54:09 +00:00
Michael Kerrisk 96d969a22a Slight rewording 2006-10-02 04:51:18 +00:00
Michael Kerrisk a4775da652 tfix 2006-10-02 04:48:28 +00:00
Michael Kerrisk ebad513a93 Noted that sysconf(_SC_OPEN_MAX) is preferred in portable applications. 2006-10-02 04:48:10 +00:00
Michael Kerrisk 64536a1bf4 Document PR_GET_ENDIAND and PR_SET_ENDIAN. 2006-09-26 13:01:24 +00:00
Michael Kerrisk 5e6055f467 Since 2.6.18, POSIX_FADV_NOREUSE is a no-op. 2006-09-26 12:41:08 +00:00
Michael Kerrisk e87fdd92fa Updated Linux versions where the options where introduced.
Added PR_SET_TIMING, PR_GET_TIMING, PR_SET_NAME, PR_GET_NAME,
PR_SET_UNALIGN, PR_GET_UNALIGN, PR_SET_FPEMU, PR_GET_FPEMU,
PR_SET_FPEXC, PR_GET_FPEXC.
2006-09-26 12:03:11 +00:00
Michael Kerrisk a3b7f00b4a Since kernel 2.6.18, setting 2 for PR_SET_DUMPABLE is no longer possible. 2006-09-26 08:36:02 +00:00
Michael Kerrisk 34f7665a1c Added FIXME for priority inheritance operations. 2006-09-26 06:38:06 +00:00
Michael Kerrisk 2bc4bb77a9 New system calls in 2.6.17. 2006-09-18 12:35:34 +00:00
Michael Kerrisk 8231ec7de4 Added SEE ALSO referring to new splice.2 page. 2006-09-18 12:32:48 +00:00
Michael Kerrisk cdcaddfc07 Noted interactions with fork handlers in multithreaded programs. 2006-09-17 06:21:29 +00:00
Michael Kerrisk fe247268a9 The PR_SET_NAME setting is not preserved across an execve(). 2006-09-13 14:08:11 +00:00
Michael Kerrisk 7fc594a121 Added feature test macros to SYNOPSIS. 2006-09-09 06:37:43 +00:00
Michael Kerrisk 8106981956 s/SUID/set-user-ID/
s/SGID/set-group-ID/
2006-09-06 15:23:31 +00:00
Michael Kerrisk e743a18476 Add "#define _GNU_SOURCE" to SYNOPSIS. 2006-09-06 14:27:38 +00:00
Michael Kerrisk 3747f3976c Remove superfluous "#include <unistd.h>" from SYNOPSIS. 2006-09-06 13:58:21 +00:00
Michael Kerrisk 2b6832a92b Noted that sync_file_range() appeared in kernel 2.6.17. 2006-09-06 09:17:14 +00:00
Michael Kerrisk 9f339d4e28 Added EBUSY error for case where MS_INVALIDATE is applied to a locked region. 2006-09-06 08:36:15 +00:00
Michael Kerrisk 62a04c814e Added some EINVAL errors. 2006-09-06 04:44:04 +00:00
Michael Kerrisk c8f3e58070 Added note on Linux's old (pre-2.6.12) buggy treatment of length==0. 2006-09-05 12:24:48 +00:00
Michael Kerrisk 835c4d5ce4 Document MADV_REMOVE.
Document MADV_DONTFORK / MADV_DOFORK.
2006-09-05 11:47:03 +00:00
Michael Kerrisk 78cb591178 Mappings marked with madvise(MADV_DONTFORK) are not inherited by child. 2006-09-05 11:35:35 +00:00
Michael Kerrisk e7d3b0705c added FIXME 2006-09-05 08:03:37 +00:00
Michael Kerrisk 80a34ae3aa Added list of process attributes that are not preserved on exec(). 2006-09-04 12:27:37 +00:00
Michael Kerrisk dff08bbcbf Update .TH line 2006-09-04 11:30:36 +00:00
Michael Kerrisk a99426d3cf Greatly expanded, to describe all attributes that differ in parent and child. 2006-09-04 11:27:07 +00:00
Michael Kerrisk f55461f02f wfix/ffix 2006-09-04 09:26:59 +00:00
Michael Kerrisk aa43415854 Restore SEE ALSO reference to path_resolution.2. 2006-09-04 09:21:26 +00:00
Michael Kerrisk a7422469fd Fix header in example program. 2006-09-04 09:00:30 +00:00
Michael Kerrisk ef0b81712f wfix/tfix 2006-09-04 08:57:04 +00:00
Michael Kerrisk 3bd6a9b118 Memory policy is preserved across execve(). 2006-09-04 08:21:37 +00:00
Michael Kerrisk a5053dcb15 Reinstate text on CLONE_DETACHED, and add a few words. 2006-09-04 06:57:17 +00:00
Michael Kerrisk ab9260357e Document AT_SYMLINK_FOLLOW (new in 2.6.18). 2006-08-10 06:39:51 +00:00
Michael Kerrisk ed93deb2ba SEE ALSO should refer to writev.2, not writev.3 2006-08-10 05:15:07 +00:00
Michael Kerrisk 39b9794d6d wfix 2006-08-09 15:08:53 +00:00
Michael Kerrisk 1343b6043b Make naming of 'pathname' argument consistent; various minor rewordings. 2006-08-09 09:08:01 +00:00
Michael Kerrisk b328773d4d tfix/wfix 2006-08-08 16:34:16 +00:00
Michael Kerrisk db71f2e2a5 tfix 2006-08-08 16:26:04 +00:00
Michael Kerrisk a7fadb5558 Updated CONFOMRING TOs and/or standards references. 2006-08-04 12:39:17 +00:00
Michael Kerrisk 9d9dc1e854 Updated CONFORMING TO and/or standards references 2006-08-04 09:41:28 +00:00
Michael Kerrisk 953ba3f070 x 2006-08-04 08:41:13 +00:00