Commit Graph

11930 Commits

Author SHA1 Message Date
Michael Kerrisk 6e5199009e madvise.2: VERSIONS: Support for madvise() is now configurable
Support for this system call now depends on the
CONFIG_ADVISE_SYSCALLS configuration option.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-26 07:35:19 +01:00
Michael Kerrisk 732df53e2b posix_fadvise.2: Support for fadvise64() is now configurable
Support for this system call now depends on the
CONFIG_ADVISE_SYSCALLS configuration option.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-26 07:35:12 +01:00
Michael Kerrisk a9adf5158f sgetmask.2: Since 3.16, support for these system call is configurable
Support for these calls is now dependent on the setting of the
CONFIG_SGETMASK_SYSCALL option.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-08 16:52:06 +01:00
Michael Kerrisk 5587b44c90 sigvec.3: Starting with version 2.21, glibc no longer exports sigvec()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-05 20:29:31 +01:00
Michael Kerrisk be031d85ad semop.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-05 06:09:36 +01:00
Richard Weinberger 208c82ce19 pid_namespaces.7: tfix
s/PR_GET_CHILD_SUBREAPER/PR_SET_CHILD_SUBREAPER

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-05 06:09:36 +01:00
Tobias Werth 4fe88cafea ascii.7: tfix
The ' in the compact tables were not escaped correctly resulting in
UTF-8 in the ASCII table.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-05 06:09:36 +01:00
Michael Kerrisk d6c9f01b64 setsid.2: Rewrite some pieces and add some details
Among other changes, add an explanation of why setsid() can't
be called from a process group leader

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-05 06:09:31 +01:00
Michael Kerrisk a00ca3d5a0 ftw.3: FTW_CHDIR has no effect on the 'fpath' argument passed to fn()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-24 18:02:26 +01:00
Michael Kerrisk e4dd2d93aa epoll_wait.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-23 15:02:38 +01:00
Michael Kerrisk e87feb33a5 epoll_ctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-23 15:00:38 +01:00
Michael Kerrisk 24453ff068 sigsetops.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-18 21:14:41 +01:00
Andrea Balboni d11464ba58 pthread_attr_init.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-16 16:50:14 +01:00
Michael Kerrisk ca8c33fcdd termios.3: SEE ALSO: add tset(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-13 11:08:55 +01:00
Michael Kerrisk e7e006f279 getdents.2, capabilities.7, symlink.7: tfix: Change 'i-node' to 'inode'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-12 22:32:40 +01:00
Michael Kerrisk ac5ba355d5 pow.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 13:58:14 +01:00
Manuel López-Ibáñez 285d20e353 pow.3: Add note on performance characteristics of pow()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 13:56:34 +01:00
David Wragg a7bd3dab97 cmsg.3: ensure buf is suitably aligned in sending example
Inspection of the definition of CMSG_FIRSTHDR (both in glibc and
the suggested definition in RFC3542) shows that it yields the
msg_control field.  So when sending, the pointer placed in
msg_control should be suitably aligned as a struct cmsghdr.
In the sending example, buf was declared as a bare char array,
and so is not necessarily suitably aligned.

The solution here involves placing buf inside a union, and is
based on the sockets/scm_rights_send.c sample from The Linux
Programming Interface "dist" source code collection.

Signed-off-by: David Wragg <david@wragg.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 10:01:59 +01:00
Michael Kerrisk e0f1f1765b posix_fadvise.2: ERRORS: Since 2.6.16, the kernel correctly deals with the ESPIPE case
Reported-by: Weijie Yang <weijie.yang.kh@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 09:32:53 +01:00
Mike Frysinger 445d38c9b5 user_namespaces(7): tfix: drop spurious underline
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 06:39:06 +01:00
Heinrich Schuchardt 943c52b7bb fanotify.7: Allow relative paths in example
The current example code requires passing an absolute
path to the mount to be watched.

By passing AT_FDCWD to fanotify_mark it can use both
absolute and relative paths.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 06:38:27 +01:00
Heinrich Schuchardt 8e38f6d391 fanotify.7: wfix
Removed duplicate "using".

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 06:36:36 +01:00
Adam Jiang 59ab8fcf0f sched_setscheduler.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-11 06:16:39 +01:00
Michael Kerrisk 001fed0312 epoll_ctl.2: Regular files and directories can't be monitored with epoll_ctl()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-10 14:00:25 +01:00
Michael Kerrisk f285a958f3 clock_nanosleep.2: Note that 'clock_id' can also be a CPU clock ID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-10 13:25:30 +01:00
Michael Kerrisk e125c3e172 timerfd_create.2: srcfix: added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-10 11:56:49 +01:00
Michael Kerrisk 3e35b19b10 unix.7: Fix buglet in code snippet in BUGS section
Reported-by: Scott Harvey <scott.harvey@stonybrook.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 21:15:56 +01:00
Heinrich Schuchardt b7670bdd0d ioctl.2: Rename 'd' argument to 'fd' in text
In most other manpages file descriptors are called 'fd'.
This patches renames attribute 'd' to 'fd'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 21:11:52 +01:00
Michael Kerrisk c7383f92d4 proc.5: srcfix: Note commit that introduced /proc/thread-self
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 20:29:43 +01:00
Bernhard Walle 0ad6ad9c0c proc.5: Document /proc/thread-self
/proc/thread-self has been introduced in Linux 3.17 with
commit 0097875bd41528922fb3bb5f348c53f17e00e2fd.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 20:25:39 +01:00
Michael Kerrisk 34fcd227fb abort.3: Note that SIGABRT is raised as though raise(3) is called
Also note that abort is POSIX.1-2008 compliant.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 19:52:34 +01:00
Mike Frysinger f7611a00f6 namespaces(7): minor tweaks
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-08 14:27:47 +01:00
Michael Kerrisk d74f805937 mq_open.3: Document the O_CLOEXEC flag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-08 13:49:54 +01:00
Michael Kerrisk 8d121cc5c1 mq_open.3: Place 'flags' constants in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-08 13:37:10 +01:00
Michael Kerrisk ee56674428 proc.5: tfix
Reported-by: Huxiaoxiang <huxiaoxiang@huawei.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-08 13:24:10 +01:00
Michael Kerrisk 464b254bb8 unix.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-08 06:13:13 +01:00
Michael Kerrisk 5bc20f9e79 syscalls.2: SEE ALSO: add errno(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-04 08:20:07 +01:00
Michael Kerrisk 4e0b8e82c7 syscall.2: SEE ALSO: add errno(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-04 08:19:25 +01:00
Michael Kerrisk 1bcb7fdbb0 standards.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-31 07:25:54 +01:00
Michael Kerrisk 31e025bf45 tgamma.3: Since glibc 2.18, errno is correctly set to EDOM when (x == -infinity))
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-31 07:25:54 +01:00
Michael Kerrisk 8ee4373d37 ilogb.3: Since glibc 2.16, ilogb() does correctly diagnore domain errors
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-31 07:24:37 +01:00
Michael Kerrisk 0ba5517581 exp10.3: Before glibc 2.19, exp() did not give ERANGE error on underflow
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-30 19:08:26 +01:00
Marko Myllynen 73d11aabbb locale.5: Fix miscoded character
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 20:32:16 +01:00
Josh Triplett 4d300f4a48 sysconf.3: Document _SC_NGROUPS_MAX
Already documented in getgroups(2), but not in sysconf(3).

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:27:16 +01:00
Josh Triplett fadd2e6538 credentials.7: Cross-reference getgroups(2)
Since credentials.7 discusses supplementary GIDs, it should reference
getgroups(2).

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:26:24 +01:00
Michael Kerrisk 984bf8fc33 locale.5: Minor fixes to Marko Myllynnen's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:23:15 +01:00
Marko Myllynen f809007b99 locale.5: Describe the formats of values
locale(5) describes what a locale should define but doesn't
spell out how (in what format). The patch attempts to address
this, it also has few trivial additional enhancements.

* Reference to locale(7) for category descriptions.
* Clarify first_workday in NOTES a bit.
* Add upstream BZ reference for two missing LC_ADDRESS fields.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:18:21 +01:00
Michael Kerrisk 476cab32c2 locale.7: Minor tweaks to Marko Myllynen's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:11:44 +01:00
Marko Myllynen c5466970d7 locale.7: Improve LOCPATH description
LOCPATH is ignored by privileged programs.

Add locale archive references.

Add FILES section.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:06:42 +01:00
Marko Myllynen 3d49eaadf6 localedef.1: Mention default path for compiled files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:03:28 +01:00