aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-05-31prctl.2, PR_SET_TIMERSLACK.2const: Split PR_SET_TIMERSLACK from prctl(2)Alejandro Colomar2-72/+113
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TID_ADDRESS.2const: Tweak after splitAlejandro Colomar1-12/+14
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TID_ADDRESS.2const: Split PR_GET_TID_ADDRESS from prctl(2)Alejandro Colomar2-22/+59
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_THP_DISABLE.2const: Tweak after splitAlejandro Colomar1-5/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_THP_DISABLE.2const: Split PR_GET_THP_DISABLE from prctl(2)Alejandro Colomar2-7/+40
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_THP_DISABLE.2const: Tweak after splitAlejandro Colomar1-6/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_THP_DISABLE.2const: Split PR_SET_THP_DISABLE from prctl(2)Alejandro Colomar2-17/+50
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_TASK_PERF_EVENTS_DISABLE.2const: Tweak after splitAlejandro Colomar1-21/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_TASK_PERF_EVENTS_{EN,DIS}ABLE.2const: Split ↵Alejandro Colomar3-33/+68
PR_TASK_PERF_EVENTS_* from prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TAGGED_ADDR_CTRL.2const: Tweak after splitAlejandro Colomar1-40/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TAGGED_ADDR_CTRL.2const: Split PR_GET_TAGGED_ADDR_CTRL from ↵Alejandro Colomar2-46/+81
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_TAGGED_ADDR_CTRL.2const: Tweak after splitAlejandro Colomar1-54/+36
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TAGGED_ADDR_CTRL.2const: Split PR_SET_TAGGED_ADDR_CTRL from ↵Alejandro Colomar2-116/+151
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_SYSCALL_USER_DISPATCH.2const: Tweak after splitAlejandro Colomar1-41/+30
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SYSCALL_USER_DISPATCH.2const: Split ↵Alejandro Colomar2-148/+183
PR_SET_SYSCALL_USER_DISPATCH from prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SVE_GET_VL.2const: Tweak after splitAlejandro Colomar1-25/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SVE_GET_VL.2const: Split PR_SVE_GET_VL from prctl(2)Alejandro Colomar2-39/+74
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SVE_SET_VL.2const: Tweak after splitAlejandro Colomar1-63/+54
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SVE_SET_VL.2const: Split PR_SVE_SET_VL from prctl(2)Alejandro Colomar2-133/+168
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_SPECULATION_CTRL.2const: Tweak after splitAlejandro Colomar1-25/+26
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_SPECULATION_CTRL.2const: Split PR_GET_SPECULATION_CTRL from ↵Alejandro Colomar2-55/+90
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_SPECULATION_CTRL.2const: Tweak after splitAlejandro Colomar1-68/+19
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SPECULATION_CTRL.2const: Split PR_SET_SPECULATION_CTRL from ↵Alejandro Colomar2-122/+157
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_SECUREBITS.2const: Tweak after splitAlejandro Colomar1-6/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_SECUREBITS.2const: Split PR_GET_SECUREBITS from prctl(2)Alejandro Colomar2-8/+42
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_SECUREBITS.2const: Tweak after splitAlejandro Colomar1-5/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SECUREBITS.2const: Split PR_SET_SECUREBITS from prctl(2)Alejandro Colomar2-19/+58
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_SECCOMP.2const: Tweak after splitAlejandro Colomar1-24/+27
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_SECCOMP.2const: Split PR_GET_SECCOMP from prctl(2)Alejandro Colomar2-38/+74
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_SECCOMP.2const: Tweak after splitAlejandro Colomar1-47/+27
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SECCOMP.2const: Split PR_SET_SECCOMP from prctl(2)Alejandro Colomar2-95/+144
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_PTRACER.2const: Tweak after splitAlejandro Colomar1-26/+24
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_PTRACER.2const: Split PR_SET_PTRACER from prctl(2)Alejandro Colomar2-44/+78
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_PDEATHSIG.2const: Tweak after splitAlejandro Colomar1-8/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_PDEATHSIG.2const: Split PR_GET_PDEATHSIG from prctl(2)Alejandro Colomar2-7/+47
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_PDEATHSIG.2const: Tweak after splitAlejandro Colomar1-24/+22
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_PDEATHSIG.2const: Split PR_SET_PDEATHSIG from prctl(2)Alejandro Colomar2-68/+103
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_PAC_RESET_KEYS.2const: Tweak after splitAlejandro Colomar1-50/+28
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_PAC_RESET_KEYS.2const: Split PR_PAC_RESET_KEYS from prctl(2)Alejandro Colomar2-79/+117
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_NO_NEW_PRIVS.2const: Tweak after splitAlejandro Colomar1-9/+17
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_NO_NEW_PRIVS.2const: Split PR_GET_NO_NEW_PRIVS from prctl(2)Alejandro Colomar2-14/+49
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_NO_NEW_PRIVS.2const: Tweak after splitAlejandro Colomar1-32/+26
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_NO_NEW_PRIVS.2const: Split PR_SET_NO_NEW_PRIVS from prctl(2)Alejandro Colomar2-56/+92
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_NAME.2const: Tweak after splitAlejandro Colomar1-25/+35
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_[SG]ET_NAME.2const: Split PR_[SG]ET_NAME from prctl(2)Alejandro Colomar3-32/+78
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_MPX_ENABLE_MANAGEMENT.2const: Tweak after splitAlejandro Colomar1-52/+45
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_MPX_{EN,DIS}ABLE_MANAGEMENT.2const: Split PR_MPX_*_MANAGEMENT ↵Alejandro Colomar3-92/+132
from prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_VMA.2const: Tweak after splitAlejandro Colomar1-19/+19
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_VMA.2const: Split PR_SET_VMA from prctl(2)Alejandro Colomar2-34/+77
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_MAP{,_SIZE}.2const: Split PR_SET_MM_MAP* from ↵Alejandro Colomar3-27/+85
PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_EXE_FILE.2const: Split PR_SET_MM_EXE_FILE from ↵Alejandro Colomar2-54/+83
PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_AUXV.2const: Split PR_SET_MM_AUXV from ↵Alejandro Colomar2-15/+50
PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_{ARG,ENV}_{START,END}.2const: Split PR_SET_MM_* ↵Alejandro Colomar5-22/+80
from PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_BRK.2const: Split PR_SET_MM_BRK from ↵Alejandro Colomar2-19/+60
PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_START_BRK.2const: Split PR_SET_MM_START_BRK from ↵Alejandro Colomar2-14/+64
PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_START_STACK.2const: Split PR_SET_MM_START_STACK ↵Alejandro Colomar2-10/+50
from PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_{START,END}_DATA.2const: Split PR_SET_MM_*_DATA ↵Alejandro Colomar3-14/+64
from PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const, PR_SET_MM_{START,END}_CODE.2const: Split PR_SET_MM_*_CODE ↵Alejandro Colomar3-14/+65
from PR_SET_MM(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MM.2const: Tweak after splitAlejandro Colomar1-54/+24
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_MM.2const: Split PR_SET_MM from prctl(2)Alejandro Colomar2-254/+294
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_MCE_KILL_GET.2const: Tweak after splitAlejandro Colomar1-11/+10
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_MCE_KILL_GET.2const: Split PR_MCE_KILL_GET from prctl(2)Alejandro Colomar2-9/+43
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_MCE_KILL.2const, PR_MCE_KILL_SET.2const: Split PR_MCE_KILL_SET from ↵Alejandro Colomar2-21/+63
PR_MCE_KILL(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_MCE_KILL.2const, PR_MCE_KILL_CLEAR.2const: Split PR_MCE_KILL_CLEAR from ↵Alejandro Colomar2-7/+42
PR_MCE_KILL(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_MCE_KILL.2const: Tweak after splitAlejandro Colomar1-23/+19
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_MCE_KILL.2const: Split PR_MCE_KILL from prctl(2)Alejandro Colomar2-42/+83
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_KEEPCAPS.2const: Tweak after splitAlejandro Colomar1-10/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_KEEPCAPS.2const: Split PR_GET_KEEPCAPS from prctl(2)Alejandro Colomar2-12/+46
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_KEEPCAPS.2const: Tweak after splitAlejandro Colomar1-15/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_KEEPCAPS.2const: Split PR_SET_KEEPCAPS from prctl(2)Alejandro Colomar2-22/+65
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_IO_FLUSHER.2const: Tweak after splitAlejandro Colomar1-14/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_IO_FLUSHER.2const: Split PR_GET_IO_FLUSHER from prctl(2)Alejandro Colomar2-18/+52
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_IO_FLUSHER.2const: Tweak after splitAlejandro Colomar1-23/+20
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_IO_FLUSHER.2const: Split PR_SET_IO_FLUSHER from prctl(2)Alejandro Colomar2-29/+71
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_FPEXC.2const: Tweak after splitAlejandro Colomar1-11/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_FPEXC.2const: Split PR_GET_FPEXC from prctl(2)Alejandro Colomar2-6/+50
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_FPEXC.2const: Tweak after splitAlejandro Colomar1-23/+30
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_FPEXC.2const: Split PR_SET_FPEXC from prctl(2)Alejandro Colomar2-16/+60
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_FPEMU.2const: Tweak after splitAlejandro Colomar1-11/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_FPEMU.2const: Split PR_GET_FPEMU from prctl(2)Alejandro Colomar2-7/+51
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_FPEMU.2const: Tweak after splitAlejandro Colomar1-13/+9
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_FPEMU.2const: Split PR_SET_FPEMU from prctl(2)Alejandro Colomar2-12/+57
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_FP_MODE.2const: Tweak after splitAlejandro Colomar1-19/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_FP_MODE.2const: Split PR_GET_FP_MODE from prctl(2)Alejandro Colomar2-20/+55
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_FP_MODE.2const: Tweak after splitAlejandro Colomar1-28/+15
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_FP_MODE.2const: Split PR_SET_FP_MODE from prctl(2)Alejandro Colomar2-115/+152
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_ENDIAN.2const: Tweak after splitAlejandro Colomar1-7/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_ENDIAN.2const: Split PR_GET_ENDIAN from prctl(2)Alejandro Colomar2-6/+46
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_ENDIAN.2const: Tweak after splitAlejandro Colomar1-10/+10
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_ENDIAN.2const: Split PR_SET_ENDIAN from prctl(2)Alejandro Colomar2-11/+52
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_DUMPABLE.2const: Tweak after splitAlejandro Colomar1-12/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_DUMPABLE.2const: Split PR_GET_DUMPABLE from prctl(2)Alejandro Colomar2-10/+48
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_DUMPABLE.2const: Tweak after splitAlejandro Colomar1-38/+37
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_SET_DUMPABLE.2const: Split PR_SET_DUMPABLE from prctl(2)Alejandro Colomar2-81/+119
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_GET_CHILD_SUBREAPER.2const: Tweak after splitAlejandro Colomar1-10/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_GET_CHILD_SUBREAPER.2const: Split PR_GET_CHILD_SUBREAPER from ↵Alejandro Colomar2-7/+47
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_SET_CHILD_SUBREAPER.2const: Tweak after splitAlejandro Colomar1-15/+12
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_SET_CHILD_SUBREAPER.2const: Split PR_SET_CHILD_SUBREAPER from ↵Alejandro Colomar2-51/+87
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAPBSET_DROP.2const: Tweak after splitAlejandro Colomar1-37/+21
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_CAPBSET_DROP.2const: Split PR_CAPBSET_DROP from prctl(2)Alejandro Colomar2-36/+78
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAPBSET_READ.2const: Tweak after splitAlejandro Colomar1-27/+22
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_CAPBSET_READ.2const: Split PR_CAPBSET_READ from prctl(2)Alejandro Colomar2-25/+68
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_CLEAR_ALL.2const: Split ↵Alejandro Colomar2-8/+44
PR_CAP_AMBIENT_CLEAR_ALL from PR_CAP_AMBIENT(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_IS_SET.2const: Split ↵Alejandro Colomar2-19/+51
PR_CAP_AMBIENT_IS_SET from PR_CAP_AMBIENT(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_LOWER.2const: Split ↵Alejandro Colomar2-6/+48
PR_CAP_AMBIENT_LOWER from PR_CAP_AMBIENT(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_RAISE.2const: Split ↵Alejandro Colomar2-20/+60
PR_CAP_AMBIENT_RAISE from PR_CAP_AMBIENT(2const) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30PR_CAP_AMBIENT.2const: Tweak after splitAlejandro Colomar1-56/+36
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_CAP_AMBIENT.2const: Split PR_CAP_AMBIENT from prctl(2)Alejandro Colomar2-87/+131
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2: SYNOPSIS: SimplifyAlejandro Colomar1-3/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2: ERRORS: SimplifyAlejandro Colomar1-80/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-29man2const/, share/mk/: 2const: New sub-chapterAlejandro Colomar2-0/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-29prctl.2: tfixAlejandro Colomar1-1/+1
Fixes: 7e3236a5a010 ("prctl(2): PR_SET_MM: Document new PR_SET_MM_MAP{,_SIZE} helpers") Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-26prctl.2: wfixAlejandro Colomar1-1/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-26man3const/: Use STANDARDS and HISTORY instead of CONFORMING TOAlejandro Colomar3-9/+12
This had been done in most pages already, but it seems I had forgotted about these pages. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Fixes: 3113c7f3b817 ("Many pages: Use STANDARDS instead of CONFORMING TO") Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-26grantpt.3: SYNOPSIS: Explicitly show #define _XOPEN_SOURCE requirementEmanuele Torre1-0/+1
Like the unlockpt(3) function, grantpt(3) requires _XOPEN_SOURCE to be defined before including stdlib.h. unlockpt.3 explicitly shows this requirement in its SYNOPSIS: SYNOPSIS #define _XOPEN_SOURCE #include <stdlib.h> int unlockpt(int fd); But grantpt.3 did not: SYNOPSIS #include <stdlib.h> int grantpt(int fd); Message-ID: <20240526064227.937757-1-torreemanuele6@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-26prctl.2: Fix the description of argumentsMa Xinjian1-4/+4
The index of arguments in ERRORS section is not correct. Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com> Message-ID: <20240521034342.1967-1-maxj.fnst@fujitsu.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-26proc.5: Make literals boldMatteo Croce1-3/+3
Format the equal signs in the procfs mount options in bold to make it clear that they are literal values. Signed-off-by: Matteo Croce <teknoraver@meta.com> Message-ID: <20240520105956.71532-1-technoboy85@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19lsm: wsfixAlejandro Colomar1-1/+1
Fixes: 6071a7a5b697 ("man-pages 1.65") Reported-by: Aaron Schrab <aaron@schrab.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19RELEASE: Add command to send lsm fileAlejandro Colomar1-1/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19Start of man-pages-NEXT: Move Changes to Changes.oldAlejandro Colomar2-87/+124
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19lsm: Released 6.8Alejandro Colomar1-3/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19Changes: Ready for 6.8man-pages-6.8Alejandro Colomar1-11/+90
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19pthread_*.3: ffixAlejandro Colomar4-17/+30
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-19proc.5: ffixAlejandro Colomar1-1/+0
Fixes: dd465607bc58 ("proc.5: Document 'subset' mount option.") Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-17proc.5: Document 'subset' mount option.Matteo Croce1-1/+7
The 'subset=pid' option was added in commit 6814ef2d, document it. This option mounts a procfs where only the numeric directories related to the PIDs are present. # mount -t proc proc_pid pid -o subset=pid # mount |grep -w proc_pid proc_pid on /tmp/proc/pid type proc (rw,relatime,subset=pid) # ll -d pid/{1,$$,cmdline,version} ls: cannot access 'pid/cmdline': No such file or directory ls: cannot access 'pid/version': No such file or directory dr-xr-xr-x. 9 root root 0 May 14 09:43 pid/1 dr-xr-xr-x. 9 root root 0 May 14 09:43 pid/25146 The only non-numeric entries in that procfs instance are 'self' and 'thread-self': # ls pid |grep -vx '[[:digit:]]*' self thread-self # Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Matteo Croce <teknoraver@meta.com> Message-ID: <20240514202819.95347-1-technoboy85@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-14string_copying.7: Document strndup(3)Alejandro Colomar1-0/+42
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-08elf.5, ld.so.8: Undeprecate DT_RPATH; explain DT_RPATH vs DT_RUNPATHJoachim Wuttke2-3/+2
In elf.5 and ld.so.8, remove deprecation of DT_RPATH In elf.5, amend the description of DT_RUNPATH and DT_RPATH. Rationale: There is no credible path towards removal of DT_RPATH. Lots of software depend on DT_RPATH as is. It is used e.g. for testing and in binary installers. Cc: Joseph Myers <josmyers@redhat.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: <bug-binutils@gnu.org> Signed-off-by: Joachim Wuttke <j.wuttke@fz-juelich.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-06share/mk/: distcheck: Run 'check' after 'build'Alejandro Colomar1-2/+5
In this project, it doesn't matter, but in some cases, it's useful that check doesn't imply build, such as in liba2i.git. Cherry-picking this change reduces differences in build systems. Signed-off-by: Alejandro Colomar <alx@kernel.org> Cherry-picked-from: liba2i.git 7246995b3464 ("share/mk/: distcheck: 'check' must be run after 'build'") Link: <https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-05share/mk/: $LD: Fix definition to include $CPPFLAGSAlejandro Colomar1-1/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org> Cherry-picked-from: liba2i.git ecc5ea650c45 ("share/mk/: $LD: Fix definition to include $CPPFLAGS") Link: <https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-04CONTRIBUTING.d/*: Add instructions for configuring git(1) for this projectAlejandro Colomar2-21/+46
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-03locale_t.3type: Add pageAlejandro Colomar1-0/+43
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-03mbsinit.3, mbstate_t.3type: Split page into one for the type and one for the ↵Alejandro Colomar2-50/+90
function Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-03wint_t.3type: Add pageAlejandro Colomar1-0/+56
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-03wchar_t.3type: Add pageAlejandro Colomar1-0/+48
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-02share/mk/: lint-c-iwyu: Add exceptionAlejandro Colomar1-0/+1
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1533> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-02man/: EXAMPLES: Add missing includesAlejandro Colomar24-0/+25
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1283> Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1344> Reported-by: iwyu(1) (`make lint-c-iwyu`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-02etc/cppcheck/cppcheck.suppress: Add unusedStructMemberAlejandro Colomar1-0/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-02share/mk/: $CPPCHECKFLAGS: Add --check-level=exhaustiveAlejandro Colomar1-0/+1
This avoids warnings of the form: ...: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-02man/, share/mk/: Move man*/ to man/Alejandro Colomar2713-3/+15
This is a scripted change: $ mkdir man/; $ mv man* man/; $ ln -st . man/man*; $ find share/mk/ -type f \ | xargs grep -l '^MANDIR *:=' \ | xargs sed -i '/^MANDIR *:=/s,$,/man,'; $ find share/mk/dist/ -type f \ | xargs grep -l man \ | xargs sed -i 's,man%,man/%,g'; Link: <https://lore.kernel.org/linux-man/YxcV4h+Xn7cd6+q2@pevik/T/> Cc: Petr Vorel <pvorel@suse.cz> Cc: Jakub Wilk <jwilk@jwilk.net> Cc: Stefan Puiu <stefan.puiu@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-30CONTRIBUTING.d/patches: Please provide a git-range-diff(1)Alejandro Colomar1-0/+30
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-30CONTRIBUTING.d/patches: Add git-send-email(1) configuration for To and CcAlejandro Colomar1-0/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-29CONTRIBUTING.d/mail: Recommend specific mutt(1) configAlejandro Colomar1-0/+6
We want protected headers too. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-29mount_setattr.2: Update supported file-systemsRodrigo Campos1-0/+12
Let's update the list with the latest file-systems that added support. You can easily verify this by "git grep FS_ALLOW_IDMAP" on the given Linux version to see that the fs is listed and then checkout the previous Linux version to see that it is not listed, therefore it was added in that version. $ diff -w -U0 \ <(git grep FS_ALLOW_IDMAP v6.8 | sed 's/^v6.8://') \ <(git grep FS_ALLOW_IDMAP v6.9-rc4 | sed 's/^v6.9-rc4://') \ | tail -n+4; +fs/hugetlbfs/inode.c: .fs_flags = FS_ALLOW_IDMAP, $ diff -w -U0 \ <(git grep FS_ALLOW_IDMAP v6.6 | sed 's/^v6.6://') \ <(git grep FS_ALLOW_IDMAP v6.7 | sed 's/^v6.7://') \ | tail -n+4; +fs/ceph/super.c: .fs_flags = FS_RENAME_DOES_D_MOVE | FS_ALLOW_IDMAP, $ diff -w -U0 \ <(git grep FS_ALLOW_IDMAP v6.2 | sed 's/^v6.2://') \ <(git grep FS_ALLOW_IDMAP v6.3 | sed 's/^v6.3://') \ | tail -n+4; +mm/shmem.c: .fs_flags = FS_USERNS_MOUNT | FS_ALLOW_IDMAP, $ diff -w -U0 \ <(git grep FS_ALLOW_IDMAP v6.1 | sed 's/^v6.1://') \ <(git grep FS_ALLOW_IDMAP v6.2 | sed 's/^v6.2://') \ | tail -n+4; +fs/squashfs/super.c: .fs_flags = FS_REQUIRES_DEV | FS_ALLOW_IDMAP, Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-27CONTRIBUTING.d/: Clarify how to send patches with git-send-email(1)Alejandro Colomar2-9/+26
Cc: Simon Barth <simon.barth@gmx.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-26share/mk/: build-html: Don't build mbind.2 and set_mempolicy.2Alejandro Colomar1-0/+2
They have known warnings. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-26slist.3: wfixSimon Barth1-1/+1
This page is about singly linked lists, not doubly linked lists. Signed-off-by: Simon Barth <simon.barth@gmx.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-26man2/: Add MPOL_WEIGHTED_INTERLEAVE documentationSvetly Todorov3-3/+43
Add documentation for the new MPOL_WEIGHTED_INTERLEAVE mode in the same manual pages that mention MPOL_INTERLEAVE; namely, mbind(2), set_mempolicy(2), and get_mempolicy(2). Descriptions were based on the changes introduced in this patch: <https://lore.kernel.org/all/20240202170238.90004-4-gregory.price@memverge.com/> Which was upstreamed to 6.9 here: <https://lore.kernel.org/linux-mm/20240313200532.34e4cff216acd3db8def4637@linux-foundation.org/> Cc: gregory.price@memverge.com Reviewed-by: "Huang, Ying" <ying.huang@intel.com> Signed-off-by: Svetly Todorov <svetly.todorov@memverge.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-26strchr.3: HISTORY: strchrnul(3) is present in FreeBSD and NetBSDAlejandro Colomar1-1/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-26open.2: protected_* sysctls are defined in proc_sys_fs(5), not proc(5)Emanuele Torre1-1/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-19share/mk/: Fix includesAlejandro Colomar1-3/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-19share/mk/: Split makefilesAlejandro Colomar6-41/+87
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-19share/mk/: build-fonts-tinos: Build TinosR from TinosR.afmAlejandro Colomar4-3528/+26
And use a consistent name for it: TinosR, not TINOR. This removes the last remaining huge generated file we had in the repository. Link: <https://technicallywewrite.com/2023/09/16/addfonts> Link: <https://www.schaffter.ca/mom/momdoc/appendices.html#fonts> Cc: Jan Eden <tech@eden.one> Cc: "G. Branden Robinson" <branden@debian.org> Cc: Deri James <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-19share/mk/: build-fonts-tinos: Build TinosR.afm from Tinos-Regular.ttfAlejandro Colomar3-3/+37
This will allow generating the font description file from it, which will be done in the next commit. Link: <https://technicallywewrite.com/2023/09/16/addfonts> Link: <https://www.schaffter.ca/mom/momdoc/appendices.html#fonts> Cc: Jan Eden <tech@eden.one> Cc: "G. Branden Robinson" <branden@debian.org> Cc: Deri James <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-18share/mk/: Remove unused variableAlejandro Colomar1-1/+0
Co-developed-by: Deri James <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-17share/mk/: build-fonts: Use $FONTSDIR/devpdf/, and add the download fileAlejandro Colomar6-5/+32
See gropdf(1). Reported-by: Deri <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-17syscalls.2: srcfixG. Branden Robinson1-3/+4
Tweak input format of table text blocks to make a planned sed-driven update simpler and more reliable. Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-17getpagesize.2: tfixG. Branden Robinson1-1/+1
Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16share/mk/: build-pdf-book: Fix chapter bookmarksAlejandro Colomar1-1/+2
So that they can be folded. Suggested-by: Deri James <deri@chuzzlewit.myzen.co.uk> Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16share/mk/: build-pdf-book: Add support for mdoc(7) pages, with -mandocAlejandro Colomar1-1/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16share/mk/: build-pdf-book: Use -rC1, to have strictly increasing page numbersAlejandro Colomar1-1/+1
Suggested-by: "G. Branden Robinson" <branden@debian.org> Suggested-by: Deri James <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16share/mk/: Read files before 'if'Alejandro Colomar2-14/+21
'if' turns off set -e. We want to read files before 'if', so that if they don't exist, the shell will error out. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16GNUmakefile: Simplify the $SHELLAlejandro Colomar1-3/+2
nixpkgs does not provide /usr/bin/env, so they had to work around it by specifying just env. Since make(1) accepts program names instead of paths, we can as well use bash directly, which is simpler. Link: <https://github.com/NixOS/nixpkgs/pull/300797> Reported-by: Sergei Trofimovich <slyich@gmail.com> Cc: Mario Rodas <https://github.com/marsam> Cc: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16share/mk/: install-man: Don't pipe to install(1)Alejandro Colomar1-3/+3
install(1) doesn't work well in Darwin. It seems to be unable to handle </dev/stdin>. The problem seems to be that Darwin's stdin misbehaves. I've only workarounded the install target, and not the dist target, since it's unlikely that one would run it in such a broken system. But since installing the pages is a common operation that everybody needs, let's work around it here. Fixes: 30c38a8bf8ae ("*.mk: Pipe to install(1)") Link: <https://github.com/NixOS/nixpkgs/pull/300797> Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=218730> Reported-by: Sergei Trofimovich <slyich@gmail.com> Reported-by: Mario Rodas <https://github.com/marsam> Cc: Eli Schwartz <eschwartz93@gmail.com> Cc: Pádraig Brady <P@draigBrady.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-16share/mk/: build-pdf-book: Use the system's man(7) macrosAlejandro Colomar2-1613/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-14proc.5: Refer to split-out manual pages for detailed descriptionSalvatore Bonaccorso1-1/+3
Back in August 2023 various parts of proc(5) were split out into separate manpages. The final cleanup in 92cdcec79df0 ("proc.5: Clean up after making sashimi of this page") missed to as well refer to the split out manpages and retained the wording that details are found further below in the manpages for the various files. Fixes: 92cdcec79df0 ("proc.5: Clean up after making sashimi of this page") Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-10man3/, debian/debhelper.in/glibc-doc.links: Move link pages to their placeAlejandro Colomar17-17/+16
Scripted change: $ cat debian/debhelper.in/glibc-doc.links \ | while read l; do \ echo $l \ | awk '{print $1}' \ | sed 's,usr/share/man/,.so ,' \ | sed 's,\.gz,,' \ > "$(echo $l \ | awk '{print $2}' \ | sed 's,usr/share/man/,,' \ | sed 's,\.gz,,')"; done; $ rm debian/debhelper.in/glibc-doc.links Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068188> Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068166> Link: <https://lore.kernel.org/linux-man/703ec07e-dd2b-bbc6-f1bc-f495e53b764f@gmail.com/T/> Cc: Marcos Fouces <marcos@debian.org> Cc: Sven Joachim <svenjoac@gmx.de> Cc: Bas Couwenberg <sebastic@xs4all.nl> Cc: Andreas Beckmann <anbe@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-10Revert "debian/debhelper.in/glibc-doc.{links,manpages}, ↵Alejandro Colomar1-0/+17
debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #1068188." This reverts commit c75bae912ab3b138687060df3701a888388e3d09.
2024-04-10Import pthread_*.3 link pages' git history from debian/glibc.gitAlejandro Colomar0-0/+0
These are the link pages, which I forgot to import in 87183bb8e9ec ("Import debian/local/manpages/pthread_*.3 git history from debian/glibc") They aren't files in the debian repository, but they were generated at build time, which is the reason I missed them. Here's the process: $ git clone git@salsa.debian.org:glibc-team/glibc.git $ cd glibc/ $ git filter-repo --path debian/debhelper.in/glibc-doc.links $ git tag | xargs git tag -d $ git branch | xargs git branch -D $ git remote add man file:///home/alx/src/linux/man-pages/man-pages/.bare.git $ git fetch man $ git rebase man/contrib Subsequent commits will move the pages to the appropriate place. Fixes: 87183bb8e9ec ("Import debian/local/manpages/pthread_*.3 git history from debian/glibc") Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068188> Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068166> Link: <https://lore.kernel.org/linux-man/703ec07e-dd2b-bbc6-f1bc-f495e53b764f@gmail.com/T/> Cc: Marcos Fouces <marcos@debian.org> Cc: Sven Joachim <svenjoac@gmx.de> Cc: Bas Couwenberg <sebastic@xs4all.nl> Cc: Andreas Beckmann <anbe@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-10debian/debhelper.in/glibc-doc.{links,manpages}, ↵Aurelien Jarno1-17/+0
debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #1068188.
2024-04-10 * Remove manpages now provided by manpages-dev (closes: bug#595194):Aurelien Jarno1-2/+0
- pthread_kill_other_threads_np (3) - pthread_sigmask (3) svn path=/glibc-package/trunk/; revision=4409
2024-04-10 * Remove manpage that will be provided by manpages-dev. Closes: bug#506515,Aurelien Jarno1-18/+0
bug#505784. svn path=/glibc-package/branches/glibc-2.9/; revision=3223
2024-04-10 * debian/debhelper.in/glibc-doc.links: add missing manpages links forAurelien Jarno1-10/+28
functions documented with others. Closes: #413989. svn path=/glibc-package/trunk/; revision=2114
2024-04-10update trunk to 2.5-1Clint Adams1-0/+3
svn path=/glibc-package/trunk/; revision=2040
2024-04-10 * Backport from experimental (thanks Denis):Aurelien Jarno1-1/+0
- Remove the GNU Libc Reference manual from glibc-doc because it is not DFSG-free. (Closes: #181494) The whole glibc-2.3.6/manual directory is removed from glibc-2.3.6.ds1.tar.bz2. - debian/control: Drop Build-Depends: texinfo, texi2html. - debian/control: Drop references to the antique libc-doc package. - all/cvs-manual-memory.diff: removed. - all/cvs-manual-string.diff: removed. svn path=/glibc-package/trunk/; revision=1742
2024-04-10Remove sem_*.3 manual pages from glibc-doc, these manual pages are updatedDenis Barbier1-6/+0
and maintained in the manpages-dev package. (Closes: #365547) svn path=/glibc-package/trunk/; revision=1475
2024-04-10 - debian/debhelper.in/glibc-doc.links: add manpages links for sem_*.GOTO Masanori1-0/+5
svn path=/trunk/; revision=649
2024-04-10 - debian/debhelper.in/glibc-doc.links: add missing links forGOTO Masanori1-0/+13
pthread_mutex_*(), pthread_mutexattr_*(), pthread_cond_*(), and pthread_condattr_*(). svn path=/trunk/; revision=603
2024-04-10Files missed in merge. Clean *.doc-base.Daniel Jacobowitz1-0/+5
svn path=/trunk/; revision=564
2024-04-09share/mk/: Remove support for installing compressed pagesAlejandro Colomar2-51/+4
I don't like compressed pages: they make it more difficult/slow to grep them. This was added to make it easier for users to install compressed pages even when installing from source, but probably nobody cares at all these days about a few KiB per page; drive space got cheap. Also, some of the algorithms were added just for benchmarking (for demonstrating that they were bad in this case), and not for real use. This reduces a use of compression tools, which seem to be dangerous these days. Link: <https://tukaani.org/xz-backdoor/> Link: <https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-09S_ISBLK.3, S_ISCHR.3, S_ISDIR.3, S_ISFIFO.3, S_ISLNK.3, S_ISREG.3, ↵Alejandro Colomar7-0/+7
S_ISSOCK.3: Add link pages to inode(7) These function-like macros are described in inode(7). Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-08share/mk/: build: Add exceptionsAlejandro Colomar2-0/+4
With the larger font size, these pages have warnings. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-08share/mk/: $TROFFFLAGS: Use a larger font sizeAlejandro Colomar1-1/+3
Link: <https://journals.uc.edu/index.php/vl/article/view/5765> Reported-by: Paul Eggert <eggert@cs.ucla.edu> Suggested-by: "G. Branden Robinson" <branden@debian.org> Cc: "Thomas E. Dickey" dickey@his.com Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-04init_module.2: Document MODULE_INIT_COMPRESS_FILE flagMichael Weiß1-0/+51
finit_module() supports the MODULE_INIT_COMPRESS_FILE flag since Linux 5.17. See commit b1ae6dc41eaaa ("module: add in-kernel support for decompressing") During implementation of a secure module loader in GyroidOS, we wanted to filter unsafe module parameters. To verify that only the two documented flags which are disabling sanity checks are unsafe, we had a look in the current kernel implementation. We discovered that this new flag MODULE_INIT_COMPRESS_FILE was added. Having a deeper look at the code, we also discovered that a new error code EOPNOTSUPP is possible within newer kernels. The inital commit only supported gzip and xz compression algorithms. Support for zstd was added in Linux 6.2 by commit 169a58ad824d8 ("module/decompress: Support zstd in-kernel decompression") Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-04-04sigwait.3: Note sigprocmask(2) requirement, explicitly link ↵наб1-1/+6
sigtimedwait(2)/NOTES This comes from a real user complaint. sigwait(3) is the most obvious of the family, and it doesn't mention any of the usage details. Most of these can be crosslinked, but not mentioning the sigprocmask(2) requirement is malice. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-31getpagesize.2, syscalls.2: ModernizationElliott Hughes2-40/+20
Remove the HP-UX portability advice, since getpagesize() is a slightly better option than sysconf() for Linux systems. Explain why this function exists, and why this man page is in the wrong section. (The previous text tried to do both at the same, which was confusing.) Also explain how the vast majority of architectures that don't have a syscall (but do support multiple page sizes) actually work. Also de-emphasize the glibc 2.0 bug, since most people don't need to worry about compatibility with versions of glibc from 1997. Finally, change "not on x86" in syscalls.2 to say where there _is_ a syscall. Co-developed-by: Elliott Hughes <enh@google.com> Co-developed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-30getgrouplist.3: EXAMPLES: Fix error handling for getpwnam(3)Fedor Lapshin1-2/+7
Signed-off-by: Fedor Lapshin <fe.lap.prog@gmail.com> Co-developed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-29share/mk/: Useful Use of CatAlejandro Colomar1-5/+2
Simplify a pipeline, by using cat(1) to actually catenate stuff. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26share/mk/: Reorganize files for generating the PDF bookAlejandro Colomar5-6/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26share/mk/: Generate the fonts during the buildAlejandro Colomar8-7862/+89
Suggested-by: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26etc/clang-tidy/config.yaml: -llvm-header-guardAlejandro Colomar1-0/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26etc/cpplint/cpplint.cfg: -build/header_guardAlejandro Colomar1-1/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26share/mk/: $CFLAGS: -Wno-reserved-identifier, -Wno-unused-macrosAlejandro Colomar1-0/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26share/mk/: lint-c-iwyu: Add exceptionsAlejandro Colomar1-0/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26shmop.2: EXAMPLES: ffixAlejandro Colomar1-3/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26man*/: EXAMPLES: Add include guardsAlejandro Colomar3-0/+14
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26man*/: EXAMPLES: Fix includesAlejandro Colomar2-9/+13
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26share/mk/: lint-c: Lint headers from EXAMPLESAlejandro Colomar4-4/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-26share/mk/: Sync with liba2i's build systemAlejandro Colomar22-303/+327
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-24share/mk/: build-pdf*, install-pdf*: Rename targets for consistencyAlejandro Colomar10-60/+88
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-03-24share/mk/, scripts/LinuxManBook/build.sh: Embed script in the makefilesAlejandro Colomar2-35/+12
This is done for simplifying, and as a side effect, it also allows much more control on the script (e.g., TROFFFLAGS). Signed-off-by: Alejandro Colomar <alx@kernel.org>