summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2013-05-13 12:37:04 -0400
committerStephen Smalley <sds@tycho.nsa.gov>2013-08-23 08:35:43 -0400
commit8348d279c7ce1a2453965ba7f05a7b818d58886c (patch)
tree5bf50a8793a7ad5f6f0bd475c54a72f49c37f7a9 /libutils/ProcessCallStack.cpp
parent5d8554323caddfa3ca02f31625ea72634312521f (diff)
Add support for socket security context specification.
Add an optional argument to the socket option for specifying a SELinux security context for the socket. Normally the socket security context is automatically computed from the service security context or set using the seclabel option, but this facility allows dealing with two scenarios that cannot be addressed using the existing mechanisms: 1) Use of logwrapper to wrap a service. In this case, init cannot determine the service security context as it does not directly execute it and we do not want logwrapper to run in the same domain as the service. 2) Situations where a service has multiple sockets and we want to label them distinctly. Change-Id: I7ae9088c326a2140e56a8044bfb21a91505aea11 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions