projects
/
tinc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't retry outgoing connections if node is connected
[tinc]
/
src
/
sandbox.c
1
#include "system.h"
2
3
#include "sandbox.h"
4
5
// Stubs for platforms without sandbox support to avoid using lots of #ifdefs.
6
7
bool sandbox_can(sandbox_action_t action, sandbox_time_t when) {
8
(void)action;
9
(void)when;
10
return true;
11
}
12
13
void sandbox_set_level(sandbox_level_t level) {
14
(void)level;
15
}
16
17
bool sandbox_enter(void) {
18
return true;
19
}