set_value: only check write access rights

some files are write-only.  we don't want to refuse to set values
for those files.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add a concurrency test

Only manually run at this point
cgm-concurrent: add connect-only mode

running cgm-concurrent -i 10 -j 2 -c will *only* actually
connect and disconnect from the daemon.  This sadly still
can segfault (or, on a faster system, -j 30 -i 50), showing
that there is a threading bug in dbus (maybe nih-dbus), or
we are misunderstanding how to properly use it (and so doing
something wrong).

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
dont ignore cgm_dbus_connect failure

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Makefile.am: remove debugging line

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add current fn to nih_error msgs

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

Conflicts:
	cgmanager.c
proxy: set up disconnection handler

Re-try connection when the cgmanager has gone away (and hopefully
restarted).

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Add a cgm client script for convenience

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
cgm: add 'all' controller option

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
release 0.21

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
comment obscure freeing of output

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add some missing error logging

pointed out by sarnold.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
dont try to close fd after an error

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Don't leak memory when reading creds in callback

When we grab the creds from a nih_io message, the msg gets
reparented to the new parent we pass in - which was NULL.
So it did not get removed.  Reparent it to our sock data,
so it will get freed when we are done with the scm
transaction.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
bump release #

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add cgm man page

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add cgm to make dist

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
release v0.23

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add *.add to dist

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add cgm script to EXTRA_DIST, .spec (fixes rpm build)

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>