Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227893 Details for
Bug 315445
net-fs/samba-3.5.2: no setuid allowed with mount.cifs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch used to change source such that setuid is allowed
3.5.2-cifs_enable_setuid.patch (text/plain), 863 bytes, created by
Jacob Middag
on 2010-04-15 12:07:47 UTC
(
hide
)
Description:
patch used to change source such that setuid is allowed
Filename:
MIME Type:
Creator:
Jacob Middag
Created:
2010-04-15 12:07:47 UTC
Size:
863 bytes
patch
obsolete
>Files a/client/.mount.cifs.c.swp and b/client/.mount.cifs.c.swp differ >diff -Nur a/client/mount.cifs.c b/client/mount.cifs.c >--- a/client/mount.cifs.c 2010-04-01 15:26:22.000000000 +0200 >+++ b/client/mount.cifs.c 2010-04-15 13:20:41.997470980 +0200 >@@ -97,7 +97,7 @@ > * error if it is. If you wish to disable this check, then set the following > * #define to 1, but please realize that you do so at your own peril. > */ >-#define CIFS_DISABLE_SETUID_CHECK 0 >+#define CIFS_DISABLE_SETUID_CHECK 1 > > /* > * By default, mount.cifs follows the conventions set forth by /bin/mount >@@ -112,7 +112,7 @@ > * The legacy behavior is now disabled by default. To reenable it, set the > * following #define to true. > */ >-#define CIFS_LEGACY_SETUID_CHECK 0 >+#define CIFS_LEGACY_SETUID_CHECK 1 > > /* > * When an unprivileged user runs a setuid mount.cifs, we set certain mount
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 315445
: 227893 |
227895
|
258444