Commit Graph

1955 Commits

Author SHA1 Message Date
Michael Kerrisk 83c1f4b55f clone.2: IPC objects are automatically destroyed when IPC namespace is destroyed
When the last process in an IPC namespace is destroyed, the
IPC objects in that namespace are automatically destroyed.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Cedric Le Goater <clg@fr.ibm.com>
2008-11-25 20:54:10 -05:00
Michael Kerrisk 732e54dd96 clone.2, mount.2, unshare.2, proc.5, path_resolution.7: Global fix: s/mount-point namespace/mount namespace/
This is more consistent with the term "mounts namespace"
used in the 2008 ACM SIGOPS paper, "Virtual servers
and and checkpoint/restart in mainstream Linux".
(I avoided the "s", because using the plural strikes me
as klunky English, and anyway we don't talk about
the "PIDs namespace" or the "networks namespace", etc..)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:09 -05:00
Michael Kerrisk 6e6231c1dc inotify_rm_watch.2, inotify.7: srcfix: updated FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:09 -05:00
Michael Kerrisk a4cc375e5a clone.2: tfix: Fix kernel version associated with CLONE_IO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Jen Axboe <jens.axboe@oracle.com>
2008-11-25 20:54:09 -05:00
Michael Kerrisk 0236bea95b clone.2: Fix terminology: s/control group/container/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Eric Biederman <ebiederm@xmission.com>
2008-11-25 20:54:09 -05:00
Michael Kerrisk cf1c6c8056 clone.2: srcfix: Added FIXME 2008-11-25 20:54:08 -05:00
Michael Kerrisk 6807c79ac1 clone.2: srcfix: Updated FIXME 2008-11-25 20:54:08 -05:00
Michael Kerrisk cfdc761b8f clone.2: minor: Update changelog 2008-11-25 20:54:08 -05:00
Jens Axboe 11f27a1c68 clone.2: Document CLONE_IO (new in Linux 2.6.25)
Some text also by mtk.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:08 -05:00
Michael Kerrisk 63a6efda14 fcntl.2: spfix 2008-11-25 20:54:08 -05:00
Michael Kerrisk 71fea60784 fcntl.2, signal.2, mbsnrtowcs.3, mbsrtowcs.3, mbtowc.3, wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wctomb.3: Global fix: s/multi-thread/multithread/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:08 -05:00
Michael Kerrisk 4df2eb09d1 clone.2, mount.2, unshare.2, proc.5, path_resolution.7: Global fix: s/namespace/mount-point namespace/, as appropriate
In recent times, a number of other namespace flags have been
added to clone(2).  As such, it is no longer clear to use
the generic term "namespace" to refer to the particular
namespace controlled by CLONE_NEWNS; instead, use the
term "mount-point namespace".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:07 -05:00
Michael Kerrisk 667417b33c clone.2: Document CLONE_NEWIPC flag (new in Linux 2.6.19)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:07 -05:00
Michael Kerrisk 56c1dc6dc5 uname.2: tfix 2008-11-25 20:54:07 -05:00
Michael Kerrisk abaf08d4dc uname.2: Add C comments describing fields in utsname structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:06 -05:00
Michael Kerrisk 43ce9ddaff clone.2: Document CLONE_NEWUTS (new in Linux 2.6.19)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:06 -05:00
Michael Kerrisk af3c728ea1 clone.2: ffix 2008-11-25 20:54:06 -05:00
Michael Kerrisk 5c95e5e8ff clone.2: spfix: s/CLONE_PID/CLONE_NEWPID/ 2008-11-25 20:54:06 -05:00
Chris Heath 53e6712553 sigprocmask.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:05 -05:00
Michael Kerrisk 28cad2c108 clone.2: Document EINVAL error for CLONE_NEWPID if CONFIG_PID_NS not enabled
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:05 -05:00
Michael Kerrisk 82ee147ab6 clone.2: Document CLONE_NEWPID flag (new in Linux 2.6.24)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:05 -05:00
Michael Kerrisk 88619baf22 clone.2: spfix 2008-11-25 20:54:05 -05:00
Michael Kerrisk f5dbc7c8e9 clone.2: Place list of CLONE_* flags in alphabetical order
(No content changes.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:05 -05:00
Michael Kerrisk 24bbe02c17 inotify_rm_watch.2, inotify.7: srcfix: Add FIXMEs for argument/field types
I submitted a patch to fix this.  See the LKML thread
"[patch] Fix type errors in inotify interfaces", 18 Nov 2008
If/when these patches are accepted, the pages need to be updated.
2008-11-25 20:54:04 -05:00
Michael Kerrisk e6205b0c24 mmap.2: Document MAP_STACK flag (new in Linux 2.6.27)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:04 -05:00
Michael Kerrisk 85c2bdba64 open.2: wfix 2008-11-25 20:54:02 -05:00
Michael Kerrisk 9c7cf1820f sched_setaffinity.2: Add note on system-imposed restrictions on CPUs actually used
After Loic Domaigne's suggestion for pthread_setaffinity_np(3), add
similar text to this page noting that the system silently
limits the set of CPUs on which the process actually runs to
the set of CPUs physically present and the limits imposed by
cpuset(7).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
Acked-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk d69305f691 sched_setaffinity.2: ffix 2008-11-25 20:53:58 -05:00
Michael Kerrisk d7ddac242d sched_setaffinity.2: Refer reader to pthread_setaffinity_np(3)
pthread_setaffinity_np() is preferable for setting
thread CPU affinity if using the POSIX threads API.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:58 -05:00
Michael Kerrisk ecbb9b58ce sched_setaffinity.2: wfix: s/current thread/calling thread/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk ad3f4748db sched_setaffinity.2: Removed discussion of CPU_* macros()
These macros are now moving to a separate page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk 2ce777b42c sched_setaffinity.2: wfix 2008-11-13 08:56:55 -05:00
Michael Kerrisk 718af393c7 sched_setaffinity.2: Minor updates in VERSIONS
Document the version of glibc that added the CPU_*() macros.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:55 -05:00
Michael Kerrisk 940c8ce244 getdents.2, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_setschedparam.3, pthread_tryjoin_np.3: Use consistent error-handling function names
Many older pages use a handle_error() macro to do simple
error handling from system and library function calls.
Switch these pages to do similar.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:51:13 -05:00
Michael Kerrisk da8dbaa525 fsync.2: Update feature test macro requirements for fsync()
Since glibc 2.8, the fsync() declaration is also exposed if
_POSIX_C_SOURCE >= 200112L

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 21:42:33 -05:00
Michael Kerrisk a5a061ee0c clone.2: srcfix: added comment about CLONE_STOPPED going away in glibc 2.8 2008-11-07 21:32:57 -05:00
Michael Kerrisk 9b6ba4d8a4 sched_setscheduler.2: tfix
s/2.6.20/2.6.30/ to fix an earlier typo in the description
of the likely kernel version that will have fully fledged
real-time features.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:27 -05:00
Michael Kerrisk 3ba07ec788 sched_setaffinity.2: SEE ALSO: add sched_getcpu(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:06 -05:00
Michael Kerrisk d84d0300a5 eventfd.2, getdents.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, frexp.3, getaddrinfo.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strftime.3, strtok.3, strtol.3, core.5: srcfix
s/\.R " "/\\\&/ as a way of getting a blank line after a .SS heading.
(Suggested by Sam Varshavchik <mrsam@courier-mta.com>)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 20:42:45 -05:00
Michael Kerrisk 3213bb2813 sched_setaffinity.3: minor: rework EPERM text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 17:06:01 -05:00
Michael Kerrisk a212694364 sched_setaffinity.2: Clarify EINVAL error for cpusetsize < kernel mask size
For sched_setaffinity(), the EINVAL error that occurs
if 'cpusetsize' is smaller than the kernel CPU set size only
occurs with kernels before 2.6.9.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 17:00:02 -05:00
Michael Kerrisk 4187c37c68 sched_setaffinity.2: SEE ALSO: Add pthread_setaffinity_np(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 16:36:45 -05:00
Michael Kerrisk 40bea7025b sched_setaffinity.2: wfix 2008-11-04 13:56:30 -05:00
Michael Kerrisk 89cb804a31 readlink.2: srcfix: Note that bufsiz has a signed type at kernel level
So on a direct syscall, the EINVAL could also occur for bufsiz < 0.
But at the moment, the error text is sufficiently vague
("bufsiz is not positive") that a change to the man page text
is probably not needed.
2008-11-04 11:21:18 -05:00
Sam Varshavchik 344689bd06 pipe.2: wfix: SYNPOSIS: add missing word "int"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 09:16:00 -05:00
Sam Varshavchik 1c32ee471c eventfd.2, mprotect.2, signalfd.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 09:03:49 -05:00
Ulrich Mueller 7c5f05139c open.2: tfix: in CONFORMING TO: s/POSIX.1-2001/POSIX.1-2008/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 08:51:26 -05:00
Michael Kerrisk 1c8de4731b dup.2: wfix 2008-10-30 20:43:16 -05:00
Michael Kerrisk 51d5e556bc umount.2: srcfix: remove out-of-date FIXME 2008-10-30 12:26:25 -05:00
Michael Kerrisk d57b917015 syscalls.2: srcfix: add FIXME 2008-10-30 09:39:46 -05:00