Commit Graph

691 Commits

Author SHA1 Message Date
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