Go to file
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
build-aux Add helper script for generating online documentation 2015-09-09 15:54:29 -05:00
docs docs: update doxygen files 2015-09-09 15:54:29 -05:00
examples Low: examples: fix race condition in glib mainloop example 2015-04-24 18:07:05 -04:00
include includes: Fix format string 2016-01-08 11:25:02 +00:00
lib ipc: set gid on unix sockets 2016-01-23 10:32:42 -05:00
tests Add missing Makefile rule for generating the auto_check_header_qbconfig.c file 2016-01-14 16:37:26 +01:00
tools build: fix libqb.pc creation and make maintainer-clean 2012-08-27 15:07:36 +02:00
.gitignore Low: build: update .gitignore for vim swap files and "make check" output 2015-04-27 14:49:21 -04:00
.travis.yml release version 0.17.2 2015-08-18 09:14:51 -05:00
autogen.sh libtool and code re-structure 2010-04-15 23:25:29 +10:00
check minor fixes to check script's ABI report 2015-08-28 11:20:20 -05:00
coding_style.txt Add the coding style definition file. 2010-07-06 12:45:46 +10:00
configure.ac Merge pull request #164 from kgaillot/fixes 2016-01-11 15:31:43 +00:00
COPYING Re-license to LGPL 2.1 2010-05-25 06:11:59 +10:00
INSTALL The license is in COPYING, not LICENSE 2015-12-16 19:28:20 +01:00
libqb.spec.in doc: improve README and RPM description 2015-08-18 09:14:51 -05:00
Lindent Change Lindent options to break the procedure type. 2011-06-22 14:19:14 +10:00
Makefile.am Low: build: update .gitignore and make maintainer-clean target 2014-07-23 11:43:42 -05:00
README.markdown doc: improve README and RPM description 2015-08-18 09:14:51 -05:00

libqb

What is libqb?

libqb is a library with the primary purpose of providing high-performance, reusable features for client-server architecture, such as logging, tracing, inter-process communication (IPC), and polling.

libqb is not intended to be an all-encompassing library, but instead provide focused APIs that are highly tuned for maximum performance for client-server applications.

Build Status

For more information, see:

Dependencies

  • glib-2.0-devel (If you want to build the glib example code)
  • check-devel (If you want to run the tests)
  • doxygen and graphviz (If you want to build the doxygen man pages or html manual)

Source Control (GIT)

git clone git://github.com/ClusterLabs/libqb.git

See Github

Installing from source

$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

How you can help

If you find this project useful, you may want to consider supporting its future development. There are a number of ways to support the project.