Linux-man Archive mirror
 help / color / mirror / Atom feed
From: "Александр Офицеров" <oficerovas@altlinux.org>
To: alx@kernel.org
Cc: dutyrok@altlinux.org, kovalev@altlinux.org, linux-man@vger.kernel.org
Subject: man page for syscall delete_module is outdated
Date: Mon, 19 Feb 2024 11:17:29 +0300	[thread overview]
Message-ID: <08125e65-52ed-a846-2b38-c7f63071c898@basealt.ru> (raw)

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

             reply	other threads:[~2024-02-19  8:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19  8:17 Александр Офицеров [this message]
2024-02-19 11:56 ` man page for syscall delete_module is outdated Alejandro Colomar
2024-02-19 16:11   ` Alexander Ofitserov
2024-03-04 16:10     ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=08125e65-52ed-a846-2b38-c7f63071c898@basealt.ru \
    --to=oficerovas@altlinux.org \
    --cc=alx@kernel.org \
    --cc=dutyrok@altlinux.org \
    --cc=kovalev@altlinux.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).