aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2
AgeCommit message (Collapse)AuthorFilesLines
2024-08-21keyctl.2, KEYCTL_READ.2const: Split KEYCTL_READ from keyctl(2)Alejandro Colomar1-75/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_SEARCH.2const: Split KEYCTL_SEARCH from keyctl(2)Alejandro Colomar1-79/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_UNLINK.2const: Split KEYCTL_UNLINK from keyctl(2)Alejandro Colomar1-39/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_LINK.2const: Split KEYCTL_LINK from keyctl(2)Alejandro Colomar1-68/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_CLEAR.2const: Split KEYCTL_CLEAR from keyctl(2)Alejandro Colomar1-32/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_DESCRIBE.2const: Split KEYCTL_DESCRIBE from keyctl(2)Alejandro Colomar1-88/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_SETPERM.2const: Split KEYCTL_SETPERM from keyctl(2)Alejandro Colomar1-215/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_CHOWN.2const: Split KEYCTL_CHOWN from keyctl(2)Alejandro Colomar1-45/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_REVOKE.2const: Split KEYCTL_REVOKE from keyctl(2)Alejandro Colomar1-35/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_UPDATE.2const: Split KEYCTL_UPDATE from keyctl(2)Alejandro Colomar1-43/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_JOIN_SESSION_KEYRING.2const: Split ↵Alejandro Colomar1-52/+3
KEYCTL_JOIN_SESSION_KEYRING from keyctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2, KEYCTL_GET_KEYRING_ID.2const: Split KEYCTL_GET_KEYRING_ID from ↵Alejandro Colomar1-120/+5
keyctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21keyctl.2: Tweak in preparation for sashimiAlejandro Colomar1-14/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21bdflush.2, syscalls.2: bdflush was removedнаб2-79/+28
There's no point documenting this syscall at any point in time, because it changed constantly. A post-mortem summary I believe to be comprehensive is included below. The #include <sys/kdaemon.h> was removed in glibc 2.23: commit eed3e1eb79bcfa9b52609fd875fa2d522e2d6bce Author: Joseph Myers <joseph@codesourcery.com> Date: Mon Dec 14 22:52:15 2015 +0000 Make obsolete syscall wrappers into compat symbols (bug 18472). * bdflush: in Linux 2.6, does nothing if present. [...] generated for such aliases. Those five syscalls are then made into compat symbols (obsoleted in glibc 2.23, so future ports won't have these symbols at all), with the header <sys/kdaemon.h> declaring bdflush being removed. When we move to 3.2 as minimum kernel version, the same can be done for nfsservctl (removed in Linux 3.1) as well. [...] Appears in 1.1.3 (func=0 turns the calling process into the bdflush daemon, func=1 return sync_old_buffers();, func>=2 is parameters): Author: Linus Torvalds <torvalds@linuxfoundation.org> Import 1.1.3 +/* This is the interface to bdflush. As we get more sophisticated, we can + * pass tuning parameters to this "process", to adjust how it behaves. If you + * invoke this again after you have done this once, you would simply modify + * the tuning parameters. We would want to verify each parameter, however, + * to make sure that it is reasonable. */ + +asmlinkage int sys_bdflush(int func, int data) +{ bdflush() is just a kernel thread, and func 0 is just return 0; since 1.3.50: Author: Linus Torvalds <torvalds@linuxfoundation.org> Import 1.3.50 - /* Basically func 0 means start, 1 means read param 1, 2 means write param 1, etc */ + /* Basically func 1 means read param 1, 2 means write param 1, etc */ if (func >= 2) { i = (func-2) >> 1; if (i < 0 || i >= N_PARAM) @@ -1930,13 +1845,32 @@ asmlinkage int sys_bdflush(int func, long data) bdf_prm.data[i] = data; return 0; }; + + /* Having func 0 used to launch the actual bdflush and then never + return (unless explicitly killed). We return zero here to + remain semi-compatible with present update(8) programs. */ + + return 0; +} + +/* This is the actual bdflush daemon itself. It used to be started from + * the syscall above, but now we launch it ourselves internally with + * kernel_thread(...) directly after the first thread in init/main.c */ + +int bdflush(void * unused) { func 1 is actually exit(0) since 2.3.23pre1: Author: Linus Torvalds <torvalds@linuxfoundation.org> Import 2.3.23pre1 if (func == 1) { + /* do_exit directly and let kupdate to do its work alone. */ + do_exit(0); +#if 0 /* left here as it's the only example of lazy-mm-stuff used from + a syscall that doesn't care about the current mm context. */ fund!=0 is a return 0 since 2.5.12: Author: Andrew Morton <akpm@zip.com.au> Date: Mon Apr 29 23:52:10 2002 -0700 [PATCH] writeback from address spaces [ I reversed the order in which writeback walks the superblock's dirty inodes. It sped up dbench's unlink phase greatly. I'm such a sleaze ] The core writeback patch. Switches file writeback from the dirty buffer LRU over to address_space.dirty_pages. - The buffer LRU is removed - The buffer hash is removed (uses blockdev pagecache lookups) - The bdflush and kupdate functions are implemented against address_spaces, via pdflush. [...] Deprecated since 2.5.52: Author: Andrew Morton <akpm@digeo.com> Date: Sat Dec 14 03:16:29 2002 -0800 [PATCH] deprecate use of bdflush() Patch from Robert Love <rml@tech9.net> We can never get rid of it if we do not deprecate it - so do so and print a stern warning to those who still run bdflush daemons. Removed outright in 5.15-rc1: commit b48c7236b13cb5ef1b5fdf744aa8841df0f7b43a Author: Eric W. Biederman <ebiederm@xmission.com> Date: Tue Jun 29 15:11:44 2021 -0500 exit/bdflush: Remove the deprecated bdflush system call The bdflush system call has been deprecated for a very long time. Recently Michael Schmitz tested[1] and found that the last known caller of of the bdflush system call is unaffected by it's removal. Since the code is not needed delete it. [1] https://lkml.kernel.org/r/36123b5d-daa0-6c2b-f2d4-a942f069fd54@gmail.com Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <ynknns52cczu2bxtazbmub3xxe62a2hajkod2qephnby5dqt7o@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21uretprobe.2: Add pageJiri Olsa1-0/+47
Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Song Liu <songliubraving@fb.com> Cc: Yonghong Song <yhs@fb.com> Cc: John Fastabend <john.fastabend@gmail.com Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "Borislav Petkov (AMD)" <bp@alien8.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: "Edgecombe, Rick P" <rick.p.edgecombe@intel.com> Cc: Deepak Gupta <debug@rivosinc.com> Acked-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Message-ID: <20240611112158.40795-10-jolsa@kernel.org> [alx: minor tweaks] Acked-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21syscalls.2: Expand the Notes column to the right marginнаб1-1/+1
This prevents rows breaking when they could just go further to the right Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <qruxkxy2wtmmaohagimcanhyoyfvmtzn3zmbasxqsgn5tvjfgc@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21sigaction.2: Improve wording and add an example in the BUGS sectionMikołaj Kołek1-1/+17
This patch clears up the wording of the first part of the BUGS section of the sigaction(2) manual page. Currently, it is very unclear when exactly the bug can occur, and there is no example, which I aim to fix. The text of the patch is partially based on the BUGS section of the signal(2) manual page. I also attach a C program that, when run on an x86 Linux computer, shows that my example behaves like I say it does. The code runs the int instruction for each value from 0 to 255 with all registers set to 0 to show that all fields of the siginfo_t besides si_signo and si_code equal zero. The program is based on the attachment to bug 205831 on the kernel bugtracker which first dealt with this issue, which you can find here: <https://bugzilla.kernel.org/show_bug.cgi?id=205831>. This is the code of the test program: #define CR "\n\t" #define _GNU_SOURCE 1 #include <stdbool.h> #include <signal.h> #include <stdint.h> #include <stdio.h> static siginfo_t siginfo; void handler(int sig, siginfo_t *info, void *ucontext) { ucontext_t *uc = (ucontext_t*) ucontext; const uint8_t *pc = (const uint8_t*) uc->uc_mcontext.gregs[REG_RIP]; siginfo = *info; // skip the faulting instruction if(*pc == 0xCC || *pc == 0xF1) uc->uc_mcontext.gregs[REG_RIP] += 1; else if(*pc == 0xCD) uc->uc_mcontext.gregs[REG_RIP] += 2; else ; //assume the PC has already been advanced over the fault } static __attribute__((noinline)) void call_int(unsigned char argument) { asm volatile( "leaq 1f(%%rip), %%rcx" CR "addq %%rcx, %%rax" CR "xor %%rbx, %%rbx" CR "xor %%rcx, %%rcx" CR "xor %%rdx, %%rdx" CR "xor %%rsi, %%rsi" CR "xor %%rdi, %%rdi" CR "xor %%rbp, %%rbp" CR "xor %%r8, %%r8" CR "xor %%r9, %%r8" CR "xor %%r10, %%r10" CR "xor %%r11, %%r11" CR "xor %%r12, %%r12" CR "xor %%r13, %%r13" CR "xor %%r14, %%r14" CR "xor %%r15, %%r15" CR "call *%%rax" CR "jmp 2f" CR ".p2align 3" "\n1:" CR ".irp i,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" CR ".irp j,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" CR "xor %%rax, %%rax" CR ".byte 0xCD,(\\i*16 + \\j)" CR "ret" CR ".p2align 3" CR ".endr" CR ".endr" "\n2:" : : "a" (argument * 8) : "rbx", "rcx", "rdx", "rsi", "rdi", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15" ); } int main(void) { struct sigaction sa = { 0 }; sa.sa_sigaction = &handler; sa.sa_flags = SA_SIGINFO | SA_RESTART; sigaction(SIGSEGV, &sa, 0); sigaction(SIGTRAP, &sa, 0); for(int i = 0; i < 256; i++) { call_int(i); bool others_zeroed = ( siginfo.si_errno == 0 && siginfo.si_pid == 0 && siginfo.si_uid == 0 && siginfo.si_status == 0 && siginfo.si_utime == 0 && siginfo.si_stime == 0 && siginfo.si_value.sival_ptr == 0 && siginfo.si_value.sival_int == 0 && siginfo.si_int == 0 && siginfo.si_ptr == 0 && siginfo.si_overrun == 0 && siginfo.si_timerid == 0 && siginfo.si_addr == 0 && siginfo.si_band == 0 && siginfo.si_fd == 0 && siginfo.si_addr_lsb == 0 && siginfo.si_lower == 0 && siginfo.si_upper == 0 && siginfo.si_pkey == 0 && siginfo.si_call_addr == 0 && siginfo.si_syscall == 0 && siginfo.si_arch == 0 ); printf("int $0x%02x: sig=%2d code=%04x others_zeroed=%i\n", i, siginfo.si_signo, siginfo.si_code, others_zeroed ); } return 0; } Link: <https://bugzilla.kernel.org/show_bug.cgi?id=205831> Cc: Zack Weinberg <zackw@panix.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Mikołaj Kołek <kolek.mikolaj@gmail.com> Message-ID: <CAHGiy69OQ78x42+6iE7HqAiOaPCscn8fs=VNaxFMNSR7Q9R-mw@mail.gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-21landlock.7, landlock_*.2: Document Landlock ABI version 4Günther Noack2-12/+74
Landlock ABI 4 restricts bind(2) and connect(2) on TCP port numbers. The intent is to bring the man pages mostly in line with the kernel documentation again. I intentionally did not add networking support to the usage example in landlock.7 - I feel that in the long run, we would be better advised to maintain longer example code in the kernel samples. Closes: <https://github.com/landlock-lsm/linux/issues/32> Reviewed-by: Mickaël Salaün <mic@digikod.net> Signed-off-by: Günther Noack <gnoack@google.com> Message-ID: <20240723101917.90918-2-gnoack@google.com> Co-developed-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com> Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-31syscalls.2: srcfix (2/3)G. Branden Robinson1-65/+195
Migrate table entries from using font selection escape sequences to font alternation macros to set man page cross references. This change was automatically driven by the following sed(1) script. $ cat fix-syscall-table-2.sed \# Rewrite man page cross references on tbl(1) rows that precede text \# blocks to themselves use text blocks, and convert them to use man(7) \# macros instead of troff(1) font selection escape sequences (which \# cannot be done outside a text block). /^\.\\"/b /^\\fB[^\\]*\\fP([0-9][a-z]*).*T{/s/\\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\)\(.*\)/T{\ .BR \1 \2\ T}\3/ Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Message-ID: <20240727192752.hxxo4nl52qyskb2u@illithid> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-31syscalls.2: srcfix (1/3)G. Branden Robinson1-3/+9
Migrate table entries from using font selection escape sequences to font alternation macros to set man page cross references. This change was automatically driven by the following sed(1) script. $ cat fix-syscall-table-1.sed \# Rewrite man page cross references inside tbl(1) text blocks to use \# man(7) macros instead of troff(1) font selection escape sequences. /^\.\\"/b /T{$/,/^T}/s/ \\fB\([a-z0-9_][a-z0-9_]*\)\\fP\(([0-9][a-z]*)\) /\ .BR \1 \2\ / Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Message-ID: <20240727192745.lt2oo34hw3limkls@illithid> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-31io_submit.2: Document RWF_ATOMICJohn Garry1-0/+19
Document RWF_ATOMIC for asynchronous I/O. Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: John Garry <john.g.garry@oracle.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <dchinner@redhat.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Message-ID: <20240722095723.597846-4-john.g.garry@oracle.com> [alx: wfix; ffix] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-31readv.2: Document RWF_ATOMIC flagHimanshu Madhani1-0/+65
Add RWF_ATOMIC flag description for pwritev2(). Signed-off-by: Himanshu Madhani <himanshu.madhani@oracle.com> [jpg: complete rewrite] Signed-off-by: John Garry <john.g.garry@oracle.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <dchinner@redhat.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Message-ID: <20240722095723.597846-3-john.g.garry@oracle.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> [alx: semantic newlines; srcfix] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-31statx.2: Document STATX_WRITE_ATOMICHimanshu Madhani1-0/+28
Add the text to the statx man page. Signed-off-by: Himanshu Madhani <himanshu.madhani@oracle.com> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: John Garry <john.g.garry@oracle.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <dchinner@redhat.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Message-ID: <20240722095723.597846-2-john.g.garry@oracle.com> [alx: ffix] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-23man/: ffixAlejandro Colomar255-262/+262
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22landlock_add_rule.2: ERRORS: Document missing reason for EINVALGünther Noack1-0/+10
This documents a missing reason for why EINVAL might be returned. The documented behavior exists since the first version of Landlock. Reviewed-by: Mickaël Salaün <mic@digikod.net> Signed-off-by: Günther Noack <gnoack@google.com> Message-ID: <20240719133801.3541732-5-gnoack@google.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22landlock_create_ruleset.2: Update docs for landlock_ruleset_attrGünther Noack1-2/+32
This updates the documentation for struct landlock_ruleset_attr in line with the changed kernel documentation (see link below). Link: <https://lore.kernel.org/all/20240711165456.2148590-2-gnoack@google.com/> Reviewed-by: Mickaël Salaün <mic@digikod.net> Signed-off-by: Günther Noack <gnoack@google.com> Message-ID: <20240719133801.3541732-4-gnoack@google.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22landlock.7, landlock_*.2: wfixGünther Noack3-10/+16
* Various wording fixes * List the same error code multiple times, if it can happen for multiple reasons. Reviewed-by: Mickaël Salaün <mic@digikod.net> Signed-off-by: Günther Noack <gnoack@google.com> Message-ID: <20240719133801.3541732-3-gnoack@google.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22fanotify_init.2: Support for FA_* flags has been backported to LTS kernelsChuck Lever1-4/+4
Cc: <linux-fsdevel@vger.kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Message-ID: <20240713181548.38002-3-cel@kernel.org> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22fanotify_mark.2: Support for FA_* flags has been backported to LTS kernelsChuck Lever1-4/+4
Cc: <linux-fsdevel@vger.kernel.org> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Message-ID: <20240713181548.38002-2-cel@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22listmount.2: Add pageJosef Bacik1-0/+116
Cc: Christian Brauner <brauner@kernel.org> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: <kernel-team@fb.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Message-ID: <2d72a44fa49f47bd7258d7efb931926b26de4004.1720549824.git.josef@toxicpanda.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22prctl.2: Add PR_RISCV_SET_ICACHE_FLUSH_CTXCharlie Jenkins1-0/+3
Document the PR_RISCV_SET_ICACHE_FLUSH_CTX flag for prctl(2) that is supported as of Linux 6.10. Cc: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Message-ID: <20240709-fencei_prctl-v5-1-a0391069f746@rivosinc.com> [alx: ffix + consistent line breaks] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-20pipe.2: EXAMPLES: Add missing error handlingAlejandro Colomar1-17/+23
Reported-by: gcc(1) (`make build-ex-cc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-20perf_event_open.2: EXAMPLES: Add missing error handlingAlejandro Colomar1-9/+13
GCC now enables -Wunused-result by default. Reported-by: gcc(1) (`make build-ex-cc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-12landlock_*.2: Mention -1 return code on failurePetr Vorel3-0/+12
Mention -1 return code on failure for landlock_add_rule(2), landlock_create_ruleset(2) and landlock_restrict_self(2). Although it's a common rule to return -1 on error, it's better to be explicit (as the other man pages are). Fixes: a01d04a69 ("landlock_add_rule.2: Document new syscall") Fixes: ca5163697 ("landlock_create_ruleset.2: Document new syscall") Fixes: 3f7e4f808 ("landlock_restrict_self.2: Document new syscall") Reviewed-by: Günther Noack <gnoack@google.com> Cc: Mickaël Salaün <mic@linux.microsoft.com> Cc: Mickaël Salaün <mic@digikod.net> Cc: <linux-security-module@vger.kernel.org> Signed-off-by: Petr Vorel <pvorel@suse.cz> Message-ID: <20240712172246.151258-2-pvorel@suse.cz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-12man/: RETURN VALUE: Unify error wordingPetr Vorel2-4/+4
Follow the pattern to replace "to indicate the cause of the error" with "to indicate the error". Suggested-by: Alejandro Colomar <alx@kernel.org> Acked-by: Günther Noack <gnoack@google.com> Cc: Mickaël Salaün <mic@linux.microsoft.com> Cc: Mickaël Salaün <mic@digikod.net> Signed-off-by: Petr Vorel <pvorel@suse.cz> Message-ID: <20240712172246.151258-1-pvorel@suse.cz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-10utime.2: ERRORS: Add EFAULTMa Xinjian1-0/+4
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com> Message-ID: <20240710081926.10913-1-maxj.fnst@fujitsu.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-10sigaction.2: setitimer(2)/alarm(2) timers yield si_code=SI_TIMER tooнаб1-1/+12
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <z3bixugjnrhlcli53tmdogma7op7uwstwlitgl7u4mmyqfs3pc@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09statmount.2: Add pageJosef Bacik1-0/+283
Cc: Christian Brauner <brauner@kernel.org> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: <kernel-team@fb.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Message-ID: <5b4a8408a21970d0ee4bea5cee4c74cb39851c0d.1720549824.git.josef@toxicpanda.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09clone.2: ffixMa Xinjian1-2/+2
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com> Message-ID: <20240704064108.27257-1-maxj.fnst@fujitsu.com> [alx: Remove comment] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09__riscv_flush_icache.3, riscv_flush_icache.2: Add page (and link page)Charlie Jenkins1-0/+1
riscv_flush_icache() has been present in syscall.2, but had no page for itself. Add the page for this syscall. The syscall is named riscv_flush_icache(), but the glibc function is named __riscv_flush_icache(). To handle this, name the syscall page riscv_flush_icache.2 and point to the libc page __riscv_flush_icache.3. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Message-ID: <20240701-flush_icache-v2-1-15f7a35a0d13@rivosinc.com> [alx: ffix] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09perf_event_open.2: Document combining inherit and cpus = -1 preventing the ↵Mikołaj Kołek1-0/+4
use of mmap After calling perf_event_open() with cpus == -1 and the inherit bit, using mmap on the perf file descriptor to create a ring-buffer fails with EINVAL. This behavior wasn't previously documented in the man page and is caused by the following lines in the perf_mmap function in <kernel/events/core.c>: /* * Don't allow mmap() of inherited per-task counters. This would * create a performance issue due to all children writing to the * same rb. */ if (event->cpu == -1 && event->attr.inherit) return -EINVAL; Signed-off-by: Mikołaj Kołek <kolek.mikolaj@gmail.com> Message-ID: <CAHGiy6-nx0PwBi6xwoG8PN5qND-krGh_rvpfmVc31-QSv04C6g@mail.gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28statx.2: Document STATX_SUBVOLKent Overstreet1-0/+12
Document the new statx.stx_subvol field. This would be clearer if we had a proper API for walking subvolumes that we could refer to, but that's still coming. Link: https://lore.kernel.org/linux-fsdevel/20240308022914.196982-1-kent.overstreet@linux.dev/ Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> [jpg: mention supported FSes and formatting improvements] Signed-off-by: John Garry <john.g.garry@oracle.com> Cc: Eric Biggers <ebiggers@kernel.org> Cc: <linux-fsdevel@vger.kernel.org> Message-ID: <20240620130017.2686511-1-john.g.garry@oracle.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28man/: ffix (Use TQ where appropriate)Alejandro Colomar2-3/+9
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28man2/: ffixAlejandro Colomar2-6/+3
Put the subsection title in the .SS line. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28statx.2: Document STATX_MNT_ID_UNIQUEJosef Bacik1-2/+12
Linux 6.8 added STATX_MNT_ID_UNIQUE support. Link: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98d2b43081972> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: <kernel-team@fb.com> Message-ID: <a45b2623a25357f33978b49963dad5f99b984386.1719341580.git.josef@toxicpanda.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18ioperm.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > Permissions are inherited by the child created by fork (2) > (but see NOTES). Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the relevant information is in HISTORY. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240618173524.1797697-1-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18wait.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > This is the glibc and POSIX interface; see > NOTES for information on the raw system call. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-17-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18uname.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > The length of the arrays in a struct utsname is unspecified (see NOTES); Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS and HISTORY. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-16-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18semctl.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > GETPID > Return the sempid value for the semnum-th semaphore of > the set. This is the PID of the process that last > performed an operation on that semaphore (but see NOTES). Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-15-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18readdir.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > There is no definition of struct old_linux_dirent; see NOTES. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-14-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18open.2: Fix wrong section referenceKir Kolyshkin1-2/+2
Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about O_SYNC and O_DSYNC is now under VERSIONS / Synchronized I/O. While at it, fix the typesetting. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-13-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18nice.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > On success, the new nice value is returned (but see NOTES below). Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-12-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18mmap.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > See NOTES for information on feature test macro requirements. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-11-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18mkdir.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > Whether other mode bits are honored for the created directory depends > on the operating system. For Linux, see VERSIONS below. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about permission inheritance is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-10-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18kill.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > (Historically, the rules were different; see NOTES.) Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the historical rules moved to HISTORY. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-9-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18gettimeofday.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > The use of the timezone structure is obsolete; the tz argument should > normally be specified as NULL. (See NOTES below.) Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-7-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18getpriority.2: Move info from NOTES to HISTORYKir Kolyshkin1-16/+16
In the spirit of commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), move the historical information about EPERM error from NOTES to HISTORY, and fix the section reference accordingly. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-6-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18gethostname.2: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-5-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18execve.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > For portable use, optional-arg should either be absent, or be > specified as a single word (i.e., it should not contain white > space); see NOTES below. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about optional-arg is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-4-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18clone.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > For the prototype of the raw clone() system call, see NOTES Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this prototype is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-3-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18cacheflush.2: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-2-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-17man/, share/mk/: Fix nested EX/EE within nf/fiAlejandro Colomar2-1/+3
EX/EE can't be nested within nf/ni. The mandoc(1) reports weren't spurious. Re-enable the mandoc(1) warnings, and fix the code. Fixes: 31203a0c8dbf ("share/mk/: Globally disable two spurious mandoc(1) warnings") Link: <https://lists.gnu.org/archive/html/groff/2024-06/msg00019.html> Reported-by: Douglas McIlroy <douglas.mcilroy@dartmouth.edu> Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16getrlimit.2: SYNOPSIS: Add struct rlimit and rlim_tAlejandro Colomar1-10/+10
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-15man/: srcfix: Use \[rs] instead of \eAlejandro Colomar58-284/+284
Scripted change: $ find man -type f \ | xargs grep -l '\\e' \ | xargs sed -i 's/\\e/\\[rs]/g'; Link: <https://lore.kernel.org/linux-man/20240611122453.qn6jyl4go4bvwkqm@illithid/> Suggested-by: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_*.2: De-duplicate referencesAlejandro Colomar5-189/+122
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2: Tweak after making sashimi of this pageAlejandro Colomar1-8/+11
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_POISON.2const: Split UFFDIO_POISON from ↵Alejandro Colomar1-107/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_CONTINUE.2const: Split UFFDIO_CONTINUE from ↵Alejandro Colomar1-104/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_WRITEPROTECT.2const: Split UFFDIO_WRITEPROTECT ↵Alejandro Colomar1-70/+2
from ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_WAKE.2const: Split UFFDIO_WAKE from ↵Alejandro Colomar1-49/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_ZEROPAGE.2const: Split UFFDIO_ZEROPAGE from ↵Alejandro Colomar1-87/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_COPY.2const: Split UFFDIO_COPY from ↵Alejandro Colomar1-120/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_UNREGISTER.2const: Split UFFDIO_UNREGISTER from ↵Alejandro Colomar1-37/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_REGISTER.2const: Split UFFDIO_REGISTER from ↵Alejandro Colomar1-140/+2
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_API.2const: Split UFFDIO_API from ↵Alejandro Colomar1-266/+1
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCTTYGSTRUCT.2const: Split TIOCTTYGSTRUCT from ioctl_tty(2)Alejandro Colomar1-18/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]SOFTCAR.2const: Split TIOC[SG]SOFTCAR from ioctl_tty(2)Alejandro Colomar1-32/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCM{[SG]ET,BI[CS],IWAIT}.2const, TIOCGICOUNT.2const: Split ↵Alejandro Colomar1-92/+9
TIOC* from ioctl_tty(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[G]PKT.2const, TIOC[SG]PTLCK.2const, TIOCGPTPEER.2const: ↵Alejandro Colomar1-119/+7
Split TIOC* from ioctl_tty(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2: Fix constness of argumentsAlejandro Colomar1-2/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]ETD.2const: Split TIOC[SG]ETD from ioctl_tty(2)Alejandro Colomar1-9/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC{E,GE,N}XCL.2const: Split TIOC*XCL from ioctl_tty(2)Alejandro Colomar1-27/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]PGRP.2const, TIOCGSID.2const: Split TIOC* from ioctl_tty(2)Alejandro Colomar1-32/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC{NO,SC}TTY.2const: Split TIOC*TTY from ioctl_tty(2)Alejandro Colomar1-32/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCCONS.2const: Split TIOCCONS from ioctl_tty(2)Alejandro Colomar1-23/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCSTI.2const: Split TIOCSTI from ioctl_tty(2)Alejandro Colomar1-13/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, FIONREAD.2const, TIOC{IN,OUT}Q.2const, TCFLSH.2const, ↵Alejandro Colomar1-44/+9
TIOCSERGETLSR.2const: Split from ioctl_tty(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TCXONC.2const: Split TCXONC from ioctl_tty(2)Alejandro Colomar1-13/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, T*BRK*.2const: Split T*BRK* from ioctl_tty(2)Alejandro Colomar1-54/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]LCKTRMIOS.2const: Split TIOC[SG]LCKTRMIOS from ioctl_tty(2)Alejandro Colomar1-40/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]WINSZ.2const: Split TIOC[SG]WINSZ from ioctl_tty(2)Alejandro Colomar1-32/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TC[SG]ET*.2const: Split TC[SG]ET* from ioctl_tty(2)Alejandro Colomar1-186/+30
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2: Tweak in preparation for sashimiAlejandro Colomar1-34/+33
- Move paragraph to CAVEATS. - Reword RETURN VALUE for consistency with other pages. - Remove some ERRORS that are redundant with ioctl(2). - Remove ENOIOCTLCMD; this error doesn't exist in user space. - Document includes and structures in SYNOPSIS properly. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fsmap.2, FS_IOC_GETFSMAP.2const: ioctl_getfsmap(2) => ↵Alejandro Colomar2-4/+8
ioctl_fsmap(2) This name makes it consistent with the header file <linux/fsmap.h>. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2: Tweak after making sashimi of this pageAlejandro Colomar1-5/+9
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2, NS_GET_OWNER_UID.2const: Split NS_GET_OWNER_UID from ioctl_nsfs(2)Alejandro Colomar1-30/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2, NS_GET_NSTYPE.2const: Split NS_GET_NSTYPE from ioctl_nsfs(2)Alejandro Colomar1-26/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2, NS_GET_{USERNS,PARENT}.2const: Split NS_GET_* from ioctl_nsfs(2)Alejandro Colomar1-254/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_ns.2, ioctl_nsfs.2, man/: Move page to ioctl_nsfs.2Alejandro Colomar2-3/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fs.2: Add overview page for <linux/fs.h> ioctl(2)sAlejandro Colomar2-8/+62
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, PAGEMAP_SCAN.2const: Move page to PAGEMAP_SCAN.2constAlejandro Colomar2-205/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_pagemap_scan.2: Move structure definitions to SYNOPSISAlejandro Colomar1-29/+28
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_iflags.2, FS_IOC_[GS]ETFLAGS.2const, man/: Move page to ↵Alejandro Colomar9-212/+9
FS_IOC_SETFLAGS.2const Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fslabel.2, FS_IOC_[GS]ETFSLABEL.2const: Move page to ↵Alejandro Colomar2-73/+2
FS_IOC_SETFSLABEL.2const Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fideduperange.2, FIDEDUPERANGE.2const: Move page to ↵Alejandro Colomar2-201/+1
FIDEDUPERANGE.2const Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_ficlone*.2, FICLONE{,RANGE}.2const: Move page to FICLONE.2constAlejandro Colomar3-132/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_fat.2, VFAT_IOCTL_READDIR_{BOTH,SHORT}.2const: Split ↵Alejandro Colomar1-201/+8
VFAT_IOCTL_READDIR_* from ioctl_fat(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_fat.2, FAT_IOCTL_GET_VOLUME_ID.2const: Split FAT_IOCTL_GET_VOLUME_ID ↵Alejandro Colomar1-96/+4
from ioctl_fat(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_fat.2, FAT_IOCTL_[GS]ET_ATTRIBUTES.2const: Split ↵Alejandro Colomar1-160/+15
FAT_IOCTL_[GS]ET_ATTRIBUTES from ioctl_fat(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2: Tweak after making sashimi of this pageAlejandro Colomar1-31/+12
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_kd.2: Tweak after splitAlejandro Colomar1-7/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2, ioctl_kd.2, man2const/: Split ioctl_kd(2) from ioctl_console(2)Alejandro Colomar2-467/+588
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_vt.2: Tweak after splitAlejandro Colomar1-7/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2, ioctl_vt.2, VT_*.2const: Split VT_* from ioctl_console(2)Alejandro Colomar2-127/+190
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2, TIOCLINUX.2const: Split TIOCLINUX from ioctl_console(2)Alejandro Colomar1-189/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2: SYNOPSIS: Add sectionAlejandro Colomar1-2/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13sched_setattr.2: Document sched_util_{min,max}Brian Norris1-1/+71
Utilization attributes were added in Linux v5.3 via commit a509a7cd7974 ("sched/uclamp: Extend sched_setattr() to support utilization clamping"). Borrow some documentation from there, with a bit of editorial trimming and augmentation. The "reset" (-1 / UINT32_MAX) behavior was added in Linux 5.11 via commit 480a6ca2dc6e ("sched/uclamp: Allow to reset a task uclamp constraint value"). Cc: Dietmar Eggemann <dietmar.eggemann@arm.com> Cc: Patrick Bellasi <patrick.bellasi@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Brian Norris <briannorris@chromium.org> Message-ID: <20240613204823.3184609-1-briannorris@chromium.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12sched_setattr.2: ERRORS: Break EINVAL into separate blocksBrian Norris1-5/+10
The current EINVAL description has a complex boolean expression, and I'm planning to add one more condition to it. Let's separate it into different EINVAL descriptions to make it easier to read. Tweak the punctuation a bit too while I'm at it. Signed-off-by: Brian Norris <briannorris@chromium.org> Message-ID: <20240612204504.2651521-1-briannorris@chromium.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12ioctl_eventpoll.2, EPIOC[GS]PARAMS.2const: New page describing epoll ioctl(2)Joe Damato4-0/+177
A new page is added which describes epoll fd ioctls: EPIOCSPARAMS and EPIOCGPARAMS which allow the user to control epoll-based busy polling. Also add link pages for EPIOCSPARAMS and EPIOCGPARAMS. Signed-off-by: Joe Damato <jdamato@fastly.com> Message-ID: <20240611210941.1791446-2-jdamato@fastly.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-01prctl.2, PR_*.2const: SYNOPSIS: #include <linux/prctl.h> for the PR_* constantsAlejandro Colomar1-3/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2: CAVEATS: Document the necessity of using the 'L' suffixAlejandro Colomar1-0/+6
Link: <https://lore.kernel.org/linux-man/ddbdyaiptesjalgfmztxideej67e3yaob7ucsmbf6qvriwxiif@dohhxrqgwhrf/T/#med306b5b003f9cc7cc2de69fcdd7ee2d056d0954> Cc: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31ioctl_iflags.2: Document FS_APPEND_FL ('a') on directoriesнаб1-0/+2
For some reason, neither chattr(1) nor this page document it; this is supported by all tested filesystems (ext4, tmpfs, ZFS). Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <vzoykfmkokepn2gq3nqb2vvlbim32vky3vnac2x2avmkyzcdez@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31open_by_handle_at.2: Correct the name of the FreeBSD equivalentChristoph Hellwig1-1/+1
The open_by_handle_at equivalent in FreeBSD is called fhopen, not openfh. Signed-off-by: Christoph Hellwig <hch@lst.de> Message-ID: <20240527113800.1098633-1-hch@lst.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2: Tweak after making sashimi of this pageAlejandro Colomar1-18/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_MDWE.2const: Split PR_GET_MDWE from prctl(2)Alejandro Colomar1-8/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_MDWE.2const: Split PR_SET_MDWE from prctl(2)Alejandro Colomar1-29/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_AUXV.2const: Split PR_GET_AUXV from prctl(2)Alejandro Colomar1-20/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_UNALIGN.2const: Split PR_GET_UNALIGN from prctl(2)Alejandro Colomar1-9/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_UNALIGN.2const: Split PR_SET_UNALIGN from prctl(2)Alejandro Colomar1-24/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TSC.2const: Split PR_GET_TSC from prctl(2)Alejandro Colomar1-9/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TSC.2const: Split PR_SET_TSC from prctl(2)Alejandro Colomar1-15/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TIMING.2const: Split PR_GET_TIMING from prctl(2)Alejandro Colomar1-10/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TIMING.2const: Split PR_SET_TIMING from prctl(2)Alejandro Colomar1-29/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TIMERSLACK.2const: Split PR_GET_TIMERSLACK from prctl(2)Alejandro Colomar1-8/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TIMERSLACK.2const: Split PR_SET_TIMERSLACK from prctl(2)Alejandro Colomar1-72/+4
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 Colomar1-22/+3
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 Colomar1-7/+3
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 Colomar1-17/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_TASK_PERF_EVENTS_{EN,DIS}ABLE.2const: Split ↵Alejandro Colomar1-33/+6
PR_TASK_PERF_EVENTS_* from prctl(2) 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 Colomar1-46/+3
prctl(2) 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 Colomar1-116/+3
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SYSCALL_USER_DISPATCH.2const: Split ↵Alejandro Colomar1-148/+3
PR_SET_SYSCALL_USER_DISPATCH from prctl(2) 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 Colomar1-39/+3
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 Colomar1-133/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_SPECULATION_CTRL.2const: Split PR_GET_SPECULATION_CTRL from ↵Alejandro Colomar1-55/+4
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SPECULATION_CTRL.2const: Split PR_SET_SPECULATION_CTRL from ↵Alejandro Colomar1-122/+3
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_SECUREBITS.2const: Split PR_GET_SECUREBITS from prctl(2)Alejandro Colomar1-8/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SECUREBITS.2const: Split PR_SET_SECUREBITS from prctl(2)Alejandro Colomar1-19/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_SECCOMP.2const: Split PR_GET_SECCOMP from prctl(2)Alejandro Colomar1-38/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_SECCOMP.2const: Split PR_SET_SECCOMP from prctl(2)Alejandro Colomar1-95/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_PTRACER.2const: Split PR_SET_PTRACER from prctl(2)Alejandro Colomar1-44/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_PDEATHSIG.2const: Split PR_GET_PDEATHSIG from prctl(2)Alejandro Colomar1-7/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_PDEATHSIG.2const: Split PR_SET_PDEATHSIG from prctl(2)Alejandro Colomar1-68/+2
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 Colomar1-79/+2
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 Colomar1-14/+3
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 Colomar1-56/+6
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 Colomar1-32/+7
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_MPX_{EN,DIS}ABLE_MANAGEMENT.2const: Split PR_MPX_*_MANAGEMENT ↵Alejandro Colomar1-92/+3
from prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_VMA.2const: Split PR_SET_VMA from prctl(2)Alejandro Colomar1-34/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_MM.2const: Split PR_SET_MM from prctl(2)Alejandro Colomar1-254/+3
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 Colomar1-9/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_MCE_KILL.2const: Split PR_MCE_KILL from prctl(2)Alejandro Colomar1-42/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_KEEPCAPS.2const: Split PR_GET_KEEPCAPS from prctl(2)Alejandro Colomar1-12/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_KEEPCAPS.2const: Split PR_SET_KEEPCAPS from prctl(2)Alejandro Colomar1-22/+4
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 Colomar1-18/+3
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 Colomar1-29/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_FPEXC.2const: Split PR_GET_FPEXC from prctl(2)Alejandro Colomar1-6/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_FPEXC.2const: Split PR_SET_FPEXC from prctl(2)Alejandro Colomar1-16/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_FPEMU.2const: Split PR_GET_FPEMU from prctl(2)Alejandro Colomar1-7/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_FPEMU.2const: Split PR_SET_FPEMU from prctl(2)Alejandro Colomar1-12/+4
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 Colomar1-20/+3
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 Colomar1-115/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_ENDIAN.2const: Split PR_GET_ENDIAN from prctl(2)Alejandro Colomar1-6/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_ENDIAN.2const: Split PR_SET_ENDIAN from prctl(2)Alejandro Colomar1-11/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_DUMPABLE.2const: Split PR_GET_DUMPABLE from prctl(2)Alejandro Colomar1-10/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_SET_DUMPABLE.2const: Split PR_SET_DUMPABLE from prctl(2)Alejandro Colomar1-81/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_GET_CHILD_SUBREAPER.2const: Split PR_GET_CHILD_SUBREAPER from ↵Alejandro Colomar1-7/+3
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_SET_CHILD_SUBREAPER.2const: Split PR_SET_CHILD_SUBREAPER from ↵Alejandro Colomar1-51/+7
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_CAPBSET_DROP.2const: Split PR_CAPBSET_DROP from prctl(2)Alejandro Colomar1-36/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_CAPBSET_READ.2const: Split PR_CAPBSET_READ from prctl(2)Alejandro Colomar1-25/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-30prctl.2, PR_CAP_AMBIENT.2const: Split PR_CAP_AMBIENT from prctl(2)Alejandro Colomar1-87/+2
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-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-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-02man/: EXAMPLES: Add missing includesAlejandro Colomar22-0/+22
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-02man/, share/mk/: Move man*/ to man/Alejandro Colomar502-0/+99951
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>
2022-09-09Revert "src.mk, All pages: Move man* to man/"Alejandro Colomar500-98300/+0
This reverts commit 70ac1c4785fc1e158ab2349a962dba2526bf4fbc. Link: <https://lore.kernel.org/linux-man/YxcV4h+Xn7cd6+q2@pevik/T/> Reported-by: Petr Vorel <pvorel@suse.cz> Reported-by: Jakub Wilk <jwilk@jwilk.net> Cc: Stefan Puiu <stefan.puiu@gmail.com> Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
2022-09-06unshare.2: add note about potential capabilities confusionPatrick Reader1-0/+11
Link: <https://bugzilla.kernel.org/show_bug.cgi?id=216215> Signed-off-by: Patrick Reader <_@pxeger.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2022-09-06fanotify_mark.2: Document FAN_MARK_EVICTABLEAmir Goldstein1-0/+53
Add section about evictable inode marks and example use case. Add possible error case EEXIST related to evictable marks. Reviewed-by: Matthew Bobrowski <repnop@google.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2022-09-05src.mk, All pages: Move man* to man/Alejandro Colomar500-0/+98236
The root of the repository is becoming a bit overpopulated and unorganized, due to the recent addition of more mandirs, and more informative and configuration files too. Let's create a specific mandir <man/> that contains the mandirs <man[1-8]*>. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>