This list is repeated again later, and it doesn't really
help reader understanding to have the brief duplicate
list near the start of the page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
As noted by Colin King:
Currently, the aarch64 clone() system call requires the stack
to be aligned at a 16 byte boundary, see
arch/arm64/kernel/process.c, copy_thread():
if (stack_start) {
if (is_compat_thread(task_thread_info(p)))
childregs->compat_sp = stack_start;
/* 16-byte aligned stack mandatory on AArch64 */
else if (stack_start & 15)
return -EINVAL;
else
childregs->sp = stack_start;
}
..and returns -EINVAL if not aligned correctly. This should
be added to the manual page clone(2) as it took me a while to
figure out why clone() was failing with -EINVAL for aarch64
but not on x86.
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Here's the first attempt to (almost) complete the locale.5 manual
page by documenting all (but perhaps one) of the missing
LC_COLLATE keywords.
I think the LC_COLLATE section is still not enough to be used as
the only source when writing collation rules from scratch but
perhaps that's not even needed, it could be also thought that
the section 5 pages merely describe the format used in the files.
Naturally more information could be added later on top of this
patch.
Few notes:
- AFAICS coll_weight_max is not used anywhere in glibc
- I'm not aware of any C library implementation on Linux (for
which this manual page would be relevant) which would
implement the POSIX options not supported by glibc
- the glibc specific script keyword could still be documented
Sources:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.htmlhttp://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf
PS. A couple of unrelated comment clean-ups slipped in as well,
sorry about those.
Since Linux 2.6.17, clone and fork syscalls return ERESTARTNOINTR
when interrupted by a signal before newly created process is added
to its process group.
This error code can only be seen by ptrace at syscall exit tracing.
The information was obtained from kernel source code:
http://bit.ly/24xdofn
Signed-off-by: Nikola Forró <nforro@redhat.com>
These strings are meaningful in LD_LIBRARY_PATH and LD_PRELOAD.
Reported-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Defining these functions via <sys/types.h> causes problems for
some folk. As noted by Zack Wein:
libstdc++ force-enables _GNU_SOURCE, which means people
writing in C++ _can't_ avoid these nonstandard macros by
using a strict conformance mode.
Since glibc has basically always used <sys/sysmacros.h>,
update the docs to have people include that instead.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Compression is already handled properly by distros and
explicit support from the package is not desired nowadays.
The 'screen' target doesn't handle compressed files.
Removal suggested by Mike Frysinger.
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>