[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4f1309b1-830b-f76f-0b9b-c783f062f0ab@fb.com>
Date: Tue, 24 Nov 2020 09:41:41 -0800
From: Yonghong Song <yhs@...com>
To: KP Singh <kpsingh@...omium.org>, James Morris <jmorris@...ei.org>,
<linux-kernel@...r.kernel.org>, <bpf@...r.kernel.org>,
<linux-security-module@...r.kernel.org>
CC: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Florent Revest <revest@...omium.org>,
Brendan Jackman <jackmanb@...omium.org>,
Mimi Zohar <zohar@...ux.ibm.com>
Subject: Re: [PATCH bpf-next v3 2/3] bpf: Add a BPF helper for getting the IMA
hash of an inode
On 11/24/20 7:12 AM, KP Singh wrote:
> From: KP Singh <kpsingh@...gle.com>
>
> Provide a wrapper function to get the IMA hash of an inode. This helper
> is useful in fingerprinting files (e.g executables on execution) and
> using these fingerprints in detections like an executable unlinking
> itself.
>
> Since the ima_inode_hash can sleep, it's only allowed for sleepable
> LSM hooks.
>
> Signed-off-by: KP Singh <kpsingh@...gle.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists