Branch: refs/heads/master
Home:
https://github.com/ClusterLabs/libqb
Commit: 7c4185a72ad91c3479c8ecc2f5713bcc819d16ba
https://github.com/ClusterLabs/libqb/commit/7c4185a72ad91c3479c8ecc2f5713...
Author: David Shane Holden <dpejesh(a)yahoo.com>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M lib/ipc_setup.c
Log Message:
-----------
lib: split peer credential loopup into it's own method
Commit: 888ef2e7218056ecbb3a06105674c673fc71f555
https://github.com/ClusterLabs/libqb/commit/888ef2e7218056ecbb3a06105674c...
Author: David Shane Holden <dpejesh(a)yahoo.com>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M lib/ipc_setup.c
Log Message:
-----------
lib: add init_ipc_auth_data() to initialize ipc_auth_data
Commit: 267160634dc467cd5170d9c9ef04224f838a8f12
https://github.com/ClusterLabs/libqb/commit/267160634dc467cd5170d9c9ef042...
Author: David Shane Holden <dpejesh(a)yahoo.com>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M lib/ipc_int.h
M lib/ipc_setup.c
Log Message:
-----------
lib: store server peer credentials in qb_ipcc_connection
Commit: 8668d051c5e554eadf2967046ecfcccc7ec8762f
https://github.com/ClusterLabs/libqb/commit/8668d051c5e554eadf2967046ecfc...
Author: David Shane Holden <dpejesh(a)yahoo.com>
Date: 2016-01-23 (Sat, 23 Jan 2016)
Changed paths:
M lib/ipc_socket.c
Log Message:
-----------
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.
Commit: 4f131253fcd31d360afe397006cd0ae815895dae
https://github.com/ClusterLabs/libqb/commit/4f131253fcd31d360afe397006cd0...
Author: David Shane Holden <dpejesh(a)yahoo.com>
Date: 2016-01-25 (Mon, 25 Jan 2016)
Changed paths:
M lib/ipc_int.h
M lib/ipc_setup.c
M lib/ipc_socket.c
Log Message:
-----------
update: per kgaillot review
* remove pid/euid from qb_ipcc_connection
* use proper #elif defines
* return NULL instead of 0 for pointers
* return -ENOMEM when malloc fails
* remove redundant if check
* use -1 for uid to chown()
Commit: 8b2450edb0aef475dabee494f07b3b157357323f
https://github.com/ClusterLabs/libqb/commit/8b2450edb0aef475dabee494f07b3...
Author: Chrissie Caulfield <ccaulfie(a)redhat.com>
Date: 2016-02-01 (Mon, 01 Feb 2016)
Changed paths:
M lib/ipc_int.h
M lib/ipc_setup.c
M lib/ipc_socket.c
Log Message:
-----------
Merge pull request #173 from dpejesh/socket
ipc: set gid on unix sockets
Compare:
https://github.com/ClusterLabs/libqb/compare/2dd75dee249d...8b2450edb0ae