Proper fallback if capability dropping is not available
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
#include <kernel/kernel_handler.h>
|
||||
#include <processing/jobs/start_action_job.h>
|
||||
|
||||
#ifndef CAP_NET_ADMIN
|
||||
#define CAP_NET_ADMIN 12
|
||||
#endif
|
||||
|
||||
typedef struct private_daemon_t private_daemon_t;
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
|
||||
#include <daemon.h>
|
||||
|
||||
/* missing in cababilities.h */
|
||||
#ifndef CAP_AUDIT_WRITE
|
||||
#define CAP_AUDIT_WRITE 29
|
||||
#endif
|
||||
|
||||
METHOD(plugin_t, get_name, char*,
|
||||
eap_gtc_plugin_t *this)
|
||||
|
||||
Reference in New Issue
Block a user