Commit Graph

1314 Commits

Author SHA1 Message Date
Michael Kerrisk a406395c86 Add warning that mandatory locking is unreliable. 2007-11-19 01:26:19 +00:00
Michael Kerrisk ea53895cb8 Clarify details in description of file leases.
Minor wording edits.
2007-11-19 01:21:58 +00:00
Michael Kerrisk 71f66746c7 ffix 2007-11-18 07:31:02 +00:00
Michael Kerrisk 276adee157 Add F_GETLEASE under RETURN VALUE. 2007-11-17 06:23:13 +00:00
Michael Kerrisk 90e261f2a3 wfix 2007-11-17 06:13:05 +00:00
Michael Kerrisk facdd3f468 ffix 2007-11-17 05:51:29 +00:00
Michael Kerrisk cedab4493d Removed trailing white space at end of lines 2007-11-17 05:46:09 +00:00
Michael Kerrisk e267688bfa tfix 2007-11-17 05:18:32 +00:00
Michael Kerrisk eb25159b7f Eliminate duplicate blank lines in rendered output. 2007-11-17 04:53:22 +00:00
Michael Kerrisk 527ea91285 Fix name in .TH line. 2007-11-16 06:23:33 +00:00
Michael Kerrisk 38f76cd278 Removed trailing white space at end of lines 2007-11-15 03:28:33 +00:00
Michael Kerrisk a5b9e01508 Update date in TH line 2007-11-15 03:21:33 +00:00
Michael Kerrisk a209ce803c Pretty much a complete rewrite, covering some additional topics.
Moved _syscallN() material to new _syscall(2) page.
2007-10-23 14:40:43 +00:00
Michael Kerrisk 80984672da Removed reference to example in intro(2). 2007-10-23 14:35:04 +00:00
Michael Kerrisk bad3caa42b Added _syscall(2) and intro(2) to SEE ALSO section. 2007-10-23 14:33:34 +00:00
Michael Kerrisk 53780d2eff Created as a new page, by taking the content specific to the _syscall()
macros from intro(2).
2007-10-23 13:21:31 +00:00
Michael Kerrisk b3a7b55e83 Reorder ERRORS sctions alphabetically 2007-10-23 06:21:25 +00:00
Michael Kerrisk 8c55d428e2 Reorder ERRORS alphabetically 2007-10-23 06:15:48 +00:00
Michael Kerrisk 389fe6c8dc ffix 2007-10-22 07:03:56 +00:00
Michael Kerrisk 6a31cfdd74 tfix 2007-10-22 06:55:51 +00:00
Michael Kerrisk 428d352029 s/PTRACE_POKEUSR/PTRACE_POKEUSER/
s/PTRACE_PEEKUSR/PTRACE_PEEKUSER/
2007-10-17 20:49:47 +00:00
Michael Kerrisk 6beb1671d2 tfix/wfix 2007-10-16 19:18:17 +00:00
Michael Kerrisk 7aa32276fa wfix 2007-10-16 19:08:41 +00:00
Michael Kerrisk da62bae1df wfix 2007-10-16 19:07:28 +00:00
Michael Kerrisk 47c20452eb Updated FIXME 2007-10-16 05:50:20 +00:00
Michael Kerrisk eaf7a6918e Linux 2.6.22 added support for PR_SET_UNALIGN. 2007-10-15 18:11:45 +00:00
Michael Kerrisk c5871a7dc1 spfix 2007-10-15 18:05:23 +00:00
Michael Kerrisk 49ec013ce2 Fix version numbers in cross references. 2007-10-14 18:33:54 +00:00
Michael Kerrisk 8b17f282d1 spfix 2007-10-13 20:29:01 +00:00
Michael Kerrisk 1d93c27249 Updated FIXME 2007-10-13 12:51:17 +00:00
Michael Kerrisk 6397da8c48 Add fallocate(2); remove timerfd(2) 2007-10-13 12:42:36 +00:00
Michael Kerrisk 40b89fc71a Removed old FIXMEs 2007-10-13 11:03:52 +00:00
Michael Kerrisk d6c57ce6df ffix 2007-10-12 06:46:45 +00:00
Michael Kerrisk a4f3e8d6a0 tfix 2007-10-12 06:41:27 +00:00
Michael Kerrisk b3f30a82c9 Added <fcntl.h> to SYNOPSIS. 2007-10-08 18:45:41 +00:00
Michael Kerrisk 0f7bde2b5a grfix 2007-10-04 16:02:37 +00:00
Michael Kerrisk b87dcfb900 grfix 2007-10-03 19:56:24 +00:00
Michael Kerrisk fbbfa7ce8a Fix syntax error in example program. 2007-10-03 06:25:23 +00:00
Michael Kerrisk d314dbfda1 ffix 2007-10-03 06:22:00 +00:00
Michael Kerrisk 45cbde66dd tfix 2007-10-03 06:20:17 +00:00
Michael Kerrisk 028f847b00 tfix 2007-10-03 06:19:25 +00:00
Michael Kerrisk 56e0e87ff5 Add text desribing EINVAL error for read(2). 2007-09-27 17:59:11 +00:00
Michael Kerrisk ca313a6891 ffix 2007-09-23 17:26:21 +00:00
Michael Kerrisk 01a734ef2b ffix 2007-09-23 11:41:50 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk fb7339dfa0 Removed trailing white space at end of lines 2007-09-19 21:42:14 +00:00
Michael Kerrisk 8da9ae243a s/sync (3)/sync ()/ 2007-09-19 05:25:00 +00:00
Michael Kerrisk 0d95c3d5c6 wfix 2007-09-18 18:50:44 +00:00
Michael Kerrisk ad3fa0f2a3 ffix 2007-09-18 18:47:32 +00:00
Michael Kerrisk 623c00d49e ffix 2007-09-18 18:43:25 +00:00
Michael Kerrisk aadd727c4f Add text cautioning about use of close() in
multithreaded programs.
2007-09-13 19:38:28 +00:00
Michael Kerrisk 3efbc18c81 Strengthened the warning against using this system call
and note that it may disappear in a future kernel version.
2007-09-13 17:41:38 +00:00
Michael Kerrisk 499f416724 Added description of MSG_CMSG_CLOEXEC (new in 2.6.23). 2007-09-10 04:35:02 +00:00
Michael Kerrisk fe75ec04d3 Added description of O_CLOEXEC (new in 2.6.23) + other
minor fixes for O_DIRECT.
2007-09-10 04:34:20 +00:00
Michael Kerrisk d739f5f8c7 Add text describing limit on total size of argv + evnp,
and changes that occurred with 2.6.23.
Add getopt(3) to SEE ALSO list.
2007-09-10 04:31:59 +00:00
Michael Kerrisk d9a0b2a566 Describes the fallocate() system call, new in 2.6.23. 2007-09-10 04:30:43 +00:00
Michael Kerrisk f3edaabb5d Add text noting that PROT_WRITE may (and on x86 does) imply PROT_READ. 2007-09-10 04:10:36 +00:00
Michael Kerrisk af9c7ff296 Add "#include <stdlib.h>" (to declatre exit(3)) to example program. 2007-09-10 02:44:09 +00:00
Michael Kerrisk 4df883b963 ffix 2007-09-04 06:30:39 +00:00
Michael Kerrisk 8a3ed0f00d ffix 2007-09-01 20:35:26 +00:00
Michael Kerrisk 0f67421e4c Udpdate date in .TH line 2007-09-01 17:30:26 +00:00
Michael Kerrisk 9947a8d79c Update some details on set_zone_reclaim() 2007-09-01 17:29:49 +00:00
Michael Kerrisk 331dcbfb3a Since kernel 2.6.22, Linux setitimer() now conforms to POSIX.1,
giving an EINVAL error for a non-canonical tv_usec value.
2007-08-28 13:15:35 +00:00
Michael Kerrisk cf4224d404 Fixed argument type for BLKGETSIZE. 2007-08-27 13:25:23 +00:00
Michael Kerrisk e2f9e1bed2 ffix 2007-08-27 11:38:36 +00:00
Michael Kerrisk 00045cbb7e Minor edits. 2007-08-27 11:34:07 +00:00
Michael Kerrisk 05c7d833f8 + changed the "policy" parameter to "mode" through out the
descriptions in an attempt to promote the concept that the memory
  policy is a tuple consisting of a mode and optional set of nodes.

+ added requirement to link '-lnuma' to synopsis

+ rewrite portions of description for clarification.

+ added all errors currently returned by sys call.

+ removed cautionary note that use of MPOL_F_NODE|MPOL_F_ADDR
  is not supported.  This is no longer true.

+ added mmap(2) to See Also list.
2007-08-27 11:09:06 +00:00
Michael Kerrisk 45ca54fea8 Minor fixes 2007-08-27 11:01:24 +00:00
Michael Kerrisk 73ae0a09ae + changed the "policy" parameter to "mode" through out the
descriptions in an attempt to promote the concept that the memory
  policy is a tuple consisting of a mode and optional set of nodes.

+ added requirement to link '-lnuma' to synopsis

+ rewrite portions of description for clarification.

  ++ clarify interaction of policy with mmap()'d files.

  ++ defined how "empty set of nodes" specified and what this
     means for MPOL_PREFERRED.

  ++ mention what happens if local/target node contains no
     free memory.

  ++ clarify semantics of multiple nodes to BIND policy.
     Note:  subject to change.  We'll fix the man pages when/if
            this happens.

+ added all errors currently returned by sys call.

+ added mmap(2) to See Also list.
2007-08-27 11:01:10 +00:00
Michael Kerrisk 9f5682a8ed + changed the "policy" parameter to "mode" through out the
descriptions in an attempt to promote the concept that the memory
  policy is a tuple consisting of a mode and optional set of nodes.

+ rewrite portions of description for clarification.

  ++ clarify interaction of policy with mmap()'d files and shared
     memory regions, including SHM_HUGE regions.

  ++ defined how "empty set of nodes" specified and what this
     means for MPOL_PREFERRED.

  ++ mention what happens if local/target node contains no
     free memory.

  ++ clarify semantics of multiple nodes to BIND policy.
     Note:  subject to change.  We'll fix the man pages when/if
            this happens.

+ added all errors currently returned by sys call.

+ added mmap(2), shmget(2), shmat(2) to See Also list.
2007-08-27 10:48:50 +00:00
Michael Kerrisk 599e5da722 ffix/wfix 2007-08-27 10:06:53 +00:00
Michael Kerrisk 74d3223314 ffix/spfix 2007-08-27 08:36:21 +00:00
Michael Kerrisk f92154be31 wfix 2007-08-27 08:13:53 +00:00
Michael Kerrisk 688e23c6f7 s/SIGILL/SIGCHLD/ for paragraph describing SIGCHLD. 2007-08-27 08:06:54 +00:00
Michael Kerrisk bf1c0ede48 Remove trailing whitespace 2007-08-27 08:02:09 +00:00
Michael Kerrisk eab6469656 Order ERRORS alphabetically. 2007-08-27 07:56:52 +00:00
Michael Kerrisk 0dd0df4e49 Remove duplicated words 2007-08-27 07:31:05 +00:00
Michael Kerrisk 4ae67b7d05 EINVAL also occurs if target path is on tmpfs or similar.
See Debian bug 435885.
2007-08-10 09:12:11 +00:00
Michael Kerrisk 7d4857d716 Added FIXME 2007-08-05 09:43:16 +00:00
Michael Kerrisk 185341d477 Added FIXME 2007-08-05 09:39:05 +00:00
Michael Kerrisk 39d21ba20e Added FIXME. 2007-08-05 09:07:16 +00:00
Michael Kerrisk 903542a98c Added FIXME 2007-07-29 08:56:00 +00:00
Michael Kerrisk da49ae1814 Note what thread is affected if 'pid' is specified
as 0, or as the value returned by getpid().
2007-07-21 06:59:36 +00:00
Michael Kerrisk 20c58d7028 ffix 2007-07-21 05:25:03 +00:00
Michael Kerrisk cf9c27a6e4 Add text on real-time features of mainline Linux kernel. 2007-07-20 13:35:31 +00:00
Michael Kerrisk 0adc4176a2 ffix 2007-07-19 07:31:25 +00:00
Michael Kerrisk a8d5553785 ffix 2007-07-18 20:24:30 +00:00
Michael Kerrisk 657e762d71 ffix 2007-07-18 20:11:21 +00:00
Michael Kerrisk e81aee2dc8 Place SYNOPSIS comments inside C comments (/* ... */). 2007-07-18 19:54:03 +00:00
Michael Kerrisk 040471f18b Added FIXME. 2007-07-17 18:53:09 +00:00
Michael Kerrisk c797f8d3c7 Added FIXME 2007-07-17 18:49:30 +00:00
Michael Kerrisk c307030c84 Switch formatting style 2007-07-16 18:57:34 +00:00
Michael Kerrisk f6b8bc07c2 tfix 2007-07-14 05:29:58 +00:00
Michael Kerrisk 73932e1279 s/si_sign/si_errno/ in statement about which field is unused. 2007-07-14 03:08:42 +00:00
Michael Kerrisk c5b0e98e5b tfix 2007-07-13 08:16:50 +00:00
Michael Kerrisk 56a97a39cc Add return value to nfsservctl() prototype. 2007-07-13 08:15:11 +00:00
Michael Kerrisk 9f0fb19843 sync SYNOPSIS with select.2 2007-07-11 19:19:03 +00:00
Michael Kerrisk 6f1a1e6143 Minor improvements in text describing underlying system calls. 2007-07-10 20:57:30 +00:00
Michael Kerrisk bb3b61747e Improve text describing underlying system calls. 2007-07-10 20:48:01 +00:00
Michael Kerrisk 0c8dd25470 Improve text describing underlying system calls. 2007-07-10 20:44:07 +00:00
Michael Kerrisk aa042c2e48 Fix broken link 2007-07-10 20:14:30 +00:00
Michael Kerrisk f3fef7367d ffix 2007-07-10 19:50:57 +00:00
Michael Kerrisk 7a63e1d7be ffix 2007-07-10 19:24:48 +00:00
Michael Kerrisk 52e87bbed1 Fix missing semicolon in prototype 2007-07-10 04:51:30 +00:00
Michael Kerrisk 9f1a6ca72c wfix 2007-07-10 04:29:20 +00:00
Michael Kerrisk fc15ae54b9 tfix/wfix 2007-07-10 03:57:50 +00:00
Michael Kerrisk 5260fe08cf Use 'glibc' consistently to refer to GNU C library. 2007-07-09 22:01:31 +00:00
Michael Kerrisk d1de5f7528 spfix 2007-07-09 21:03:31 +00:00
Michael Kerrisk a9b4ebbc8f ffix 2007-07-09 20:07:44 +00:00
Michael Kerrisk c781c53cbc tfix 2007-07-09 19:41:16 +00:00
Michael Kerrisk e6d6fc10a8 Link to fsync.2. 2007-07-08 19:33:39 +00:00
Michael Kerrisk c6a16930af Incorporated material from now deleted fdatasync.2. 2007-07-08 19:32:37 +00:00
Michael Kerrisk cb7bf8ac29 Somehow, over time, material on fdatasync(2) crept into
fsync.2, and fdatasync also got added to the NAME section
of fsync.2.  All of the material in fdatasync.2 that was
not already in fsync.2 has now been moved there, and
the former page has been removed.
2007-07-08 19:31:13 +00:00
Michael Kerrisk a62944088a Updated date in .TH line. 2007-07-08 19:21:38 +00:00
Michael Kerrisk d8ccd692af Added .\" comment. 2007-07-08 18:31:19 +00:00
Michael Kerrisk 3995da1431 Clarify utimes() behaviour when 'times' is NULL. See Debian bug 431480.
Other minor clarifations of description of utimes().
2007-07-08 18:25:40 +00:00
Michael Kerrisk 20f75f5fe2 Update arches/kernel versions for PR_SET_UNALAIGN / PR_GET_UNALIGN. 2007-07-08 17:17:32 +00:00
Michael Kerrisk fa66abf8e5 Slight fix to example program. 2007-07-08 17:00:49 +00:00
Michael Kerrisk 8c4f34f89b ffix 2007-07-08 16:21:19 +00:00
Michael Kerrisk 22399250c3 Name "ia64" consistently. 2007-07-08 16:06:51 +00:00
Michael Kerrisk b47f1a095f Link to man3/clock_getres.3. 2007-07-08 16:02:25 +00:00
Michael Kerrisk 292d25b095 Fix page cross references 2007-07-08 15:05:14 +00:00
Michael Kerrisk e3d6f7b71f Removed SEE ALSO reference to nonextistent fadvise.2. 2007-07-08 15:03:28 +00:00
Michael Kerrisk f902bebcd5 spfix 2007-07-08 14:57:58 +00:00
Michael Kerrisk 3edb8da410 Replace discussion of timer* macros with a pointer to new page timeradd.3. 2007-07-08 14:57:28 +00:00
Michael Kerrisk 3f624b939f grfix 2007-07-08 12:51:09 +00:00
Michael Kerrisk e0bf91271f Removed trailing white space at end of lines 2007-07-08 12:39:24 +00:00
Michael Kerrisk cc4615cc78 Added/updated glibc feature test macro requirements 2007-07-08 12:11:40 +00:00
Michael Kerrisk 52b78335ac Wrapped long line in SYNOPSIS 2007-07-08 11:13:19 +00:00
Michael Kerrisk 61d7d93cd1 More fixes after comments by AEB. 2007-07-07 19:18:58 +00:00
Michael Kerrisk 96b8e49f27 grfix 2007-07-07 19:18:19 +00:00
Michael Kerrisk 8179def107 Added som .\" comments 2007-07-07 18:51:10 +00:00
Michael Kerrisk d6ce49601e Minor fixes 2007-07-07 09:55:00 +00:00
Michael Kerrisk aadd7709ec More small changes 2007-07-06 05:50:57 +00:00
Michael Kerrisk 0bbb92a373 Fairly substantial changes and corrections, including adding
coverage of all of the interfaces that get/set PGIDs.
2007-07-05 21:19:36 +00:00
Michael Kerrisk 7d50a840e7 Varous rewordings; clear up some imprecisions. 2007-07-03 18:01:31 +00:00
Michael Kerrisk 3fffa7b679 ffix 2007-07-03 11:05:50 +00:00
Michael Kerrisk 3af8df2f46 ffix 2007-07-02 20:06:14 +00:00
Michael Kerrisk 8e5a4d5a46 Fix beoken link 2007-07-02 13:29:42 +00:00
Michael Kerrisk f9e4d811be Various improvements 2007-07-01 14:42:40 +00:00
Michael Kerrisk 9d9430106b ffix 2007-07-01 12:41:17 +00:00
Michael Kerrisk 2e92040156 Minor change 2007-07-01 06:19:18 +00:00
Michael Kerrisk f9f7c04229 Document the PowerPC SPU spu_run() system call. 2007-07-01 06:03:59 +00:00
Michael Kerrisk 6f5ff36aac Document the PowerPC SPU spu_create() system call. 2007-07-01 06:03:34 +00:00
Michael Kerrisk ab7b478b84 ffix 2007-07-01 05:21:18 +00:00
Michael Kerrisk 10f5f29476 s/bitmask/bit mask/ 2007-07-01 04:23:34 +00:00
Michael Kerrisk 02e6bca302 s/bitfield/bit field/ 2007-07-01 04:22:00 +00:00
Michael Kerrisk 02d79ece57 Fairly substantial rewrites, and a few additions. 2007-07-01 03:23:24 +00:00
Michael Kerrisk 5b6adad130 Added a blank line to example prog 2007-07-01 02:00:19 +00:00