Commit Graph

812 Commits

Author SHA1 Message Date
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
Michael Kerrisk ead8304237 _XOPEN_SOURCE=500 also gets fchdir() prototype. 2006-08-04 08:39:48 +00:00
Michael Kerrisk 0ae3116f0b ffix 2006-08-04 08:23:27 +00:00
Michael Kerrisk 97c1eac86f Updated CONFORMING TO section 2006-08-03 13:57:17 +00:00
Michael Kerrisk 5e3d68ad97 Removed information on standards to new standards.7. 2006-08-03 06:24:54 +00:00
Michael Kerrisk 97c5342731 Added SEE ALSO referring to standards.7 2006-08-03 06:13:56 +00:00
Michael Kerrisk 7741d967a4 Minor wording change. 2006-08-03 03:40:29 +00:00
Michael Kerrisk 29973b4e7b wfix 2006-08-03 03:03:19 +00:00
Michael Kerrisk cb1c9135d0 ffix 2006-08-03 03:02:31 +00:00
Michael Kerrisk 160c2d5a26 ffix 2006-08-03 02:45:30 +00:00
Michael Kerrisk 43487dbb6e ffix 2006-08-03 02:40:44 +00:00
Michael Kerrisk 635c9a5437 pfix 2006-08-03 02:38:50 +00:00
Michael Kerrisk 2b5cefe852 Noted buggy behaviour in Linux 2.4 and earlier when
nanosleep() is restarted after receiving stop+SIGCONT signals.
2006-07-31 15:18:14 +00:00
Michael Kerrisk dd28cb72a8 Some rewording; included text describing required file permissions. 2006-07-27 07:38:05 +00:00
Michael Kerrisk 68ed2733d2 ffix 2006-07-27 05:03:27 +00:00
Michael Kerrisk 5356032615 ffix 2006-07-27 04:29:02 +00:00
Michael Kerrisk 2cfa66cf54 Fix description of EBADF error. 2006-07-22 17:37:37 +00:00
Michael Kerrisk 07b501d1b9 Add text noting that effective IDs are copied to
saved set-IDs during execve().
2006-07-22 17:24:17 +00:00
Michael Kerrisk 8de811e83f Noted effect of fork() and execve(). 2006-07-22 15:54:34 +00:00
Michael Kerrisk 73ac06664b Noted effect of fork() and execve(). 2006-07-22 14:45:50 +00:00
Michael Kerrisk eb57f0f568 Noted effect of fork() and execve() on resource limits. 2006-07-22 14:37:54 +00:00
Michael Kerrisk ef828a01d8 Noted effect of fork() and execve(). 2006-07-22 14:26:12 +00:00
Michael Kerrisk 75fcdb0894 Noted effect of fork() and execve(). 2006-07-22 14:21:39 +00:00
Michael Kerrisk ddb51c37d0 Noted preservation of scheduling parameters across execve(). 2006-07-22 14:14:36 +00:00
Michael Kerrisk 27cb988470 (Previous change) Noted effect of fork() and execve() on nice value. 2006-07-22 14:12:19 +00:00
Michael Kerrisk 2cab31c61d Very minor rewording. 2006-07-22 14:10:33 +00:00
Michael Kerrisk 70cbdedffa Very minor rewording. 2006-07-22 14:07:21 +00:00
Michael Kerrisk 51ffcca030 Expand description of MAP_POPULATE.
Expand description MAP_NONBLOCK.
Various minor formatting fixes.
2006-07-21 22:23:51 +00:00
Michael Kerrisk 16fd68e14f ffix 2006-07-21 21:40:47 +00:00
Michael Kerrisk a28e26a155 s%IO%I/O% 2006-07-21 14:56:18 +00:00
Michael Kerrisk c07981e716 New page for readlinkat(2). 2006-07-21 14:41:30 +00:00
Michael Kerrisk 591f90f794 Added SEE ALSO linking to readlinkat.2. 2006-07-21 14:38:06 +00:00
Michael Kerrisk 50bf674b91 spfix 2006-07-21 00:12:36 +00:00
Michael Kerrisk 5c51897d0e spfix 2006-07-21 00:09:52 +00:00
Michael Kerrisk a6183de06a ffix 2006-07-21 00:08:32 +00:00
Michael Kerrisk defcceb3e7 ffix 2006-07-20 16:16:51 +00:00
Michael Kerrisk a7fc86905d pfix 2006-07-12 14:08:48 +00:00
Michael Kerrisk 7f5284ed8f Revised description of standards under CONFORMING TO. 2006-07-11 15:42:23 +00:00
Michael Kerrisk 24b3ed1dad Updated FIXME 2006-07-11 04:24:13 +00:00
Michael Kerrisk d9cded8e86 Removed FIXME 2006-07-11 04:23:21 +00:00
Michael Kerrisk a31272feff Updated FIXME 2006-07-11 04:19:49 +00:00
Michael Kerrisk 72052bcef3 Removed old FIXME 2006-07-11 04:15:25 +00:00
Michael Kerrisk db04da1f6e Fix description of 'offset' argument to explain the case
where 'offset' is NULL.
2006-07-10 15:48:17 +00:00
Michael Kerrisk fe0927c3c9 tfix 2006-07-10 08:44:52 +00:00
Michael Kerrisk bb8617d480 Added SEE ALSO referring to sync_file_range.2. 2006-07-06 09:34:33 +00:00
Michael Kerrisk 3ca974e398 New page for sync_file_range(2), new in kernel 2.6.17. 2006-07-06 08:53:25 +00:00
Michael Kerrisk 423124e8d1 Minor fix to example code 2006-07-05 15:06:42 +00:00
Michael Kerrisk 1ba452d4db Add EADDRNOTAVAIL error. 2006-07-05 15:04:08 +00:00
Michael Kerrisk 7a71c2e569 Make example code more complete. 2006-07-05 14:40:00 +00:00
Michael Kerrisk 4f518005cb wfix 2006-07-05 12:18:09 +00:00
Michael Kerrisk 92d6e4039d wfix 2006-07-05 12:17:39 +00:00
Michael Kerrisk 1dee8c26fc ffix 2006-07-05 12:16:10 +00:00
Michael Kerrisk cffd8e71d4 Updated FIXME 2006-07-05 09:42:19 +00:00
Michael Kerrisk af34a13871 wfix 2006-07-05 09:37:54 +00:00
Michael Kerrisk 4df1559b70 pfix 2006-07-05 09:26:06 +00:00
Michael Kerrisk d44c4bf375 Added comment containing patch justification. 2006-07-04 13:26:13 +00:00
Michael Kerrisk 4595d739ff Nowadays, readlink() returns 'ssize_t', as required in POSIX.1-2001. 2006-07-04 11:13:13 +00:00
Michael Kerrisk d36f9ff105 ffix 2006-07-03 06:24:01 +00:00
Michael Kerrisk 23cb3cb55d Added POLLRDHUP description.
The correct header file is <poll.h>, not <sys/poll.h>.
Rewrote and reformatted various other parts.
2006-07-01 08:30:56 +00:00
Michael Kerrisk 04706fd7e2 Added EPOLLRDHUP description.
Added SEE ALSO referring to poll.2.
2006-07-01 08:30:24 +00:00
Michael Kerrisk a98bcd58d8 Minor updates 2006-06-20 08:00:10 +00:00
Michael Kerrisk cc387badcb s/MNT_FORCE/MNT_EXPIRE/ under EINVAL error. 2006-06-13 11:01:55 +00:00