The Samba-Bugzilla – Attachment 17612 Details for
Bug 15215
Can't create files to MacOS Host
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
save and restore errno around unbecome root
safe-restore-errno.patch (text/plain), 377 bytes, created by
Rick
on 2022-11-02 13:59:28 UTC
(
hide
)
Description:
save and restore errno around unbecome root
Filename:
MIME Type:
Creator:
Rick
Created:
2022-11-02 13:59:28 UTC
Size:
377 bytes
patch
obsolete
>diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c >index 48ff174ebbe..25fca0eef6d 100644 >--- a/source3/modules/vfs_default.c >+++ b/source3/modules/vfs_default.c >@@ -795,7 +795,9 @@ static int vfswrap_openat(vfs_handle_struct *handle, > mode); > > if (became_root) { >+ errno_t old_errno = errno; > unbecome_root(); >+ errno = old_errno; > } > > done:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
Rick.Rongen
:
review?
Rick.Rongen
:
ci-passed?
Actions:
View
Attachments on
bug 15215
:
17601
| 17612