diff options
| author | Roy Marples <roy@marples.name> | 2020-05-15 20:23:55 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-15 20:23:55 +0100 |
| commit | e591578fa167bd838c8a0051eadf0a33062cbb06 (patch) | |
| tree | 88f5815dc4c6c3d43479bb7ff390759d756b1e1d /src/privsep.h | |
| parent | 529a6092e6ada5a185cb2baefdf509a6c24678ec (diff) | |
| download | dhcpcd-e591578fa167bd838c8a0051eadf0a33062cbb06.tar.xz | |
BPF: Set write filters where supported
While here make Capsicum and Pledge more granular so we can
easily Pledge the BPF BOOTP process but not the ARP one.
Diffstat (limited to 'src/privsep.h')
| -rw-r--r-- | src/privsep.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/privsep.h b/src/privsep.h index 94346cac..7fb5ca9b 100644 --- a/src/privsep.h +++ b/src/privsep.h @@ -33,8 +33,6 @@ /* Start flags */ #define PSF_DROPPRIVS 0x01 -#define PSF_CAP_ENTER 0x02 -#define PSF_PLEDGE 0x04 /* Protocols */ #define PS_BOOTP 0x0001 @@ -147,7 +145,7 @@ TAILQ_HEAD(ps_process_head, ps_process); #endif int ps_init(struct dhcpcd_ctx *); -int ps_dropprivs(struct dhcpcd_ctx *, unsigned int); +int ps_dropprivs(struct dhcpcd_ctx *); int ps_start(struct dhcpcd_ctx *); int ps_stop(struct dhcpcd_ctx *); |
