diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 21:03:40 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 21:03:40 +0100 |
commit | 69c830f36376058df238bda39d15d42a0507af53 (patch) | |
tree | 0ea9ae4a898c04d0ff5df5679981290faf9b0232 /src/fastd.h | |
parent | 995380597a0df69504ffa2f1782290ffa2614d18 (diff) | |
download | fastd-69c830f36376058df238bda39d15d42a0507af53.tar fastd-69c830f36376058df238bda39d15d42a0507af53.zip |
Improve capability handling, retain required capabilities
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fastd.h b/src/fastd.h index 56d337f..08cfb5f 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -392,13 +392,13 @@ bool fastd_android_protect_socket(int fd); #ifdef WITH_CAPABILITIES -void fastd_cap_init(void); -void fastd_cap_drop(void); +void fastd_cap_acquire(void); +void fastd_cap_reacquire_drop(void); #else /* WITH_CAPABILITIES */ -static inline void fastd_cap_init(void) {} -static inline void fastd_cap_drop(void) {} +static inline void fastd_cap_acquire(void) {} +static inline void fastd_cap_reacquire_drop(void) {} #endif /* WITH_CAPABILITIES */ |