capabilities: CAP_CHOWN might be required by many plugins opening UNIX sockets
But as the sockets will be created with the user/group of the running process this might not be required as no change may be needed.
This commit is contained in:
1 parent
1937538440
commit
1091edede8
8 files changed
+48
No files matched your search
@@ -92,6 +92,12 @@ plugin_t *error_notify_plugin_create()
|
||||
{
|
||||
private_error_notify_plugin_t *this;
|
||||
|
||||
if (!lib->caps->keep(lib->caps, CAP_CHOWN))
|
||||
{ /* required to chown(2) notify socket */
|
||||
DBG1(DBG_CFG, "error-notify plugin requires CAP_CHOWN capability");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
INIT(this,
|
||||
.public = {
|
||||
.plugin = {
|
||||
|
||||
Reference in new issue
Block a user