From ae28e7c8b1c93c574081af79c54c02a4e916d3d8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 25 Dec 2012 17:22:29 +0100 Subject: Remove capability locking feature This isn't our job, so there is no reason to support this. --- src/config.y | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/config.y') 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 TOK_ADDR4 @@ -135,7 +134,6 @@ %type maybe_bind_default %type bind_default %type drop_capabilities_enabled -%type 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; } -- cgit v1.2.3