On Sat, 2025-12-20 at 04:37 +0100, Daniel Gomez wrote: > The error code -EEXIST is reserved by the kernel module loader to > indicate that a module with the same name is already loaded. When a > module's init function returns -EEXIST, kmod interprets this as > "module already loaded" and reports success instead of failure [1].
That reference doesn't sufficiently explain why this error code should be unique to modules. EEXIST is used all over the kernel to indicate that something being attempted has already happened or does already exist and that seems perfectly logical .... please explain why you're trying to push it back to being a single use case for modules alone. Regards, James

