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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux