libqb/lib
David Shane Holden 8668d051c5 ipc: set gid on unix sockets
When creating a unix socket it's default gid is that of the parent
directory.  If the SOCKETDIR is owned by root:wheel with 1777 mode
some of the pacemaker daemons end up unable to communicate with one
another due to having insufficient permissions on the sockets.

This can be fixed by setting the client sockets gid to the primary
group of the server socket owner it's attempting to connect to.  And,
on the server side by setting the gid to the already captured gid
stored in the connection info.  This ensures that regardless of who
owns the socket directory, as long as the applications have r/w
access to it they should work.
2016-01-23 10:32:42 -05:00
..
.gitignore Cleanup the .gitignore files 2012-05-09 21:43:58 +10:00
array.c LOG: set the return code when calloc fails 2012-11-23 10:24:56 +11:00
atomic_int.h Add internal support for the new __atomic gcc builtins 2013-05-13 10:15:55 +10:00
hashtable.c Add the processing which remove notifier at skiplist_destroy function 2013-01-15 01:57:29 +09:00
hdb.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
ipc_int.h lib: store server peer credentials in qb_ipcc_connection 2016-01-22 19:42:28 -05:00
ipc_setup.c lib: store server peer credentials in qb_ipcc_connection 2016-01-22 19:42:28 -05:00
ipc_shm.c ipc: Don't send the dispatch_del() function a closed fd 2015-09-24 16:04:28 +01:00
ipc_socket.c ipc: set gid on unix sockets 2016-01-23 10:32:42 -05:00
ipcc.c Fix: valgrind "invalid file descriptor" warning 2015-08-18 09:14:50 -05:00
ipcs.c Low: ipcs: Cleanup unnecessary reference counting 2014-04-04 12:12:58 -05:00
libqb.pc.in build: fix libqb.pc creation and make maintainer-clean 2012-08-27 15:07:36 +02:00
log_blackbox.c Low: blackbox: Abort blackbox logging on ringbuffer overwrite reclaim error 2013-10-08 21:59:59 -05:00
log_dcs.c LOG: copy the function/filename for dynamic callsites 2013-03-20 17:10:35 +11:00
log_file.c LOG: make it possible to fsync() on each file log. 2012-06-05 12:07:35 +10:00
log_format.c Feature: Implement "extended" logging using a marker character 2015-04-30 12:14:53 -04:00
log_int.h Feature: Implement "extended" logging using a marker character 2015-04-30 12:14:53 -04:00
log_syslog.c Get coverity to ignore this warning. 2012-02-03 14:42:25 +11:00
log_thread.c Fixes sem leak 2013-07-22 18:21:23 -05:00
log.c log: don't call dlopen inside dl_iterate_phdr() 2015-10-01 15:01:14 +01:00
loop_int.h LOOP: make it possible to pass in NULL as the default loop instance 2012-02-10 14:47:49 +11:00
loop_job.c Unify the list processing with qb_list function 2013-01-09 02:04:20 +09:00
loop_poll_epoll.c epoll: don't miss poll events under high load 2014-06-05 15:25:26 +10:00
loop_poll_int.h POLL: seperate out the poll/epoll and add kqueue 2012-04-04 00:26:20 +10:00
loop_poll_kqueue.c The udata member of the kevent struct is a void * 2015-01-23 01:58:02 +01:00
loop_poll_poll.c POLL: seperate out the poll/epoll and add kqueue 2012-04-04 00:26:20 +10:00
loop_poll.c High: loop: fixes resource starvation in mainloop code 2015-04-14 11:52:59 -04:00
loop_timerlist.c TIMER: check for null timer handle 2012-03-09 12:17:03 +11:00
loop.c Avoid double-decrement of level->todo 2013-08-20 09:30:16 +10:00
Makefile.am lib: update library version for new release 2016-01-12 11:10:18 +00:00
map_int.h PTRIE: refcount the notifier structs 2012-01-25 16:09:32 +11:00
map.c MAP: add a notifier purely to allow the user to free memory. 2011-12-14 00:26:01 +11:00
ringbuffer_helper.c RB: make the "sem" abstraction into a notifier 2013-02-18 23:25:10 +11:00
ringbuffer_int.h RB: make the "sem" abstraction into a notifier 2013-02-18 23:25:10 +11:00
ringbuffer.c Fix alignment issues on hppa 2015-04-24 12:26:01 +02:00
rpl_sem.c rpl_sem: make destroy more compliant 2013-02-19 12:40:06 +11:00
rpl_sem.h rpl_sem: make destroy more compliant 2013-02-19 12:40:06 +11:00
skiplist.c Add the processing which remove notifier at skiplist_destroy function 2013-01-15 01:57:29 +09:00
strchrnul.c Use safer versions of string functions (strcpy -> strlcpy) 2012-02-08 22:00:49 +11:00
strlcat.c Fix strlcpy and strlcat functions 2012-12-19 10:42:08 +11:00
strlcpy.c Fix strlcpy and strlcat functions 2012-12-19 10:42:08 +11:00
trie.c High: trie: allow modifying the trie map during the notify callback 2014-07-30 09:58:04 -05:00
unix.c lib: create mmap files in socket directory 2016-01-18 19:02:08 -05:00
util_int.h IPC: Increase the listen backlog of IPC server 2014-01-08 13:29:51 +08:00
util.c Remove HZ and use sysconf instead. 2012-05-09 21:38:38 +10:00