lkml.org 
[lkml]   [2023]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[RFC PATCH v3 34/37] WIP: fuse-bpf: add error_out
From
error_out field will allow differentiating between altering error code
from bpf programs, and the bpf program returning an error. TODO

Signed-off-by: Daniel Rosenberg <drosen@google.com>
---
include/linux/bpf_fuse.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/bpf_fuse.h b/include/linux/bpf_fuse.h
index 159b850e1b46..15646ba59c41 100644
--- a/include/linux/bpf_fuse.h
+++ b/include/linux/bpf_fuse.h
@@ -57,6 +57,7 @@ struct bpf_fuse_meta_info {
uint64_t nodeid;
uint32_t opcode;
uint32_t error_in;
+ uint32_t error_out; // TODO: struct_op programs may set this to alter reported error code
};

struct bpf_fuse_args {
--
2.40.0.634.g4ca3ef3211-goog
\
 
 \ /
  Last update: 2023-04-18 03:45    [W:1.201 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site