aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAvadhut Naik <[email protected]>2023-11-16 16:47:23 -0600
committerRafael J. Wysocki <[email protected]>2023-11-21 21:10:44 +0100
commit71cd3c636404ceb08226b5095ca36a04eb578ca1 (patch)
tree6359d5ced02f0e69c796f4690262d362dd7f8868 /scripts/generate_rust_analyzer.py
parent709f3cbd652e50e96a9d9c62a300313b636e3f6f (diff)
fs: debugfs: Add write functionality to debugfs blobs
Currently, debugfs_create_blob() creates read-only debugfs binary blob files. In some cases, however, userspace tools need to write variable length data structures into predetermined memory addresses. An example is when injecting Vendor-defined error types through the einj module. In such cases, the functionality to write to these blob files in debugfs would be desired since the mapping aspect can be handled within the modules with userspace tools only needing to write into the blob files. Implement a write callback to enable writing to these blob files, created in debugfs, by owners only. Signed-off-by: Avadhut Naik <[email protected]> Reviewed-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Tony Luck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions