diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-03-05 15:28:26 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-03-05 11:08:31 -0500 |
| commit | c5c44d4b41717484f23e11882e85983585b59e95 (patch) | |
| tree | 1e14b9dfc1bbc52639c679541dec156f586d6010 /ospf6d/ospf6_interface.c | |
| parent | b19abe1131daa38d1d0e31c4793925bb89f11c07 (diff) | |
libs: make privilege escalation thread-safe
Privs escalation is process-wide, and a multi-threaded process
can deadlock. This adds a mutex and a counter to the privs
object, preventing multiple threads from making the privs
escalation system call.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions
