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

From
James Morris <jmorris@namei.org>
Date
2021-04-22 19:12:45
Also in
linux-api, linux-arch, linux-doc, linux-fsdevel, linux-kselftest, lkml
Reply to
Mickaël Salaün, 2021-04-22
On Thu, 22 Apr 2021, Mickaël Salaün wrote:
quoted hunk ↗ jump to hunk
+
+	/* 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
[off-list ref]
Thread (16 messages) 16 messages, 2 authors, last reply 2021-04-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help