git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb235c
)
error_inject: map EROFS
author
Volker Lendecke
<vl@samba.org>
Mon, 26 Jun 2023 10:47:17 +0000
(12:47 +0200)
committer
Jule Anger
<janger@samba.org>
Mon, 3 Jul 2023 07:57:08 +0000
(07:57 +0000)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15402
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit
840480789fcbb2e4ffe8b08818869f8490dc29d5
)
source3/modules/vfs_error_inject.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_error_inject.c
b/source3/modules/vfs_error_inject.c
index 1a327097b307c76120a383fbaeba439055cd8ee9..4ecff3f7bde1c232a83315989b6b34fb06a9e2a7 100644
(file)
--- a/
source3/modules/vfs_error_inject.c
+++ b/
source3/modules/vfs_error_inject.c
@@
-31,6
+31,7
@@
struct unix_error_map {
{ "EBADF", EBADF },
{ "EINTR", EINTR },
{ "EACCES", EACCES },
+ { "EROFS", EROFS },
};
static int find_unix_error_from_string(const char *err_str)