Thread (4 messages) 4 messages, 2 authors, 2024-03-04

Re: man page for syscall delete_module is outdated

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-02-19 11:57:03

Hi,

On Mon, Feb 19, 2024 at 11:17:29AM +0300, Александр Офицеров wrote:
Found out that man page for delete_module syscall is outdated.
The behaviour described there doesn't match to code, specifically for
unloading module if its have no refcnt. Parameter O_NONBLOCK described in
man doesn't exist anymore in kernel versions 3.13+, which is quite old, only
O_TRUNC parameter present for actual kernel version, O_NONBLOCK does
nothing.
I've also opened an issue on bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=218489
Would you mind suggesting a patch?  Also, would you mind showing your
findings in the kernel code?

See also:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING>
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/bugs>
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches>
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/mail>

Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help