summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-12-25 17:22:29 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-12-25 17:22:29 +0100
commitae28e7c8b1c93c574081af79c54c02a4e916d3d8 (patch)
tree24d9ed28cb5225e9569ac0fe454f5db7c48853ff /src/fastd.c
parent78440eab81959ec7a95effd579fd87b7c56dbe3d (diff)
downloadfastd-ae28e7c8b1c93c574081af79c54c02a4e916d3d8.tar
fastd-ae28e7c8b1c93c574081af79c54c02a4e916d3d8.zip
Remove capability locking feature
This isn't our job, so there is no reason to support this.
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fastd.c b/src/fastd.c
index b7a7a83..22d64b9 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -1050,11 +1050,7 @@ static void set_user(fastd_context_t *ctx) {
}
static void drop_caps(fastd_context_t *ctx) {
- if (ctx->conf->lock_caps)
- fastd_cap_lock(ctx);
-
set_user(ctx);
-
fastd_cap_drop(ctx);
}