[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-unionfs
Subject: [RFC PATCH v4 32/36] WIP: fuse-bpf: add error_out
From: Daniel Rosenberg <drosen () google ! com>
Date: 2024-03-29 1:53:47
Message-ID: 20240329015351.624249-33-drosen () google ! com
[Download RAW message or body]
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.44.0.478.gd926399ef9-goog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic