-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
On OpenBSD (development version of 23/03/2020) with mlvpn-2.3.4 I have a pledge issue which disappear if I uncomment the following code in src/privsep.c
https://github.com/zehome/MLVPN/blob/master/src/privsep.c#L192
#ifdef HAVE_PLEDGE
if (pledge("stdio inet unix recvfd", NULL) != 0) {
err(1, "pledge");
}
#endif
In dmesg output I see a pledge violation due to "inet"
mlvpn[3378]: pledge "inet", syscall 105
I can't really explain it as inet is in the promises list of the pledge call.
Metadata
Metadata
Assignees
Labels
No labels