lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251013-module-warn-ret-v1-0-ab65b41af01f@intel.com>
Date: Mon, 13 Oct 2025 09:26:22 -0700
From: Lucas De Marchi <lucas.demarchi@...el.com>
To: linux-modules@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: Lucas De Marchi <lucas.demarchi@...el.com>,
	Petr Pavlu <petr.pavlu@...e.com>
Subject: [PATCH 0/2] module: Tweak return and warning

Do not let userspace tools and end users confused on the return code and
log messages.

Signed-off-by: Lucas De Marchi <lucas.demarchi@...el.com>
---
Lucas De Marchi (2):
      module: Override -EEXISTS module return
      module: Simplify warning on positive returns from module_init()

 kernel/module/main.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

base-commit: e5f0a698b34ed76002dc5cff3804a61c80233a7a
change-id: 20251013-module-warn-ret-59f085298055

Lucas De Marchi


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ