Re: [PATCH] IMA: Add support for IMA validation after credentials are committed

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

 



On Tue, Oct 10, 2017 at 3:21 PM, Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:
> I was hoping we could replace the existing bprm_check with the new
> creds_check, but not all of the binfmt's registered are covered. Only
> those that call install_exec_creds() are covered.  This should
> probably be reflected in the ima_creds_check() description.
>  Otherwise, the patch looks good.

The semantics are different - bprm_check will check sub_user and co
against the pre-exec() credentials, creds_check against the
post-exec() credentials. That feels like something that could break
existing policies, so I think we need to keep them independent. I'll
rewrite the description and resend.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux