dhcp: Require CAP_NET_BIND_SERVICE and CAP_NET_RAW to open/bind sockets
This commit is contained in:
@@ -38,6 +38,9 @@ typedef struct capabilities_t capabilities_t;
|
||||
#ifndef CAP_NET_ADMIN
|
||||
# define CAP_NET_ADMIN 12
|
||||
#endif
|
||||
#ifndef CAP_NET_RAW
|
||||
# define CAP_NET_RAW 13
|
||||
#endif
|
||||
|
||||
/**
|
||||
* POSIX capability dropping abstraction layer.
|
||||
|
||||
Reference in New Issue
Block a user