]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
9 years agointro.1, locale.1, _exit.2, access.2, bpf.2, brk.2, capget.2, chmod.2, chroot.2,...
Michael Kerrisk [Thu, 23 Jul 2015 14:12:28 +0000 (16:12 +0200)] 
intro.1, locale.1, _exit.2, access.2, bpf.2, brk.2, capget.2, chmod.2, chroot.2, clock_getres.2, clone.2, eventfd.2, fallocate.2, fork.2, getgroups.2, gethostname.2, getpid.2, getpriority.2, getrlimit.2, getrusage.2, gettid.2, iopl.2, ioprio_set.2, killpg.2, mlock.2, mprotect.2, perf_event_open.2, poll.2, posix_fadvise.2, pread.2, ptrace.2, read.2, readv.2, recv.2, rename.2, sched_setaffinity.2, sched_setattr.2, seccomp.2, select.2, send.2, seteuid.2, setgid.2, setresuid.2, setreuid.2, setuid.2, sigaltstack.2, signalfd.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, socket.2, stat.2, timer_create.2, uname.2, utimensat.2, wait.2, wait4.2, write.2, MB_LEN_MAX.3, __ppc_get_timebase.3, clearenv.3, dl_iterate_phdr.3, error.3, fexecve.3, fpurge.3, fread.3, fts.3, getaddrinfo.3, getaddrinfo_a.3, getauxval.3, getgrent_r.3, gethostbyname.3, getifaddrs.3, getnameinfo.3, getnetent_r.3, getprotoent.3, getprotoent_r.3, getpw.3, getpwent_r.3, getrpcent.3, getrpcent_r.3, getrpcport.3, getservent.3, getservent_r.3, gsignal.3, key_setsecret.3, malloc_get_state.3, malloc_info.3, malloc_stats.3, malloc_trim.3, memcpy.3, mq_notify.3, mq_open.3, perror.3, profil.3, psignal.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_detach.3, pthread_getattr_np.3, pthread_join.3, pthread_setname_np.3, pthread_tryjoin_np.3, putgrent.3, rcmd.3, rpc.3, rpmatch.3, sem_close.3, sem_open.3, setaliasent.3, shm_open.3, sigqueue.3, strfmon.3, xcrypt.3, xdr.3, console_codes.4, null.4, core.5, host.conf.5, hosts.equiv.5, locale.5, repertoiremap.5, locale.7, man-pages.7, pty.7, rtld-audit.7, sched.7, vdso.7: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoChanges: Ready for 4.01
Michael Kerrisk [Thu, 23 Jul 2015 14:10:03 +0000 (16:10 +0200)] 
Changes: Ready for 4.01

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Refer to bpf(2) for explanation of /proc/sys/net/core/bpf_jit_enable
Michael Kerrisk [Thu, 23 Jul 2015 14:08:33 +0000 (16:08 +0200)] 
proc.5: Refer to bpf(2) for explanation of /proc/sys/net/core/bpf_jit_enable

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments from Daniel Borkmann
Michael Kerrisk [Thu, 23 Jul 2015 13:36:42 +0000 (15:36 +0200)] 
bpf.2: Improvements after comments from Daniel Borkmann

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: SEE ALSO: add bpf(2)
Michael Kerrisk [Thu, 23 Jul 2015 12:42:25 +0000 (14:42 +0200)] 
seccomp.2: SEE ALSO: add bpf(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Fixes after comments by Daniel Borkmann
Michael Kerrisk [Thu, 23 Jul 2015 10:11:21 +0000 (12:11 +0200)] 
bpf.2: Fixes after comments by Daniel Borkmann

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments from Alexei Starovoitov
Michael Kerrisk [Thu, 23 Jul 2015 09:56:44 +0000 (11:56 +0200)] 
bpf.2: Improvements after comments from Alexei Starovoitov

Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments by Alexei Starovoitov
Michael Kerrisk [Wed, 22 Jul 2015 20:02:27 +0000 (22:02 +0200)] 
bpf.2: Improvements after comments by Alexei Starovoitov

Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Minor tweaks
Michael Kerrisk [Wed, 22 Jul 2015 18:17:57 +0000 (20:17 +0200)] 
bpf.2: Minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments from Alexei Starovoitov
Michael Kerrisk [Wed, 22 Jul 2015 17:59:35 +0000 (19:59 +0200)] 
bpf.2: Improvements after comments from Alexei Starovoitov

Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Impreovements aftercomments from Daniel Borkmann
Michael Kerrisk [Wed, 22 Jul 2015 15:58:46 +0000 (17:58 +0200)] 
bpf.2: Impreovements aftercomments from Daniel Borkmann

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments from Daniel Borkmann and Alexei Starovoitov
Michael Kerrisk [Wed, 22 Jul 2015 14:45:08 +0000 (16:45 +0200)] 
bpf.2: Improvements after comments from Daniel Borkmann and Alexei Starovoitov

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments from Alexei Starovoitov
Michael Kerrisk [Wed, 22 Jul 2015 12:53:08 +0000 (14:53 +0200)] 
bpf.2: Improvements after comments from Alexei Starovoitov

Plus various other improvements of my own.

Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: ffix
Michael Kerrisk [Sun, 19 Jul 2015 14:52:39 +0000 (16:52 +0200)] 
bpf.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements after comments from Alexei Starovoitov
Michael Kerrisk [Tue, 9 Jun 2015 11:13:13 +0000 (13:13 +0200)] 
bpf.2: Improvements after comments from Alexei Starovoitov

Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Improvements from Alexei Starovoitov
Michael Kerrisk [Sun, 7 Jun 2015 15:00:20 +0000 (17:00 +0200)] 
bpf.2: Improvements from Alexei Starovoitov

Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Minor fixes
Michael Kerrisk [Sun, 7 Jun 2015 13:33:34 +0000 (15:33 +0200)] 
bpf.2: Minor fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Use cBPF/eBPF consistently in the text
Michael Kerrisk [Thu, 4 Jun 2015 11:11:19 +0000 (13:11 +0200)] 
bpf.2: Use cBPF/eBPF consistently in the text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Minor fixes
Michael Kerrisk [Thu, 4 Jun 2015 10:48:35 +0000 (12:48 +0200)] 
bpf.2: Minor fixes

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Various reworking + added FIXMEs
Michael Kerrisk [Tue, 26 May 2015 10:56:34 +0000 (12:56 +0200)] 
bpf.2: Various reworking + added FIXMEs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Add CONFORMING TO section
Michael Kerrisk [Tue, 26 May 2015 07:49:45 +0000 (09:49 +0200)] 
bpf.2: Add CONFORMING TO section

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Add VERSIONS section
Michael Kerrisk [Tue, 26 May 2015 07:48:56 +0000 (09:48 +0200)] 
bpf.2: Add VERSIONS section

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: wfix
Michael Kerrisk [Tue, 26 May 2015 06:34:12 +0000 (08:34 +0200)] 
bpf.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: Minor fixes
Michael Kerrisk [Mon, 25 May 2015 17:49:29 +0000 (19:49 +0200)] 
bpf.2: Minor fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: wfix (multiple)
Michael Kerrisk [Sun, 24 May 2015 19:47:35 +0000 (21:47 +0200)] 
bpf.2: wfix (multiple)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: ffix (multiple)
Michael Kerrisk [Sun, 24 May 2015 19:31:01 +0000 (21:31 +0200)] 
bpf.2: ffix (multiple)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: srcfix: wrap source lines at sentence breaks
Michael Kerrisk [Sun, 24 May 2015 10:00:38 +0000 (12:00 +0200)] 
bpf.2: srcfix: wrap source lines at sentence breaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agobpf.2: New page documenting bpf(2)
Alexei Starovoitov [Fri, 13 Mar 2015 19:16:32 +0000 (12:16 -0700)] 
bpf.2: New page documenting bpf(2)

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosocket.7: SEE ALSO: add bpf(2)
Michael Kerrisk [Wed, 27 May 2015 08:13:18 +0000 (10:13 +0200)] 
socket.7: SEE ALSO: add bpf(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosocket.7: srcfix: FIXME
Michael Kerrisk [Wed, 27 May 2015 08:12:54 +0000 (10:12 +0200)] 
socket.7: srcfix: FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocapabilities.7: CAP_SYS_ADMIN allows calling bpf(2)
Michael Kerrisk [Tue, 26 May 2015 13:07:20 +0000 (15:07 +0200)] 
capabilities.7: CAP_SYS_ADMIN allows calling bpf(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched_setaffinity.2: Improvements after comments by Florian Weimer
Michael Kerrisk [Wed, 22 Jul 2015 16:43:40 +0000 (18:43 +0200)] 
sched_setaffinity.2: Improvements after comments by Florian Weimer

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched_setaffinity.2: Rework text about dealing with systems with more than 1024 CPUs
Michael Kerrisk [Tue, 21 Jul 2015 15:00:40 +0000 (17:00 +0200)] 
sched_setaffinity.2: Rework text about dealing with systems with more than 1024 CPUs

After comments from Florian Weimer, who pointed out various
confusions in the earlier text.

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched_setaffinity.2: Explain how to deal with 1024-CPU limitation of glibc's cpu_set_...
Michael Kerrisk [Sat, 27 Jun 2015 09:05:02 +0000 (11:05 +0200)] 
sched_setaffinity.2: Explain how to deal with 1024-CPU limitation of glibc's cpu_set_t type

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched_setattr.2: Remove a const attribute
Julian Orth [Tue, 9 Jun 2015 12:11:41 +0000 (14:11 +0200)] 
sched_setattr.2: Remove a const attribute

The attr argument of sched_setattr was documented as const but the
kernel will modify the size field of this struct if it contains an
invalid value. See the documentation of the size field for details.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoperf_event_open.2: Exclude_host/exclude_guest clarification
Vince Weaver [Tue, 21 Jul 2015 16:05:38 +0000 (12:05 -0400)] 
perf_event_open.2: Exclude_host/exclude_guest clarification

This patch relates to the exclude_host and exclude_guest bits added
by the following commit:

   exclude_host, exclude_guest; Linux 3.2
        commit a240f76165e6255384d4bdb8139895fac7988799
        Author: Joerg Roedel <joerg.roedel@amd.com>
        Date:   Wed Oct 5 14:01:16 2011 +0200

            perf, core: Introduce attrs to count in either host or guest mode

The updated manpage text clarifies that the "exclude_host" and
"exclude_guest" perf_event_open() attr bits only apply in the
context of a KVM environment and are currently x86 only.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Acked-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoperf_event_open.2: Document PERF_SAMPLE_REGS_INTR
Vince Weaver [Tue, 21 Jul 2015 15:56:23 +0000 (11:56 -0400)] 
perf_event_open.2: Document PERF_SAMPLE_REGS_INTR

This patch relates to the addition of PERF_SAMPLE_REGS_INTR
support added in the following commit:

    perf_sample_regs_intr; Linux 3.19
commit 60e2364e60e86e81bc6377f49779779e6120977f
Author: Stephane Eranian <eranian@google.com>

            perf: Add ability to sample machine state on interrupt

The primary difference between PERF_SAMPLE_REGS_INTR and the
existing PERF_SAMPLE_REGS_USER is that the new support will
return kernel register values.  Also if precise_ip is
set higher than 0 then the PEBS register state will be returned
rather than the saved interrupt state.

This patch incorporates feedback from Stephane Eranian and
Andi Kleen.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agomprotect.2: Note ENOMEM error that can occur when we reach limit on maximum VMAs
Michael Kerrisk [Wed, 22 Jul 2015 07:18:26 +0000 (09:18 +0200)] 
mprotect.2: Note ENOMEM error that can occur when we reach limit on maximum VMAs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agommap.2: ERRORS: point out that ENOMEM can occur even for munmap()
Michael Kerrisk [Wed, 22 Jul 2015 07:13:00 +0000 (09:13 +0200)] 
mmap.2: ERRORS: point out that ENOMEM can occur even for munmap()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agommap.2: Minor wording fix
Michael Kerrisk [Wed, 22 Jul 2015 07:08:52 +0000 (09:08 +0200)] 
mmap.2: Minor wording fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agommap.2: Minor wording fixes
Michael Kerrisk [Wed, 22 Jul 2015 07:08:19 +0000 (09:08 +0200)] 
mmap.2: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agommap.2: tfix
Michael Kerrisk [Wed, 22 Jul 2015 07:04:55 +0000 (09:04 +0200)] 
mmap.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoepoll.7: wfix
Michael Kerrisk [Tue, 21 Jul 2015 19:14:31 +0000 (21:14 +0200)] 
epoll.7: wfix

Reported-by: Dilyan Palauzov <dilyan.palauzov@aegee.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agomlock.2: Document another ENOME error case
Michael Kerrisk [Tue, 21 Jul 2015 18:47:17 +0000 (20:47 +0200)] 
mlock.2: Document another ENOME error case

ENOMEM can occur if locking/unlocking in the middle of a region
would increase the number of VMAs beyond the system limit (64k).

Reported-by: Mehdi Aqadjani Memar <m.aqadjanimemar@student.vu.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoconsole_codes.4: Add kernel version for "Set the cursor blink interval" sequence
Michael Kerrisk [Tue, 21 Jul 2015 16:54:14 +0000 (18:54 +0200)] 
console_codes.4: Add kernel version for "Set the cursor blink interval" sequence

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoconsole_codes.4: Add CSI sequence for cursor blink interval
Scot Doyle [Thu, 26 Mar 2015 13:57:44 +0000 (13:57 +0000)] 
console_codes.4: Add CSI sequence for cursor blink interval

Add a Console Private CSI sequence to specify the current
console's cursor blink interval. The interval is specified
as a number of milliseconds until the next cursor display
state toggle, from 50 to 65535.

Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohosts.equiv.5: Minor improvement to text
Michael Kerrisk [Tue, 21 Jul 2015 14:02:33 +0000 (16:02 +0200)] 
hosts.equiv.5: Minor improvement to text

As discussed with Carlos O'Donell.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofallocate.2: Since Linux 4.2, ext4 supports FALLOC_FL_INSERT_RANGE
Michael Kerrisk [Tue, 21 Jul 2015 06:38:07 +0000 (08:38 +0200)] 
fallocate.2: Since Linux 4.2, ext4 supports FALLOC_FL_INSERT_RANGE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoerror.3: Minor fixes
Michael Kerrisk [Sun, 19 Jul 2015 12:32:48 +0000 (14:32 +0200)] 
error.3: Minor fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoerror.3: ATTRIBUTES: Note functions that are/aren't thread-safe
Zeng Linggang [Fri, 17 Jul 2015 03:15:19 +0000 (11:15 +0800)] 
error.3: ATTRIBUTES: Note functions that are/aren't thread-safe

The markings match glibc markings.
markings of functions in glibc are:
- error:         MT-Safe locale
- error_at_line: MT-Unsafe race:error_at_line/error_one_per_line locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agolocale.5: Remove BUGS section saying man page is not complete
Michael Kerrisk [Thu, 16 Jul 2015 17:15:51 +0000 (19:15 +0200)] 
locale.5: Remove BUGS section saying man page is not complete

To some degree, this is true of many pages. And anyway, this
page is much better after recent work by Marko.

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoldconfig.8: wsfix
Ville Skyttä [Wed, 8 Jul 2015 07:14:58 +0000 (10:14 +0300)] 
ldconfig.8: wsfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoman-pages-4.01.Announce: spfix
Ville Skyttä [Wed, 8 Jul 2015 07:12:59 +0000 (10:12 +0300)] 
man-pages-4.01.Announce: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoLIST_EMPTY.3, LIST_FIRST.3, LIST_FOREACH.3, LIST_HEAD_INITIALIZER.3, LIST_INSERT_BEFO...
Michael Kerrisk [Sat, 7 Feb 2015 23:11:18 +0000 (00:11 +0100)] 
LIST_EMPTY.3, LIST_FIRST.3, LIST_FOREACH.3, LIST_HEAD_INITIALIZER.3, LIST_INSERT_BEFORE.3, LIST_NEXT.3, SLIST_EMPTY.3, SLIST_ENTRY.3, SLIST_FIRST.3, SLIST_FOREACH.3, SLIST_HEAD.3, SLIST_HEAD_INITIALIZER.3, SLIST_INIT.3, SLIST_INSERT_AFTER.3, SLIST_INSERT_HEAD.3, SLIST_NEXT.3, SLIST_REMOVE.3, SLIST_REMOVE_HEAD.3, STAILQ_CONCAT.3, STAILQ_EMPTY.3, STAILQ_ENTRY.3, STAILQ_FIRST.3, STAILQ_FOREACH.3, STAILQ_HEAD.3, STAILQ_HEAD_INITIALIZER.3, STAILQ_INIT.3, STAILQ_INSERT_AFTER.3, STAILQ_INSERT_HEAD.3, STAILQ_INSERT_TAIL.3, STAILQ_NEXT.3, STAILQ_REMOVE.3, STAILQ_REMOVE_HEAD.3, TAILQ_CONCAT.3, TAILQ_EMPTY.3, TAILQ_FIRST.3, TAILQ_FOREACH.3, TAILQ_FOREACH_REVERSE.3, TAILQ_HEAD_INITIALIZER.3, TAILQ_INSERT_BEFORE.3, TAILQ_LAST.3, TAILQ_NEXT.3, TAILQ_PREV.3, TAILQ_SWAP.3: New link to queue.3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: srcfix: Add license marker tags
Michael Kerrisk [Sat, 7 Feb 2015 07:26:27 +0000 (08:26 +0100)] 
queue.3: srcfix: Add license marker tags

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Use real hyphens in code samples
Michael Kerrisk [Sat, 7 Feb 2015 07:15:24 +0000 (08:15 +0100)] 
queue.3: Use real hyphens in code samples

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Update timestamp
Michael Kerrisk [Sat, 7 Feb 2015 07:14:26 +0000 (08:14 +0100)] 
queue.3: Update timestamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Replace HISTORY with CONFORMING TO
Michael Kerrisk [Sat, 7 Feb 2015 07:11:04 +0000 (08:11 +0100)] 
queue.3: Replace HISTORY with CONFORMING TO

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Remove SEE ALSO reference to nonexistent tree(3)
Michael Kerrisk [Sat, 7 Feb 2015 07:09:48 +0000 (08:09 +0100)] 
queue.3: Remove SEE ALSO reference to nonexistent tree(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Use subsections in DESCRIPTION
Michael Kerrisk [Sat, 7 Feb 2015 07:08:17 +0000 (08:08 +0100)] 
queue.3: Use subsections in DESCRIPTION

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Comment out text for functions not in glibc
Michael Kerrisk [Sat, 7 Feb 2015 07:05:23 +0000 (08:05 +0100)] 
queue.3: Comment out text for functions not in glibc

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoqueue.3: Reimport from latest FreeBSD page
Michael Kerrisk [Sat, 7 Feb 2015 06:39:47 +0000 (07:39 +0100)] 
queue.3: Reimport from latest FreeBSD page

Long ago, Doug Klima noted that many macros were not
documented in the queue(3) page. Fix by reimporting from
latest [1] FreeBSD man page.

[1] Revision 263142, Modified Fri Mar 14 03:07:51 2014 UTC

This also fixes https://sourceware.org/bugzilla/show_bug.cgi?id=1506

This time, I'll learn from past mistakes and not convert
from 'mdoc' to 'man' macros.

Reported-by: David Leppik <dleppik@vocalabs.com>
Reported-by: Doug Klima <cardoe@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agolocale.5: document era keywords
Marko Myllynen [Thu, 25 Jun 2015 07:42:15 +0000 (10:42 +0300)] 
locale.5: document era keywords

This patch completes the LC_TIME section - since these era
keywords are so tightly coupled, I'm providing them as a
single patch.

Based on
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html
http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoxdr.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 24 Jun 2015 09:28:39 +0000 (17:28 +0800)] 
xdr.3: ATTRIBUTES: Note functions that are thread-safe

After research, We think
xdr_array(), xdr_bool(),
xdr_bytes(), xdr_char(),
xdr_destroy(), xdr_double(),
xdr_enum(), xdr_float(),
xdr_free(), xdr_getpos(),
xdr_inline(), xdr_int(),
xdr_long(), xdrmem_create(),
xdr_opaque(), xdr_pointer(),
xdrrec_create(), xdrrec_eof(),
xdrrec_endofrecord(),
xdrrec_skiprecord(),
xdr_reference(), xdr_setpos(),
xdr_short(), xdrstdio_create(),
xdr_string(), xdr_u_char(),
xdr_u_int(), xdr_u_long(),
xdr_u_short(), xdr_union(),
xdr_vector(), xdr_void(),
xdr_wrapstring(),
are thread-safe. But, there are not
markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agorpc.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 24 Jun 2015 09:28:38 +0000 (17:28 +0800)] 
rpc.3: ATTRIBUTES: Note functions that are thread-safe

After research, We think
auth_destroy(), authnone_create(),
authunix_create(), authunix_create_default(),
callrpc(), clnt_broadcast(),
clnt_call(), clnt_destroy(),
clnt_create(), clnt_control(),
clnt_freeres(), clnt_geterr(),
clnt_pcreateerror(), clnt_perrno(),
clnt_perror(), clnt_spcreateerror(),
clnt_sperrno(), clnt_sperror(),
clntraw_create(), clnttcp_create(),
clntudp_create(), clntudp_bufcreate(),
get_myaddress(), pmap_getmaps(),
pmap_getport(), pmap_rmtcall(),
pmap_set(), pmap_unset(),
registerrpc(), svc_destroy(),
svc_freeargs(), svc_getargs(),
svc_getcaller(), svc_getreqset(),
svc_getreq(), svc_register(),
svc_run(), svc_sendreply(),
svc_unregister(), svcerr_auth(),
svcerr_decode(), svcerr_noproc(),
svcerr_noprog(), svcerr_progvers(),
svcerr_systemerr(), svcerr_weakauth(),
svcfd_create(), svcraw_create(),
svctcp_create(), svcudp_bufcreate(),
svcudp_create(), xdr_accepted_reply(),
xdr_authunix_parms(), xdr_callhdr(),
xdr_callmsg(), xdr_opaque_auth(),
xdr_pmap(), xdr_pmaplist(),
xdr_rejected_reply(), xdr_replymsg(),
xprt_register(), xprt_unregister(),
are thread-safe. But, there are not
markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetauxval.3: File capabilities also trigger AT_SECURE
Michael Kerrisk [Wed, 15 Jul 2015 14:36:02 +0000 (16:36 +0200)] 
getauxval.3: File capabilities also trigger AT_SECURE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: wfix
Michael Kerrisk [Mon, 13 Jul 2015 12:06:24 +0000 (14:06 +0200)] 
seccomp.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agouselib.2: srcfix
Michael Kerrisk [Fri, 10 Jul 2015 18:00:22 +0000 (20:00 +0200)] 
uselib.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetauxval.3: (Briefly) document AT_HWCAP2
Michael Kerrisk [Wed, 8 Jul 2015 09:04:49 +0000 (11:04 +0200)] 
getauxval.3: (Briefly) document AT_HWCAP2

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agomemcpy.3: NOTES: describe the glibc 2.13 changes that revealed buggy applications
Michael Kerrisk [Fri, 3 Jul 2015 11:08:04 +0000 (13:08 +0200)] 
memcpy.3: NOTES: describe the glibc 2.13 changes that revealed buggy applications

Adding a note on this point seems worthwhile as a way of
emphasizing the point that the buffers must not overlap.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofcntl.2: ffix
Michael Kerrisk [Wed, 1 Jul 2015 10:08:05 +0000 (12:08 +0200)] 
fcntl.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfix
Michael Kerrisk [Tue, 30 Jun 2015 13:35:19 +0000 (15:35 +0200)] 
seccomp.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprctl.2, seccomp.2: Clarify that SECCOMP_SET_MODE_STRICT disallows exit_group(2)
Michael Kerrisk [Tue, 30 Jun 2015 11:39:39 +0000 (13:39 +0200)] 
prctl.2, seccomp.2: Clarify that SECCOMP_SET_MODE_STRICT disallows exit_group(2)

These days, glibc implements _exit() as a wrapper around
exit_group(2). (When seccomp was originally introduced, this was
not the case.) Give the reader a clue that, despite what glibc is
doing, what SECCOMP_SET_MODE_STRICT permits is the true _exit(2)
system call, and not exit_group(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: tfix
Michael Kerrisk [Tue, 30 Jun 2015 11:29:23 +0000 (13:29 +0200)] 
seccomp.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ffix
Michael Kerrisk [Tue, 30 Jun 2015 11:28:42 +0000 (13:28 +0200)] 
seccomp.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: tfix
Michael Kerrisk [Tue, 30 Jun 2015 11:28:10 +0000 (13:28 +0200)] 
seccomp.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agotruncate.2: ERRORS: ftruncate() can fail if the file descriptor is not writable
Michael Kerrisk [Tue, 30 Jun 2015 09:57:40 +0000 (11:57 +0200)] 
truncate.2: ERRORS: ftruncate() can fail if the file descriptor is not writable

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched.7: tfix
Michael Kerrisk [Sat, 27 Jun 2015 09:04:28 +0000 (11:04 +0200)] 
sched.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched.7: Remove ancient, wildly optimistic prediction about future of RT patches
Michael Kerrisk [Sat, 27 Jun 2015 08:56:29 +0000 (10:56 +0200)] 
sched.7: Remove ancient, wildly optimistic prediction about future of RT patches

It seems the patches were not merged by 2.6.30...

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched.7: tfix
Michael Kerrisk [Fri, 26 Jun 2015 09:04:44 +0000 (11:04 +0200)] 
sched.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocore.5: Mention 'coredump_filter' boot option
Michael Kerrisk [Thu, 25 Jun 2015 10:07:27 +0000 (12:07 +0200)] 
core.5: Mention 'coredump_filter' boot option

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched_setaffinity.2: Mention the use of the 'isolcpus' kernel boot option
Michael Kerrisk [Thu, 25 Jun 2015 09:53:00 +0000 (11:53 +0200)] 
sched_setaffinity.2: Mention the use of the 'isolcpus' kernel boot option

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetpriority.2: tfix
Michael Kerrisk [Wed, 24 Jun 2015 12:33:19 +0000 (14:33 +0200)] 
getpriority.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohosts.equiv.5: Improve explanation in EXAMPLE
Michael Kerrisk [Thu, 18 Jun 2015 19:19:38 +0000 (21:19 +0200)] 
hosts.equiv.5: Improve explanation in EXAMPLE

Reported-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogsignal.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Thu, 18 Jun 2015 05:36:51 +0000 (13:36 +0800)] 
gsignal.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.
markings of functions in glibc are:
- gsignal: MT-Safe
- ssignal: MT-Safe sigintr

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetpwent_r.3: ATTRIBUTES: Note functions that are/aren't thread-safe
Zeng Linggang [Thu, 18 Jun 2015 05:36:50 +0000 (13:36 +0800)] 
getpwent_r.3: ATTRIBUTES: Note functions that are/aren't thread-safe

The markings match glibc markings.
markings of functions in glibc are:
- getpwent_r:  MT-Unsafe race:pwent locale
- fgetpwent_r: MT-Safe

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetgrent_r.3: ATTRIBUTES: Note functions that are/aren't thread-safe
Zeng Linggang [Thu, 18 Jun 2015 05:36:49 +0000 (13:36 +0800)] 
getgrent_r.3: ATTRIBUTES: Note functions that are/aren't thread-safe

The markings match glibc markings.
markings of functions in glibc are:
- getgrent_r:  MT-Unsafe race:grent locale
- fgetgrent_r: MT-Safe

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoclearenv.3: ATTRIBUTES: Note function that is not thread-safe
Zeng Linggang [Thu, 18 Jun 2015 05:36:48 +0000 (13:36 +0800)] 
clearenv.3: ATTRIBUTES: Note function that is not thread-safe

The marking matches glibc marking.
The marking of functions in glibc is:
- clearenv: MT-Unsafe const:env

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosetsid.2: tfix
Tobias Stoeckmann [Wed, 17 Jun 2015 20:31:37 +0000 (22:31 +0200)] 
setsid.2: tfix

it -> its

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agopacket.7: ffix
Michael Kerrisk [Thu, 18 Jun 2015 06:41:21 +0000 (08:41 +0200)] 
packet.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Document /proc/sys/kernel/sysctl_writes_strict
Michael Kerrisk [Fri, 8 May 2015 14:52:55 +0000 (16:52 +0200)] 
proc.5: Document /proc/sys/kernel/sysctl_writes_strict

Based on text in Documentation/sysctl/kernel.txt.

Cowritten-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohosts.equiv.5: Improve explanation in EXAMPLE
Michael Kerrisk [Thu, 18 Jun 2015 06:29:52 +0000 (08:29 +0200)] 
hosts.equiv.5: Improve explanation in EXAMPLE

Reported-by: Arjun Shankar <arjun@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohosts.equiv.5: wfix
Michael Kerrisk [Thu, 18 Jun 2015 06:29:15 +0000 (08:29 +0200)] 
hosts.equiv.5: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohosts.equiv.5: Tweak's to Carlos's patch
Michael Kerrisk [Wed, 17 Jun 2015 08:46:06 +0000 (10:46 +0200)] 
hosts.equiv.5: Tweak's to Carlos's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohosts.equiv.5: Fix format, clarify IdM needs, and provide examples.
Carlos O'Donell [Sun, 24 May 2015 04:58:25 +0000 (00:58 -0400)] 
hosts.equiv.5: Fix format, clarify IdM needs, and provide examples.

In some recent work with a Red Hat customer I had the opportunity
to discuss the fine nuances of the ruserok() function and related
API which are used to implement rlogin and rsh.

It came to my attention after working with QE on some automated
internal testing that there were no good examples in the hosts.equiv
manual page showing how the format was supposed to work for this
file and for ~/.rhosts, worse the "format" line showed that there
should be spaces between arguments when that would clearly lead
to incorrect behaviour. In addition some things that the format
allows you to write are just wrong like "-host -user" which makes
no sense since the host is already rejected, and should be written
as "host -user" instead. I added notes in the example to make it
clear that "-host -user" is invalid.

I fixed three things:

(a) The format line.
- Either +, or [-]hostname, or +@netgrp or -@netgrp.
- Either +, or [-]username, or +@netgrp or -@netgrp.
- You must specify something in the hostname portion so remove
  optional brackets.

(b) Clarify language around credentials
- If the host is not trusted you must provide credentials to
  the login system and that could be anything really and it
  depends on your configuration e.g. PAM or whatever IdM you have.

(c) Provide real-world examples
- Provide several real world examples and some corner case
  examples for how you would write something. Hopefully others
  can add examples as they see fit.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agohost.conf.5: Wording fix: s/resolv+/the resolver library/
Michael Kerrisk [Tue, 16 Jun 2015 11:20:54 +0000 (13:20 +0200)] 
host.conf.5: Wording fix: s/resolv+/the resolver library/

The term "resolv+" seems to be historical cruft.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agochroot.2: Minor fixes
Michael Kerrisk [Tue, 16 Jun 2015 11:20:47 +0000 (13:20 +0200)] 
chroot.2: Minor fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosocket.2: Update documentation reference for AF_ALG
Stephan Mueller [Sun, 14 Jun 2015 13:01:08 +0000 (15:01 +0200)] 
socket.2: Update documentation reference for AF_ALG

Signed-off-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agochroot.2: chroot() is not intended for security; document attack
Jann Horn [Sun, 14 Jun 2015 11:25:04 +0000 (13:25 +0200)] 
chroot.2: chroot() is not intended for security; document attack

It is unfortunate that this discourages this use of chroot(2)
without pointing out alternative solutions - for example,
OpenSSH and vsftpd both still rely on chroot(2) for security.

Bind mounts should theoretically be usable as a replacement, but
currently, they have a similar problem (CVE-2015-2925) that hasn't
been fixed in ~6 months, so I'd rather not add it to the manpage
as a solution before a fix lands.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofexecve.3: ATTRIBUTES: Note function that is thread-safe
Zeng Linggang [Wed, 27 May 2015 10:12:55 +0000 (18:12 +0800)] 
fexecve.3: ATTRIBUTES: Note function that is thread-safe

After research, We think fexecve() is thread-safe. But, there
is not marking of fexecve() in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>