The Samba-Bugzilla – Attachment 10364 Details for
Bug 10851
lib/uid_wrapper won't compile on Solaris platform
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v4-2-test patch
0001-lib-uid_wrapper-Fix-setgroups-and-syscall-detection-.patch (text/plain), 1.36 KB, created by
Andreas Schneider
on 2014-10-22 05:43:02 UTC
(
hide
)
Description:
v4-2-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2014-10-22 05:43:02 UTC
Size:
1.36 KB
patch
obsolete
>From ffd94d6e0386ec1d8e7083db654ff80454210c78 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 3 Oct 2014 17:18:34 -0700 >Subject: [PATCH] lib: uid_wrapper: Fix setgroups and syscall detection on a > system without native uid_wrapper library. > >Originally from youzhong@gmail.com. > >https://bugzilla.samba.org/show_bug.cgi?id=10851 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> >(cherry picked from commit 7366204845fda07ee4a83a1a63875f643d0a5794) >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > lib/uid_wrapper/wscript | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/lib/uid_wrapper/wscript b/lib/uid_wrapper/wscript >index 3e73e83..6b58595 100644 >--- a/lib/uid_wrapper/wscript >+++ b/lib/uid_wrapper/wscript >@@ -49,6 +49,13 @@ def configure(conf): > 'HAVE_FUNCTION_ATTRIBUTE_FORMAT', > addmain=False, > msg='Checking for printf format validation support') >+ # Prototype checks >+ conf.CHECK_C_PROTOTYPE('setgroups', >+ 'int setgroups(int ngroups, const gid_t *grouplist)', >+ define='HAVE_SETGROUPS_INT', headers='unistd.h sys/types.h') >+ conf.CHECK_C_PROTOTYPE('syscall', >+ 'int syscall(int number, ...)', >+ define='HAVE_SYSCALL_INT', headers='unistd.h sys/syscall.h') > > # Create full path to uid_wrapper > srcdir = os.path.realpath(conf.srcdir) >-- >2.1.2 >
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:
jra
:
review+
obnox
:
review+
Actions:
View
Attachments on
bug 10851
:
10326
| 10364