Re: [PATCH v21 07/12] landlock: Support filesystem access-control

From
Mickaël Salaün <mic@digikod.net>
Date
2020-10-14 18:52:18
Also in
linux-api, linux-arch, linux-doc, linux-fsdevel, linux-kselftest, lkml
Reply to
James Morris, 2020-10-14
On 14/10/2020 20:07, James Morris wrote:
On Thu, 8 Oct 2020, Mickaël Salaün wrote:
quoted
+config ARCH_EPHEMERAL_STATES
+	def_bool n
+	help
+	  An arch should select this symbol if it does not keep an internal kernel
+	  state for kernel objects such as inodes, but instead relies on something
+	  else (e.g. the host kernel for an UML kernel).
+
This is used to disable Landlock for UML, correct?
Yes
I wonder if it could be 
more specific: "ephemeral states" is a very broad term.

How about something like ARCH_OWN_INODES ?
Sounds good. We may need add new ones (e.g. for network socket, UID,
etc.) in the future though.
Thread (18 messages) 18 messages, 2 authors, last reply 2020-10-15
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