These functions have been added in keyutils 1.5.10
(see commits v1.5.10~11 and v1.5.10~10).
* man2/keyctl.2 (.SH DESCRIPTION) <.TP .BR KEYCTL_DH_COMPUTE>:
Mention the keyctl_dh_compute/keyctl_dh_compute_alloc are
provided in keyutils library for the operation.
(.SH SEE ALSO): Add references to keyctl_dh_compute(3) and
keyctl_dh_compute_alloc(3).
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Commit man-pages-4.12-229-gdf81149 removed the only usage of .URL
macro (introduced in man-pages-4.12-228-ga02cbc7), so www.tmac is
not needed anymore.
* man2/keyctl.2 (.mso www.tmac): Remove it.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The location has been changed in Linux commit
v4.10-rc1~40^2~86^2~4.
* man7/unicode.7 (.SS Private Use Areas (PUA)): Amend pointer to
Documentation/unicode.txt with change introduced in Linux 4.10
(move to Documentation/admin-guide/unicode.rst).
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The file has been moved in Linux commit v2.6.29-rc2~47.
* man7/cpuset.7 (.SH SEE ALSO): Add information about the location
of cpusets.txt since Linux 2.6.29.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The location has been changed in Linux commit
v4.10-rc1~40^2~86^2~4.
* man5/proc.5 (.SS Files and directories)
<.TP .I /proc/sys/kernel/sysrq, .TP .IR /proc/sysrq-trigger>:
Amend pointer to Documentation/sysrq.txt with change introduced
in Linux 4.10 (move to Documentation/admin-guide/sysrq.rst).
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The location of the file has been changed in Linux commit
v2.6.28-rc1~734^2^8~3.
* man5/proc.5 (.SS Files and directories) <.TP .I /proc/mtrr>:
Amend pointer to in-kernel MTRR documentation with the
location change happened in Linux 2.6.28.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
DocBook documentation has been removed in commit
v4.13-rc1~34^2~21^2~11. Crypto API has been converted to
ReStructured format during the Linux 4.10 development cycle
(see commits v4.10-rc1~40^2~8 and v4.10-rc1~40^2~7).
* man5/proc.5 (.SS Files and directories) <.TP .I /proc/crypto>:
Amend the reference to the kernel's crypto API documentation
with the new location, effective since Linux 4.10.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The file has been moved twice since its mention on the man page.
* man5/proc.5 (.SS Files and directories)
<.TP .IR /proc/[pid]/attr/keycreate>: Amend security keys
documentation reference with the locations in different
versions of Linux kernel tree.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
timer_stats was removed in Linux commit commit v4.11-rc1~177^2~5
citing security concerns.
* man5/proc.5 (.SS Files and directories)
<.TP .I /proc/timer_stats>: Mention the last Linux version where
the file was available along with the reasons of removal.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This PPC-specific sysctl option has been removed in Linux 2.4.9.2,
according to historic Linux repository commit log.
* man5/proc.5 (.SS Files and directories)
<.TP .I /proc/sys/kernel/htab-reclaim>: Mention the last Linux
version where the option was available.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Linux commit v4.10-rc1~40^2~86^2~4 moves initrd documentation from
Documentation/initrd.txt to Documentation/admin-quide/initrd.rst.
* man4/initrd.4 (.SS Changing the normal root filesystem,
.SH SEE ALSO): Amend pointer to in-kernel initrd documentation
with change introduced in Linux 4.10 (move to
Documentation/admin-guide/initrd.rst).
* man5/proc.5 (.SS Files and directories)
<.TP .I /proc/sys/kernel/real-root-dev>: Likewise.
* man7/bootparam.7 (.SS Boot arguments for ramdisk use)
<.TP .B 'noinitrd'>: Likewise.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Linux commit v2.6.33-rc1~57^2~37 moves all NFS-related documentation to
nfs sub-directory.
* man4/initrd.4 (.SS Changing the normal root filesystem): Amend
pointer to Documentation/nfsroot.txt with change introduced in
Linux 2.6.33 (move to Documentation/nfs/nfsroot.txt)
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Linux commit v4.12-rc1~137^2~33^2 converted unshare documentation
(previously resided in Documentation/unshare.txt) to ReStructured
format, along with relocating it to
Documentation/userspace-api/unshare.rst.
* man2/unshare.2 (.SH SEE ALSO): Amend pointer to
Documentation/unshare.txt with change introduced in Linux 4.14
(move to Documentation/userspace_api/unshare.rst).
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Linux commit v4.13-rc1~34^2~40 converted seccomp documentation
(previously resided in Documentation/prctl/seccomp_filter.txt)
to ReStructured, along with relocating it to
Documentation/userspace-api/seccomp_filter.rst.
* man2/prctl.2 (.SH DESCRIPTION) <.TP .BR PR_SET_SECCOMP>: Amend
pointer to Documentation/prctl/seccomp_filter.txt with change
introduced in Linux 4.13 (move to
Documentation/userspace_api/seccomp_filter.rst).
* man2/seccomp.2 (.SH SEE ALSO): Likewise.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Linux commit v4.13-rc1~34^2~39 converted no_new_privs flag
documentation (previously resided in
Documentation/prctl/no_new_privs.txt) to ReStructured, along with
relocating it to
Documentation/userspace-api/no_new_privs.rst.
* man2/prctl.2 (.SH DESCRIPTION) <.TP .BR PR_SET_NO_NEW_PRIVS>:
Amend pointer to Documentation/prctl/no_new_privs.txt with
change introduced in Linux 4.13 (move to
Documentation/userspace-api/no_new_privs.rst).
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Linux commit v4.13-rc1~34^2~30 converted yama documentation
(previously resided in Documentation/security/Yama.txt) to
ReStructured, along with relocating it to
Documentation/amdin-guide/LSM/Yama.rst.
* man2/prctl.2 (.SH DESCRIPTION) <.TP .BR PR_SET_PTRACER>: Amend
pointer to Documentation/security/Yama.txt with change
introduced in Linux 4.13
(Documentation/admin-guide/LSM/Yama.rst).
* man2/ptrace.2 (.SS /proc/sys/kernel/yama/ptrace_scope):
Likewise.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
In 4.13 the release cycle, key management documentation has been
reformatted to ReStructured text and moved to a separate
"keys" directory.
Relevant kernel commits: v4.13-rc1~34^2~27, v4.13-rc1~34^2~25
* man2/add_key.2 (.SH SEE ALSO): Amend pointers to
Documentation/security/keys.txt and Documentation/keys-request-key.txt
with changes introduced in Linux 4.13 (Documentation/keys/core.rst and
Documentation/keys/request-key.rst).
* man2/request_key.2 (.SH SEE ALSO): Likewise.
* man7/keyrings.7 (.SH SEE ALSO): Likewise.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
During the Linux 4.13 development cycle, the cciss driver has been
removed in favor of the hpsa driver, which has been amended with
some legacy board support.
* man4/cciss.4 (.SH DESCRIPTION): Mention driver removal.
* man4/hpsa.4 (.SH DESCRIPTION): Mention list of boards that are
recognised since Linux 4.13.
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Drawn from Documentation/filesystems/sysfs.txt, P. Mochel's OLS
paper, and some naive investigation.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Just a skeleton page so far, but perhaps it will be filled out
over time.
Reported-by: Mark Wielaard <mark@klomp.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
On a current x86-64 i7 system, sincos() is about 15% faster than
sin()+cos() according to the following test program.
/*
* Build with: cc -O -lm -fno-fast-math -fno-builtin
*/
int
main(int argc, char *argv[])
{
double arg, rsin, rcos;
int loop, i;
arg = strtod(argv[1], NULL);
loop = 10000000;
if (argc > 2)
loop = atoi(argv[2]);
if (argc > 3) {
printf("sin + cos\n");
for (i = 0; i < loop; i++) {
rsin = sin(arg);
rcos = cos(arg);
}
} else {
printf("sincos\n");
for (i = 0; i < loop; i++) {
sincos(arg, &rsin, &rcos);
}
}
}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This accords with glibc headers and the Linux kernel source.
Reported-by: Fabio Scotoni <fabio@esse.ch>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Move the discussion of fsync() and metadata into a separate
paragraph to make the point more obvious.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>