diff options
| author | Roy Marples <roy@marples.name> | 2020-06-05 11:12:21 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-06-05 11:12:21 +0100 |
| commit | 14af21e525d20018c73466f4c90afc3c4c2567fc (patch) | |
| tree | ce9774419ef10a2842ee505c360d13e54c645bf1 /src/if.h | |
| parent | d8abf7196114e205e2b6a6318111ea4b3f948668 (diff) | |
| download | dhcpcd-14af21e525d20018c73466f4c90afc3c4c2567fc.tar.xz | |
privsep: Remove pledges inet and dns from the master process
Achieved by adding IPC to ignore interfaces names based on
the interface group.
This means every process just pledges stdio for IPC which the
exception of the master process which also pledges route so it
can access the routing table.
Diffstat (limited to 'src/if.h')
| -rw-r--r-- | src/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -182,6 +182,7 @@ int if_nametospec(const char *, struct if_spec *); int if_conf(struct interface *); int if_init(struct interface *); int if_getssid(struct interface *); +int if_ignoregroup(int, const char *); bool if_ignore(struct dhcpcd_ctx *, const char *); int if_vimaster(struct dhcpcd_ctx *ctx, const char *); unsigned short if_vlanid(const struct interface *); |
