VPP-83 Allow non-privileged clients to use the vpp binary API. 31/1331/6
authorDave Barach <dave@barachs.net>
Tue, 31 May 2016 18:05:46 +0000 (14:05 -0400)
committerKeith Burns <alagalah@gmail.com>
Wed, 1 Jun 2016 19:21:58 +0000 (19:21 +0000)
commitdb0cf7963b971ebb393d105a0a29fa7bd926521c
tree054988a44b4a68ad0e1b4470dfc566dc3e6dfd8a
parent8d9e80583fbb8ffb30e63153ef5b2b21c6b336fa
VPP-83 Allow non-privileged clients to use the vpp binary API.

Use the command line argument "api-segment { uid <nnn> gid <nnn> }" to
configure shared memory segment file ownership. Defaults to uid = gid
= 0.  Shared-memory segments are explicitly set to 0770 mode, aka
"rwxrwx---".

Change-Id: Ic5d596b68139add61e7de6ace035c57dfd030111
Signed-off-by: Dave Barach <dave@barachs.net>
svm/svm.c
svm/svm.h
vlib-api/vlibapi/api.h
vlib-api/vlibapi/api_shared.c
vlib-api/vlibmemory/api.h
vlib-api/vlibmemory/memory_shared.c
vlib-api/vlibmemory/memory_vlib.c
vlib/vlib/main.c
vpp/api/api.c
vpp/api/gmon.c