Commit Graph

6060 Commits

Author SHA1 Message Date
Michael Kerrisk 835c57e9cc umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11
See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-03 06:06:54 +02:00
Michael Kerrisk a385e7d797 ffs.3: Clarify that ffsl() and ffsll() are GNU extensions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-27 11:18:19 +02:00
Michael Kerrisk 6f6a9bc76e getrusage.2: ru_inblock and ru_oublock are now implemented
These fields of the rusage structure are filled in since
Linux 2.6.22.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-25 11:00:44 +02:00
Michael Kerrisk 361640b813 capabilities.7: Fix version number for CAP_MKNOD in DS UID manipulations
A recent patch said "since 2.6.29". It should have
been "since 2.6.30".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-03 06:42:08 +02:00
Michael Kerrisk c3665d565f pthread_setschedparam.3: tfix
Reported-by: Leslie P. Polzer <sky@viridian-project.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-02 14:00:49 +02:00
Michael Kerrisk 129bf37be8 capabilities.7: FS UID manipulations affect CAP_LINUX_IMMUTABLE and CAP_MKNOD
Nowadays, file system UID manipulations also affect
CAP_LINUX_IMMUTABLE (since 2.6.3) and CAP_MKNOD (since 2.6.29).

Reported-by: Serge Hallyn: <serue@us.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-02 09:08:41 +02:00
Michael Kerrisk 1f9b08391e Changes.old: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-26 07:19:27 +02:00
Michael Kerrisk d916780f4c Start of man-pages-3.23: updating Changes and Changes.old 2009-07-26 07:18:18 +02:00
Michael Kerrisk 4fc2ef5852 Start of man-pages-3.23: updating .Announce and .lsm files 2009-07-26 07:18:18 +02:00
Michael Kerrisk e6a2e2ae94 Start of man-pages-3.23: renaming .Announce and .lsm files 2009-07-26 07:18:17 +02:00
Michael Kerrisk dc4dd89393 Ready for 3.22 2009-07-25 08:52:58 +02:00
Michael Kerrisk e80aa4d865 Removed trailing white space at end of lines 2009-07-25 08:51:28 +02:00
Michael Kerrisk 0f846d3c92 Expanded tabs 2009-07-25 08:51:15 +02:00
Michael Kerrisk 0f7654e417 sigaction.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:45:44 +02:00
Michael Kerrisk bfa03b04c3 Changes: Update for 3.22 release
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:44:41 +02:00
Michael Kerrisk d6584e229e environ.7: Note that last element in environ array is NULL
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528628

Reported-by: sobtwmxt <sobtwmxt@sdf.lonestar.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:40:34 +02:00
Michael Kerrisk 86d9ea3710 environ.7: Wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:03 +02:00
Michael Kerrisk 906472fd29 getifaddrs.3: tfix: remove extraneous semicolon in example program
Reported-by: ku roi <kuroibox@yahoo.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:03 +02:00
Michael Kerrisk 73e15b46d1 lockf.3: Clarify relationship between fcntl() and lockf() locking
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:02 +02:00
Michael Kerrisk 6da336d7fe fcntl.2: The kernel source file mandatory.txt is now mandatory-locking.txt
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:30:59 +02:00
Michael Kerrisk de544d7faf fcntl.2, flock.2: The Documentation/* files are now in Documentation/filesystems
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:30:51 +02:00
Michael Kerrisk f62a64aa05 flock.2: Remove unneeded reference to Documentation/mandatory.txt
Mandatory locks are only implemented by fcntl() locking

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:22:37 +02:00
Mike Frysinger cdd374f8c5 futex.7: tfix: drop spurious colon in URL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:13:13 +02:00
Reimar Dffinger be7e81b9cb complex.7: Fix type used in example code
man complex (from release 3.18) contains the following code:
    complex z = cexp(I * pi);
Reading the C99 standard, "complex" is not a valid type, and several
compilers (Intel ICC, ARM RVCT) will refuse to compile.
It should be
    double complex z = cexp(I * pi);
instead.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:06:16 +02:00
Michael Kerrisk 9935c43c52 complex.7: Add missing header file for example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:03:17 +02:00
Michael Kerrisk 8339b8bc24 mq_overview.7: Fix example showing contents of /dev/mqueue file
Reported-by: Adrian Dewhurst <sailor@sailorfrag.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 06:36:36 +02:00
Michael Kerrisk 06ae751a05 mq_overview.7: Note that mkdir and mount commands here need superuser privilege
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 06:33:08 +02:00
Michael Kerrisk 8722311bc5 clone.2: Fix version number for CLONE_NEWIPC
It's 2.6.19, not 2.4.19.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-18 06:16:12 +02:00
Michael Kerrisk 9c9321b71b readdir.3: The d_type field is fully supported on Btrfs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-04 15:05:55 +02:00
Michael Kerrisk 6909213aa5 getdents.2: The d_type field is fully supported on Btrfs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-04 15:04:43 +02:00
Michael Kerrisk c36d05577d pthread_attr_setstackaddr.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-27 08:04:21 +02:00
Mike Frysinger c07a3ca39c setjmp.3: Fix typo and clarify RETURN description
The word "signal" was duplicated in NOTES, and the RETURN
section refers to setjmp() and sigsetjmp(), and mentions
longjmp(), but not siglongjmp().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 15:07:39 +02:00
Michael Kerrisk 21d995a882 mount.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 14:48:14 +02:00
Michael Kerrisk 02a4e226a6 mount.2: Document MS_STRICTATIME, update description of MS_RELATIME
Starting with Linux 2.6.30, the MS_RELATIME behavior became
the default, and MS_STRICTATIME is required to obtain the
traditional semantics.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 14:36:28 +02:00
Michael Kerrisk 577f9b624b clone.2: Rewrite crufty text about number of args in older version of clone()
Some bit rot had crept in regarding the discussion of the
    number of arguments in older versions of this syscall.
    Simplify the text to just say that Linux 2.4 and earlier
    didn't have ptid, tls, and ctid arguments.

    See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533868

    Reported-by: Shachar Shemesh <shachar@debian.org>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-21 15:30:21 +02:00
Michael Kerrisk d3dbc9b11a clone.2: Fix errors in argument names in text (ptid, ctd)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-21 15:14:28 +02:00
sobtwmxt bd16963cbe vfork.2: tfix: s/exit(2)/_exit(2)/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-21 14:38:05 +02:00
Michael Kerrisk 45f2d4eb13 sigaction.2: EWxpand description of si_utime and si_stime fields of siginfo_t
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-09 06:01:59 +02:00
Michael Kerrisk f1a291ecd0 poll.2: Remove EBADF error from ERRORS
As reported by Motohiro:

"man poll" describe this error code.

>ERRORS
>   EBADF  An invalid file descriptor was given in one of the sets.

but current kernel implementation ignore invalid file descriptor,
not return EBADF.
...

In the other hand, SUSv3 talk about

> POLLNVAL
>    The specified fd value is invalid. This flag is only valid in the
>    revents member; it shall ignored in the events member.

and

> If the value of fd is less than 0, events shall be ignored, and
> ireevents shall be set to 0 in that entry on return from poll().

but, no desribe EBADF.
(see http://www.opengroup.org/onlinepubs/009695399/functions/poll.html)

So, I think the implementation is correct.

Why don't we remove EBADF description?

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
2008-06-11 02:09:08 +02:00
Mark Hills c7a20d46be strcpy.3: SEE ALSO: Add strdup(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-06-10 10:22:21 +02:00
Michael Kerrisk cdb630a811 standards.7: Remove references to dated books
Gallmeister and Lewine are rather old books. Probably,
there are better books to consult nowadays, and anyway,
this man page isn't intended to be a bibliography.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-06-10 10:04:05 +02:00
Michael Kerrisk 0877a26bbe syscalls.2: Ad preadv() and pwritev(), new in kernel 2.6.30
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-06 16:43:44 +12:00
Michael Kerrisk 5a76509a2e daemon.3: Clarify discussion of 'noclose' and 'nochdir' arguments
Reported-by: Doug Goldstein <cardoe@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 16:29:00 +12:00
Michael Kerrisk 7e05b05eca daemon.3: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 16:01:21 +12:00
Michael Kerrisk 5f6f222a13 makedev.3: wfix: swap 'include' and 'define' in SYNOPSIS
Reported-by: Ricardo Garcia <rg3.zeluan@gmail.com>
Reported-by: Rui Rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 15:43:25 +12:00
Jeff Moyer cb6a78e664 fork.2: Document fork() behaviour for the Linux native AIO io_context
It was noted on lkml that the fork behaviour is documented
for the POSIX AIO calls, but not for the Linux native calls.
Here is a patch which adds a small blurb that folks will
hopefully find useful.

Upon fork(), the child process does not inherit the
io_context_t data structures returned by io_setup,
and thus cannot submit further asynchronous I/O or
reap event completions for said contexts.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-28 16:53:42 +12:00
Mark Hills 08eaa638df closedir.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-28 16:53:42 +12:00
Michael Kerrisk 6ebde978ef epoll_ctl.2: ffix 2009-04-27 15:26:19 +12:00
Bryan stergaard 35035b2ead rtnetlink.7: tfix: fix wording in comments for 'rtmsg' structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-24 13:21:27 +12:00
Lucian Adrian Grijincu df5c8d495b epoll.7: tfix: fix unfinished string in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-24 13:12:53 +12:00