This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch hjl/pr18822 updated. glibc-2.26-179-g7730e7a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, hjl/pr18822 has been updated
       via  7730e7a08cc7d50c2476cd07306273fefc4eacd6 (commit)
      from  1410696aaede92ac13171ac7250bcc7d41bbdd72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7730e7a08cc7d50c2476cd07306273fefc4eacd6

commit 7730e7a08cc7d50c2476cd07306273fefc4eacd6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Aug 21 06:24:41 2017 -0700

    Hide __posix_spawn_file_actions_realloc/__spawni [BZ #18822]
    
    Hide internal __posix_spawn_file_actions_realloc and /__spawni functions
    to allow direct access within libc.so and libc.a without using GOT nor
    PLT.
    
    	[BZ #18822]
    	* posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
    	attribute_hidden.
    	(__spawni): Likewise.

diff --git a/posix/spawn_int.h b/posix/spawn_int.h
index c60eb94..40ed343 100644
--- a/posix/spawn_int.h
+++ b/posix/spawn_int.h
@@ -57,12 +57,13 @@ struct __spawn_action
 #define SPAWN_XFLAGS_TRY_SHELL	0x2
 
 extern int __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *
-					       file_actions);
+					       file_actions)
+     attribute_hidden;
 
 extern int __spawni (pid_t *pid, const char *path,
 		     const posix_spawn_file_actions_t *file_actions,
 		     const posix_spawnattr_t *attrp, char *const argv[],
-		     char *const envp[], int xflags);
+		     char *const envp[], int xflags) attribute_hidden;
 
 /* Return true if FD falls into the range valid for file descriptors.
    The check in this form is mandated by POSIX.  */

-----------------------------------------------------------------------

Summary of changes:
 posix/spawn_int.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]