diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-03-27 15:03:34 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-03-27 21:50:05 -0300 |
| commit | 05f23ace3f71744c258f48548ab9ab6fd2b6647f (patch) | |
| tree | 377901d5a0370f27d755e757019e1123c6bf7c1a | |
| parent | ff991f6102785130fff8225c5afe7a676567771e (diff) | |
ldpd: update pledge promise in lde
With the introduction of the label manager, now lde needs to pledge
"unix" as well in order to connect to zebra.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
| -rw-r--r-- | ldpd/lde.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/lde.c b/ldpd/lde.c index 3247c8c1cc..0e50f9689f 100644 --- a/ldpd/lde.c +++ b/ldpd/lde.c @@ -166,7 +166,7 @@ lde(const char *user, const char *group, u_short instance) zprivs_init(&lde_privs); #ifdef HAVE_PLEDGE - if (pledge("stdio recvfd", NULL) == -1) + if (pledge("stdio recvfd unix", NULL) == -1) fatal("pledge"); #endif |
