The Samba-Bugzilla – Attachment 3268 Details for
Bug 5285
missing capget/capset detection leading to compile errors with libcap-2.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Different approach for fixing compilation problems
libcap.diff (text/plain), 731 bytes, created by
Michal Soltys
on 2008-04-22 02:47:53 UTC
(
hide
)
Description:
Different approach for fixing compilation problems
Filename:
MIME Type:
Creator:
Michal Soltys
Created:
2008-04-22 02:47:53 UTC
Size:
731 bytes
patch
obsolete
>--- oplock_linux.c.org 2008-04-22 09:30:22.000000000 +0200 >+++ oplock_linux.c 2008-04-22 09:29:07.000000000 +0200 >@@ -23,21 +23,8 @@ > > #if HAVE_KERNEL_OPLOCKS_LINUX > >-/* these can be removed when they are in glibc headers */ >-struct cap_user_header { >- uint32 version; >- int pid; >-} header; >-struct cap_user_data { >- uint32 effective; >- uint32 permitted; >- uint32 inheritable; >-} data; >- >-extern int capget(struct cap_user_header * hdrp, >- struct cap_user_data * datap); >-extern int capset(struct cap_user_header * hdrp, >- const struct cap_user_data * datap); >+static struct __user_cap_header_struct header; >+static struct __user_cap_data_struct data; > > static SIG_ATOMIC_T signals_received; > #define FD_PENDING_SIZE 100
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
Actions:
View
Attachments on
bug 5285
:
3153
| 3268 |
3314
|
3315