From patchwork Wed Nov 18 19:55:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 41100 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 80732393C878; Wed, 18 Nov 2020 19:56:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80732393C878 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1605729364; bh=gxnanqRTyytTmJyz+uzWK+Twq1QQoVPQXIX/hTalfFA=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=D5OJu30FQw6ko2OzNtZjNIHQeohFnhIuWPUy/0LuJFIw8iPYQanGCQIJLEPxziV9f TBHzfgAulyGwgTT6DT3R+cSWmGMOh1wZT0Wz3eC2lqN0Gc0xfj7P5EJ3+HV0Sg1tQf gHTsxxgUW4TZ3I+ezL2vVQxlbNSwYSIoPlDDXekc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by sourceware.org (Postfix) with ESMTPS id CCF343894C2D for ; Wed, 18 Nov 2020 19:56:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CCF343894C2D Received: by mail-qk1-x730.google.com with SMTP id y197so3064663qkb.7 for ; Wed, 18 Nov 2020 11:56:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gxnanqRTyytTmJyz+uzWK+Twq1QQoVPQXIX/hTalfFA=; b=Zie/9vxu3vu2ttF3mNcBr4SgV4ZQnOVvvt7LFZCBBfDgBIb9ACm3EIeXDtCyj8d+OJ oDfgvBOn064VDbqyGJGu51VFBuIEt+MhzWdA+hkt2rhbXdqUK4ftWk/kcDeSFzjmFxha 1373Lq2WRB1pEVfNovitNqID8lF4t/9I6RLr8CaSDAPS4ATYrZcnTCzIYupWJ2glgj32 qpqgbNYMn478gsQjzB9oWeTLw9Yv4cC8HVfMj5o8PDnDk5kSOhl+JXASsxfe5ul+KMR1 fKBMHpHpAYGr0G7Ncoq3cE0ec1xeiAzwerdAtHlPrH1Z3nSJujNVzDwpQRxKLNwm4Ig5 ZCVg== X-Gm-Message-State: AOAM533TxyDsIc95ngIHm2wLy6lKQxSJPwW0sQkSELoFu9fO6294Ffp9 ALb9wPG7WPLYPi1Cw1JPSyNp8sTHgsrdXw== X-Google-Smtp-Source: ABdhPJwazasLCb3l8hh+dfmG7d74002g+L4lt6cZwuZqR8J0wYzV6VShTsH13X5Nl0cdJmY4/fLERQ== X-Received: by 2002:a37:813:: with SMTP id 19mr6812348qki.438.1605729361177; Wed, 18 Nov 2020 11:56:01 -0800 (PST) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id f27sm6538775qtv.95.2020.11.18.11.56.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 11:56:00 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH 02/28] Removed ununsed pthread implementations Date: Wed, 18 Nov 2020 16:55:26 -0300 Message-Id: <20201118195552.2687336-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201118195552.2687336-1-adhemerval.zanella@linaro.org> References: <20201118195552.2687336-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The pthread_setuid, pthread_seteuid, pthread_setreuid, pthread_setresuid, pthread_setgid, pthread_setegid, pthread_setregid, and pthread_setresgid are leftovers from linuxthreads. No semantic changes expected. --- nptl/Makefile | 4 ---- nptl/pthread_setegid.c | 3 --- nptl/pthread_seteuid.c | 3 --- nptl/pthread_setgid.c | 3 --- nptl/pthread_setregid.c | 3 --- nptl/pthread_setresgid.c | 3 --- nptl/pthread_setresuid.c | 3 --- nptl/pthread_setreuid.c | 3 --- nptl/pthread_setuid.c | 3 --- 9 files changed, 28 deletions(-) delete mode 100644 nptl/pthread_setegid.c delete mode 100644 nptl/pthread_seteuid.c delete mode 100644 nptl/pthread_setgid.c delete mode 100644 nptl/pthread_setregid.c delete mode 100644 nptl/pthread_setresgid.c delete mode 100644 nptl/pthread_setresuid.c delete mode 100644 nptl/pthread_setreuid.c delete mode 100644 nptl/pthread_setuid.c diff --git a/nptl/Makefile b/nptl/Makefile index 74ab758c12..90611790ef 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -170,10 +170,6 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \ pthread_setattr_default_np pthread_getattr_default_np \ pthread_mutex_conf \ libpthread-compat -# pthread_setuid pthread_seteuid pthread_setreuid \ -# pthread_setresuid \ -# pthread_setgid pthread_setegid pthread_setregid \ -# pthread_setresgid libpthread-shared-only-routines = version pt-interp pt-allocrtsig \ unwind-forcedunwind diff --git a/nptl/pthread_setegid.c b/nptl/pthread_setegid.c deleted file mode 100644 index 9252dfac7d..0000000000 --- a/nptl/pthread_setegid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define setegid pthread_setegid_np -#include diff --git a/nptl/pthread_seteuid.c b/nptl/pthread_seteuid.c deleted file mode 100644 index 47bb698025..0000000000 --- a/nptl/pthread_seteuid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define seteuid pthread_seteuid_np -#include diff --git a/nptl/pthread_setgid.c b/nptl/pthread_setgid.c deleted file mode 100644 index b06bffbf32..0000000000 --- a/nptl/pthread_setgid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define __setgid pthread_setgid_np -#include diff --git a/nptl/pthread_setregid.c b/nptl/pthread_setregid.c deleted file mode 100644 index 7461d2b7fd..0000000000 --- a/nptl/pthread_setregid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define __setregid pthread_setregid_np -#include diff --git a/nptl/pthread_setresgid.c b/nptl/pthread_setresgid.c deleted file mode 100644 index 369fae2672..0000000000 --- a/nptl/pthread_setresgid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define __setresgid pthread_setresgid_np -#include diff --git a/nptl/pthread_setresuid.c b/nptl/pthread_setresuid.c deleted file mode 100644 index ac57c0fa8d..0000000000 --- a/nptl/pthread_setresuid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define __setresuid pthread_setresuid_np -#include diff --git a/nptl/pthread_setreuid.c b/nptl/pthread_setreuid.c deleted file mode 100644 index aa804ab01d..0000000000 --- a/nptl/pthread_setreuid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define __setreuid pthread_setreuid_np -#include diff --git a/nptl/pthread_setuid.c b/nptl/pthread_setuid.c deleted file mode 100644 index ff949c850f..0000000000 --- a/nptl/pthread_setuid.c +++ /dev/null @@ -1,3 +0,0 @@ -#define SINGLE_THREAD -#define __setuid pthread_setuid_np -#include