diff options
author | 2014-08-24 19:44:02 +0000 | |
---|---|---|
committer | 2014-08-24 19:44:02 +0000 | |
commit | da641232259a38baf08c0c1d9c4f929e4660e23f (patch) | |
tree | 911524f7a4b96fd0daf88dbbad859bbae956b070 /lib/libutil | |
parent | Whitelisting allowed services is safer and less confusing than (diff) | |
download | wireguard-openbsd-da641232259a38baf08c0c1d9c4f929e4660e23f.tar.xz wireguard-openbsd-da641232259a38baf08c0c1d9c4f929e4660e23f.zip |
Delete the function svc_get_all().
In svc_is_avail(), this simplifies the code by getting rid of the loop.
When running "rcctl status", this allows to not run svc_is_special() -
which spawns a grep - for each and every service, resulting in a 20%
speedup. As a bonus, we get the special services listed at the end,
where they are easier to see than mixed in with the daemons.
ok ajacoutot@ jasper@
Diffstat (limited to 'lib/libutil')
0 files changed, 0 insertions, 0 deletions