summaryrefslogtreecommitdiffstats
path: root/src/config.y
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/config.y
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/config.y')
-rw-r--r--src/config.y13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/config.y b/src/config.y
index 5794124..27fec71 100644
--- a/src/config.y
+++ b/src/config.y
@@ -105,7 +105,6 @@
%token TOK_DROP
%token TOK_CAPABILITIES
%token TOK_EARLY
-%token TOK_LOCK
%token TOK_LIMIT
%token <addr4> TOK_ADDR4
@@ -135,7 +134,6 @@
%type <num> maybe_bind_default
%type <num> bind_default
%type <num> drop_capabilities_enabled
-%type <boolean> drop_capabilities_lock
%%
start: START_CONFIG config
@@ -190,9 +188,8 @@ group: TOK_STRING {
}
drop_capabilities:
- drop_capabilities_enabled drop_capabilities_lock {
+ drop_capabilities_enabled {
conf->drop_caps = $1;
- conf->lock_caps = $2;
}
drop_capabilities_enabled:
@@ -203,14 +200,6 @@ drop_capabilities_enabled:
$$ = $1 ? DROP_CAPS_ON : DROP_CAPS_OFF;
}
-drop_capabilities_lock:
- TOK_LOCK {
- $$ = true;
- }
- | {
- $$ = false;
- }
-
log: TOK_LEVEL log_level {
conf->log_stderr_level = $2;
}