[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2904135e-9ba6-b945-f5b1-5617cc131c9c@fb.com>
Date: Fri, 20 Nov 2020 22:54:27 -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 v2 2/3] bpf: Add a BPF helper for getting the IMA
hash of an inode
On 11/20/20 4:50 PM, 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