[PATCH bpf v2 0/2] Fixes for bpf_get_fsverity_digest()

Eric Biggers <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.kernel.bpf,gmane.linux.kernel.stable
Message-ID <[email protected]>
Two fixes for bpf_get_fsverity_digest().

Changed in v2:
    - Added patch to fix silent truncation.
    - Updated commit message to clarify that the size > INT_MAX case
      seems to be unreachable currently.
    - Added Acked-bys

Eric Biggers (2):
  fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions
  fsverity: Fix silent truncation in bpf_get_fsverity_digest()

 fs/verity/measure.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)


base-commit: e5fd3f514e27db1f05fbd72ba615d74941e23c51
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.