The Samba-Bugzilla – Attachment 7895 Details for
Bug 9162
Illumos/Solaris Build is Broken using --with-acl.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch put into autobuild.
0001-s3-Fix-the-vfs_solarisacl-module-to-compile.patch (text/plain), 1.53 KB, created by
Ira Cooper
on 2012-09-14 03:09:01 UTC
(
hide
)
Description:
patch put into autobuild.
Filename:
MIME Type:
Creator:
Ira Cooper
Created:
2012-09-14 03:09:01 UTC
Size:
1.53 KB
patch
obsolete
>From e41e25201203aeb62f06e8baaa531879faa43327 Mon Sep 17 00:00:00 2001 >From: Ira Cooper <ira@samba.org> >Date: Fri, 14 Sep 2012 01:32:45 +0000 >Subject: [PATCH] s3: Fix the vfs_solarisacl module to compile. > >This got broken with the recent VFS acl structure changes. >--- > source3/modules/vfs_solarisacl.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c >index ff9f1a6..10b6f70 100644 >--- a/source3/modules/vfs_solarisacl.c >+++ b/source3/modules/vfs_solarisacl.c >@@ -370,13 +370,13 @@ static bool smb_acl_to_solaris_acl(SMB_ACL_T smb_acl, > switch(solaris_entry.a_type) { > case USER: > DEBUG(10, ("got tag type USER with uid %u\n", >- (unsigned int)smb_entry->uid)); >- solaris_entry.a_id = (uid_t)smb_entry->uid; >+ (unsigned int)smb_entry->info.user.uid)); >+ solaris_entry.a_id = (uid_t)smb_entry->info.user.uid; > break; > case GROUP: > DEBUG(10, ("got tag type GROUP with gid %u\n", >- (unsigned int)smb_entry->gid)); >- solaris_entry.a_id = (uid_t)smb_entry->gid; >+ (unsigned int)smb_entry->info.group.gid)); >+ solaris_entry.a_id = (uid_t)smb_entry->info.group.gid; > break; > default: > break; >@@ -429,7 +429,7 @@ static SMB_ACL_T solaris_acl_to_smb_acl(SOLARIS_ACL_T solaris_acl, int count, > SMB_ACL_T result; > int i; > >- if ((result = sys_acl_init(0)) == NULL) { >+ if ((result = sys_acl_init()) == NULL) { > DEBUG(10, ("error allocating memory for SMB_ACL\n")); > goto fail; > } >-- >1.7.9.6 (Apple Git-31.1) >
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:
ira
:
review?
(
abartlet
)
jra
:
review+
vl
:
review+
bjacke
:
review+
Actions:
View
Attachments on
bug 9162
: 7895