populate .gitignore files with non-repository files

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
silence compiler warning

access_checks.c: In function ‘get_scm_creds_sync’:
access_checks.c:129:11: warning: unused variable ‘tries’ [-Wunused-variable]
  int ret, tries=0;
           ^
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
add travis-ci support to cgmanager repo

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
cgmanager: delete existing socket if it is stale

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
cgproxy: add --check-master to check whether cgmanager is running

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
rename chownCgroup to Chown

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
dbus method names: capitalize first letter consistently

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
remove the scm programs

The scm-extended dbus calls are only meant to be used by the
proxy.  If we want separate binaries for them, we can now
write them using the libcgmanager versions to do the dbus
part, then continue over the unix socket which the binaries
must create and pass.

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

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Fixes for Coverity-identified issues.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>
Merge pull request #7 from jamesodhunt/coverity-fixes

Fixes for Coverity-identified issues.
address pid wraparound in hostuid_to_ns

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
set_value: start a trivial files blacklist

This is a list of files which clients should not be allowed to write
to.  For instance, tasks and cgroup.procs would allow bypassing
the extra restrictions imposed on MovePid, namely privilege of the
client over the victim.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
remove old binaries from .gitignore

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
formality: explicitly call existed an int32_t

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
mark all passed-in dbus strings as const

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
don't modify a const char*

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix &existed return value

I'd forgotten that nih-dbus-tool clients cannot handle an output int32
value being 0.  Use -1 instead of 0.  Alternatively as jodh has pointed
out we could switch back to using a bool.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
configure.ac: tag v0.16

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
include config.h to use PACKAGE_* values

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>