* [PATCH] nptl: Remove set*id, set*gid files which are not built
@ 2020-12-14 8:32 Florian Weimer
2020-12-14 11:49 ` H.J. Lu
0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2020-12-14 8:32 UTC (permalink / raw)
To: libc-alpha
---
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(-)
diff --git a/nptl/Makefile b/nptl/Makefile
index ddd83dfbdd..491768ce6e 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -169,10 +169,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 <setegid.c>
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 <seteuid.c>
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 <setgid.c>
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 <setregid.c>
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 <setresgid.c>
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 <setresuid.c>
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 <setreuid.c>
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 <setuid.c>
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] nptl: Remove set*id, set*gid files which are not built
2020-12-14 8:32 [PATCH] nptl: Remove set*id, set*gid files which are not built Florian Weimer
@ 2020-12-14 11:49 ` H.J. Lu
0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2020-12-14 11:49 UTC (permalink / raw)
To: Florian Weimer; +Cc: GNU C Library
On Mon, Dec 14, 2020 at 12:32 AM Florian Weimer via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> ---
> 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(-)
>
> diff --git a/nptl/Makefile b/nptl/Makefile
> index ddd83dfbdd..491768ce6e 100644
> --- a/nptl/Makefile
> +++ b/nptl/Makefile
> @@ -169,10 +169,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 <setegid.c>
> 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 <seteuid.c>
> 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 <setgid.c>
> 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 <setregid.c>
> 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 <setresgid.c>
> 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 <setresuid.c>
> 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 <setreuid.c>
> 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 <setuid.c>
LGTM.
Thanks.
--
H.J.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-14 12:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 8:32 [PATCH] nptl: Remove set*id, set*gid files which are not built Florian Weimer
2020-12-14 11:49 ` H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).