lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 8 Jul 2020 09:03:46 +0200
From:   Mickaël Salaün <mic@...ikod.net>
To:     Randy Dunlap <rdunlap@...radead.org>, linux-kernel@...r.kernel.org
Cc:     Al Viro <viro@...iv.linux.org.uk>,
        Andy Lutomirski <luto@...capital.net>,
        Anton Ivanov <anton.ivanov@...bridgegreys.com>,
        Arnd Bergmann <arnd@...db.de>,
        Casey Schaufler <casey@...aufler-ca.com>,
        James Morris <jmorris@...ei.org>, Jann Horn <jannh@...gle.com>,
        Jeff Dike <jdike@...toit.com>,
        Jonathan Corbet <corbet@....net>,
        Kees Cook <keescook@...omium.org>,
        Michael Kerrisk <mtk.manpages@...il.com>,
        Mickaël Salaün <mickael.salaun@....gouv.fr>,
        Richard Weinberger <richard@....at>,
        "Serge E . Hallyn" <serge@...lyn.com>,
        Shuah Khan <shuah@...nel.org>,
        Vincent Dagonneau <vincent.dagonneau@....gouv.fr>,
        kernel-hardening@...ts.openwall.com, linux-api@...r.kernel.org,
        linux-arch@...r.kernel.org, linux-doc@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, linux-kselftest@...r.kernel.org,
        linux-security-module@...r.kernel.org, x86@...nel.org
Subject: Re: [PATCH v19 07/12] landlock: Support filesystem access-control


On 07/07/2020 22:11, Randy Dunlap wrote:
> Hi--
> 
> On 7/7/20 11:09 AM, Mickaël Salaün wrote:
>> ---
>>  arch/Kconfig                  |   7 +
>>  arch/um/Kconfig               |   1 +
>>  include/uapi/linux/landlock.h |  78 +++++
>>  security/landlock/Kconfig     |   2 +-
>>  security/landlock/Makefile    |   2 +-
>>  security/landlock/fs.c        | 609 ++++++++++++++++++++++++++++++++++
>>  security/landlock/fs.h        |  60 ++++
>>  security/landlock/setup.c     |   7 +
>>  security/landlock/setup.h     |   2 +
>>  9 files changed, 766 insertions(+), 2 deletions(-)
>>  create mode 100644 include/uapi/linux/landlock.h
>>  create mode 100644 security/landlock/fs.c
>>  create mode 100644 security/landlock/fs.h
>>
>> diff --git a/arch/Kconfig b/arch/Kconfig
>> index 8cc35dc556c7..483b7476ac69 100644
>> --- a/arch/Kconfig
>> +++ b/arch/Kconfig
>> @@ -845,6 +845,13 @@ config COMPAT_32BIT_TIME
>>  config ARCH_NO_PREEMPT
>>  	bool
>>  
>> +config ARCH_EPHEMERAL_STATES
>> +	def_bool n
>> +	help
>> +	  An arch should select this symbol if it do not keep an internal kernel
> 
> 	                                       it does not
> 
>> +	  state for kernel objects such as inodes, but instead rely on something
> 
> 	                                               instead relies on
> 
>> +	  else (e.g. the host kernel for an UML kernel).
>> +
>>  config ARCH_SUPPORTS_RT
>>  	bool
>>  
> 
> thanks.
> 

Thanks Randy!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ