From 36fcdfbbc5463e55581fec67141df3493fb81f7e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 24 Jan 2025 08:04:23 +0100 Subject: Revert "stdlib: Support malloc-managed environ arrays for compatibility" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b62759db04b8ed7f829c06f1d7c3b8fb70616493. Reason for revert: Incompatible with “env -i” and coreutils (bug 32588). Reviewed-by: H.J. Lu --- include/unistd.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index ada957f9d0..e241603b81 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -203,9 +203,6 @@ libc_hidden_proto (__tcsetpgrp) extern int __libc_enable_secure attribute_relro; rtld_hidden_proto (__libc_enable_secure) -/* Original value of __environ. Initialized by _init_first (dynamic) - or __libc_start_main (static). */ -extern char **__environ_startup attribute_hidden; /* Various internal function. */ extern void __libc_check_standard_fds (void) attribute_hidden; -- cgit v1.2.3