From patchwork Thu Dec 14 19:19:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 848750 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-88157-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="wQhfcvLB"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yyNgh5LVnz9t39 for ; Fri, 15 Dec 2017 06:20:32 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=A5MAAxwTsE62llnWBzb88Fnv3I8MthZSe6fW4YNDaKaLE7n0MBQQH lgOj7KfpOnR52EFGb3u87qaEo3FB7mozDIT57fuwyXsCqUEmNLG0NnygoCe3bcgt HW1tkd8YJ+fh85AltFQMKuf5Q+nHIitTdr40JD+1O2pg0C2jeN0fTo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=1MSxorgFvqBzAntyw+XZDHkWg4E=; b=wQhfcvLBc933zCOOj5Ot536pw6E3 KYRP5sZYCLSTydo8N8nbzGwn3m2OI/naHE/yPtdzO3V8wl9EF3QdZHCXocI+b+3r XDlbwtQhrPedHxUg5/rOH03cMl+8ThVavRJ1+PDPuJrFO3jI3oGi4mqKvRMUxQY1 jF8i/fJmoj0mLwg= Received: (qmail 117498 invoked by alias); 14 Dec 2017 19:19:59 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 117453 invoked by uid 89); 14 Dec 2017 19:19:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: homiemail-a52.g.dreamhost.com From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [COMMITTED] Remove redundant mention of SXID_ERASE Date: Fri, 15 Dec 2017 00:49:46 +0530 Message-Id: <1513279186-27463-1-git-send-email-siddhesh@sourceware.org> SXID_ERASE is implicit for all environment variables. Avoid mentioning it in the tunables list; that way only the ones with SXID_IGNORE remain prominent and mentioned. TODO: we need to audit each of those cases and drop them to SXID_ERASE wherever possible. No change in generated code on x86_64, so committed as obvious. Siddhesh --- ChangeLog | 4 ++++ elf/dl-tunables.list | 11 +---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 018edea..3ae1fd2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-12-14 Siddhesh Poyarekar + + * elf/dl-tunables.list: Remove redundant SXID_ERASE. + 2017-12-14 Florian Weimer [BZ #22607] diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list index ec0fe20..cf1cf4c 100644 --- a/elf/dl-tunables.list +++ b/elf/dl-tunables.list @@ -78,15 +78,12 @@ glibc { } tcache_max { type: SIZE_T - security_level: SXID_ERASE } tcache_count { type: SIZE_T - security_level: SXID_ERASE } tcache_unsorted_limit { type: SIZE_T - security_level: SXID_ERASE } } tune { @@ -94,7 +91,7 @@ glibc { type: UINT_64 env_alias: LD_HWCAP_MASK default: HWCAP_IMPORTANT - } + } } elision { @@ -102,32 +99,26 @@ glibc { type: INT_32 minval: 0 maxval: 1 - security_level: SXID_ERASE } skip_lock_busy { type: INT_32 default: 3 - security_level: SXID_ERASE } skip_lock_internal_abort { type: INT_32 default: 3 - security_level: SXID_ERASE } skip_lock_after_retries { type: INT_32 default: 3 - security_level: SXID_ERASE } tries { type: INT_32 default: 3 - security_level: SXID_ERASE } skip_trylock_internal_abort { type: INT_32 default: 3 - security_level: SXID_ERASE } } }