Commit Graph

10716 Commits

Author SHA1 Message Date
Rasmus Villemoes 4a60035c89 semop.2: Fix prototypes for semop() and semtimedop()
The nsops arguments have type size_t, not unsigned, and the
timeout argument of semtimedop() is const.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Rasmus Villemoes cecb112e8e stime.2: Fix prototype for stime()
The argument is const, both according to the actual header
files and according to <http://www.sco.com/developers/devspecs/vol1a.pdf>.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Rasmus Villemoes 479fd9add4 readlink.2: Fix return type of readlinkat()
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Michael Kerrisk 3779bbef74 stat.2: Describe feature test macro requirements for file type test macros
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728240

Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Michael Kerrisk ff3976ceef stat.2: Move text on S_I*() macros to follow text on S_I* macros
That ordering is more logical

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Michael Kerrisk 5c3122b1b3 stat.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk c2033cfe6c stat.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk afb9bd5d77 stat.2: Update FTM requirements for lstat()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk ff0afc3fca stat.2: Split discussion of 'st_mode' fields into type and permissions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 51c6aa6e63 stat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao 0dbaa5ccb7 rtime.3: ATTRIBUTES: Note function that is thread-safe
The function rtime() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao a7b3fac93a sched_getcpu.3: ATTRIBUTES: Note function that is thread-safe
The function sched_getcpu() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao cf5098096c remquo.3: ATTRIBUTES: Note functions that are thread-safe
The functions remquo(), remquof() and remquol() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao 18cbeb887b pthread_attr_setstacksize.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setstacksize() and
pthread_attr_getstacksize() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao 655d399882 pthread_attr_setstackaddr.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setstackaddr() and
pthread_attr_getstackaddr() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk ca24d85041 strcasecmp.3: Explain why strcasecmp()+strncasecmp() are also declared in <string.h>
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729436

Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Reported-by: Török Edwin <edwin@etorok.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 7784c37d7c send.2: Add details on various 'msghdr' fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 85b1cf3cdc send.2: Add some subheadings under DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk f790e827a2 recv.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk ddb4a7c01c recv.2: Clarify details of msg_name and msg_namelen fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 6154a29a77 recv.2: ffix: add a paragraph break
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk dcf729f94c recv.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 4d4188904a proc.5: (Briefly) document /proc/timer_list
Text taken from kernel commit
289f480af87e45f7a6de6ba9b4c061c2e259fe98.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 3c4f7af609 proc.5: Document /proc/timer_stats
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 4d7bd2ae58 fd.4: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 66d2464f37 fd.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 9173d897ee fd.4: Fix floppy disk device names
The naming convention shown in the page was ancient.
Now, the page is consistent with Documentation/devices.txt
(where it is noted that "The use of the capital letters
D, H and E for the 3.5" models have been deprecated, since
the drive type is insignificant for these devices"

Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:53 +02:00
Michael Kerrisk 99a230468c ip.7: Minor clarification for IP_TRANSPARENT
Based on an old email exchange with Balazs Scheidler.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:53 +02:00
Michael Kerrisk 23d3582041 umount.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:53 +02:00
Michael Kerrisk 4ec5bffac9 link.2: Tweaks to Andy Lutomirski's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:53 +02:00
Andy Lutomirski 7dee406bc4 link.2, open.2: Update AT_EMPTY_PATH and O_PATH documentation
The current text reflects the general worry in the kernel about
recipients of O_PATH fds being able to hardlink the referenced
files.  It turns out that it was possible to link these files
regardless of any possible security concerns.

Linux 3.11 removes the capability check in AT_EMPTY_PATH.
I expect that this functionality will be generally useful,
so let's document it better.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:53 +02:00
Michael Kerrisk dff25141a5 open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:53 +02:00
Michael Kerrisk 7a085379e4 remap_file_pages.2: Tweaks to Andy Lutomirski's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:44 +02:00
Andy Lutomirski 8fd1fd303a remap_file_pages.2: remap_file_pages() has no benefit for real files
Linux commit 3ee6dafc677a68e461a7ddafc94a580ebab80735 caused
remap_file_pages to be emulated when used on real file.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:15:37 +02:00
Michael Kerrisk 4a9c7a5ecb create_module.2, delete_module.2, init_module.2, query_module.2: Clarify glibc header file declaration/ABI wrapper details
create_module(), delete_module(), init_module(), and
query_module() are not declared in header files, but
through an accident of history glibc provides an ABI
for them that it continues to maintain, for
compatibility reasons.

Reported-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:15:37 +02:00
Michael Kerrisk 1205c84585 getrusage.2: _GNU_SOURCE must be defined to obtain RUSAGE_THREAD definition
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746569

Reported-by: Bill Allombert <ballombe@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:15:37 +02:00
Michael Kerrisk 7f26d07561 system.3: Rewrote large parts of the page and added a number of details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:15:37 +02:00
Michael Kerrisk 59dc509c55 elf.5, services.5, bootparam.7, glob.7: Minor wording fix ("E.g." ==> "For example")
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:15:37 +02:00
Michael Kerrisk 9c17409585 Start of man-pages-3.67: updating Changes and Changes.old 2014-05-08 11:11:05 +02:00
Michael Kerrisk 3c66e257e4 Start of man-pages-3.67: updating .Announce and .lsm files 2014-05-08 11:11:05 +02:00
Michael Kerrisk 30f276a458 Start of man-pages-3.67: renaming .Announce and .lsm files 2014-05-08 11:11:05 +02:00
Michael Kerrisk 598c45ecfa Ready for 3.66 2014-05-08 11:04:37 +02:00
Michael Kerrisk ffb30e75da Removed trailing white space at end of lines 2014-05-08 11:04:30 +02:00
Michael Kerrisk d6fa0283d3 fallocate.2, open_by_handle_at.2, rename.2, syscalls.2, termios.3, inotify.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:03:36 +02:00
Michael Kerrisk 51adafb724 Changes: Ready for 3.66
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:03:14 +02:00
Michael Kerrisk 89613d5046 fanotify.7: Add mtk to copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 10:24:22 +02:00
Michael Kerrisk 30821db82e open.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 10:09:17 +02:00
Michael Kerrisk b913672618 sched_setscheduler.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 10:08:11 +02:00
Michael Kerrisk ce87be978f fanotify.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 21:59:08 +02:00
Michael Kerrisk ffcffad69d termios.3: OFDEL is in POSIX.1-2001, so remove "(Not in POSIX)" text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 20:52:20 +02:00