[RFC PATCH v2 3/8] landlock: Fix inconsistency of errors for TCP actions

Tetsuo Handa penguin-kernel at I-love.SAKURA.ne.jp
Thu Oct 17 12:48:03 UTC 2024


On 2024/10/17 20:04, Mikhail Ivanov wrote:
> +#endif /* IS_ENABLED(CONFIG_IPV6) */
> +	default:
> +		WARN_ON_ONCE(0);

WARN_ON_ONCE(0) is pointless.

> +		return -EACCES;
> +	}




More information about the Linux-security-module-archive mailing list