Displaying 8 results from an estimated 8 matches for "cap_set_proc".
2011 May 13
1
undefined symbol: cap_set_proc on several modules after installation from source
...What could be producing the following warnings on console, after an
installation from source (Asterisk 1.4.41):
[May 12 21:36:54] WARNING[15344]: loader.c:434 load_dynamic_module:
Error loading module 'res_musiconhold.so':
/usr/lib/asterisk/modules/res_musiconhold.so: undefined symbol:
cap_set_proc
[May 12 21:36:54] WARNING[15344]: loader.c:434 load_dynamic_module:
Error loading module 'app_festival.so':
/usr/lib/asterisk/modules/app_festival.so: undefined symbol:
cap_set_proc
[May 12 21:36:55] WARNING[15344]: loader.c:434 load_dynamic_module:
Error loading module 'app...
2004 Jan 26
1
patch for linux capabilities
...1;
+ }
+ if( cap_set_flag(cp, CAP_PERMITTED, 2, newcaps, CAP_SET) < 0 ||
+ cap_set_flag(cp, CAP_INHERITABLE, 2, newcaps, CAP_SET) < 0 ) {
+ rsyserr(FERROR, errno, "cap_set_flag failed");
+ io_printf(f_out, "@ERROR: cap_set_flag failed\n");
+ return -1;
+ }
+ if( cap_set_proc(cp) < 0 ) {
+ rsyserr(FERROR, errno, "cap_set_proc failed");
+ io_printf(f_out, "@ERROR: cap_set_proc failed\n");
+ return -1;
+ }
+#endif
+
if (setuid(uid)) {
rsyserr(FERROR, errno, "setuid %d failed", (int) uid);
io_printf(f_out, "@ERROR: se...
2011 May 17
2
CentOS 5.6 X86_64 install problem
...ce3/smbd/smbd
default/source3/libsamba3core.so: undefined reference to `cap_free'
default/source3/libsamba3core.so: undefined reference to `cap_set_flag'
default/source3/libsamba3core.so: undefined reference to `cap_get_proc'
default/source3/libsamba3core.so: undefined reference to `cap_set_proc'
collect2: ld returned 1 exit status
Waf: Leaving directory `/samba-master/bin'
Build failed: -> task failed (err #1):
{task: cc_link epmd_7.o,server_98.o,msg_idmap_98.o -> smbd}
make: *** [all] Error 1
I can provide a full output of the make if required also
I was a...
2007 Feb 23
0
Simple patch
...ecessary root
priviledges");
+ caps = cap_init();
+ cap_clear(caps);
+ cap_set_flag(caps, CAP_PERMITTED,
sizeof(suidcaps)/sizeof(cap_value_t), suidcaps, CAP_SET);
+ cap_set_flag(caps, CAP_EFFECTIVE,
sizeof(suidcaps)/sizeof(cap_value_t), suidcaps, CAP_SET);
+ cap_set_proc(caps);
+ cap_free(caps);
+#endif
+
lib_signals_init();
lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL);
lib_signals_set_handler(SIGTERM, TRUE, sig_die, NULL);
2005 May 12
0
[PATCH] Trusted IRIX Support
...x_set_cap received NULL for input!");
+ if(sysconf(_SC_CAP) != 0) {
+ debug("irix_set_cap: setting capability to
%s",cap_string);
+ running_cap=cap_from_text(cap_string);
+ if(running_cap != NULL) {
+ if(cap_set_proc(running_cap) != 0)
+ fatal("Unable to set the process
capability "
+ "set to %s!",cap_string);
+ cap_free(running_cap);
+ }
+ else
+...
2010 Apr 09
0
ANNOUNCE: cifs-utils release 4.3 available for download
...t.com>
commit 16c29a1920e48e7480595edd0ae96094d6e220c8
Author: Jeff Layton <jlayton at samba.org>
Date: Sat Apr 3 07:12:06 2010 -0400
mount.cifs: fix toggle_cap_dac_override
...it clears the capability set completely, which it shouldn't do. It
also doesn't call cap_set_proc to make the new capability set active.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 55c00c67ced28102209e640fd50bcab9d0332a7f
Author: Jeff Layton <jlayton at samba.org>
Date: Sat Apr 3 06:49:43 2010 -0400
mount.cifs: only enable CAP_DAC_OVERRIDE when needed...
2006 Dec 13
1
Adding a Samba Domain Server
I have a Samba PDC setup using LDAP as the passdb. I want to add
another Samba server to the mix. I believe I want to add it in as a
Domain Server; however, I can't seem to get it working.
On the PDC server I am running:
- linux (2.6.latest)
- openldap (latest)
- samba (3.latest)
- nss
On the Domain Server I am running:
- samba (latest 3.latest)
- nss
I thought someone might
2003 Apr 20
1
log of build of 2.2.8a on Solaris9 using SUN's studio7 cc.
...10549: undefined symbol: CAP_NETWORK_MGT
"configure", line 10550: undefined struct/union member: cap_inheritable
"configure", line 10550: left operand of "->" must be pointer to struct/union
"configure", line 10551: warning: implicit function declaration: cap_set_proc
cc: acomp failed for conftest.c
configure: failed program was:
#line 10542 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/capability.h>
main() {
cap_t cap;
if ((cap = cap_get_proc()) == NULL)
exit(1);
cap->cap_effective |= CAP_NETWORK...