Re: [PATCH v34 08/13] landlock: Add syscall implementations

From: James Morris
Date: Thu Apr 22 2021 - 15:12:48 EST


On Thu, 22 Apr 2021, Mickaël Salaün wrote:

> +
> + /* No flag for now. */
> + if (flags)
> + return -EINVAL;

Good, returning an error here instead of ignoring it is the right
approach, so apps don't start using this and then break later.


--
James Morris
<jmorris@xxxxxxxxx>