Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
glibc-testsuite
ld-hwcap-mask-suid.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ld-hwcap-mask-suid.patch of Package glibc-testsuite
2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org> [BZ #21209] * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for AT_SECURE processes. * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK. Index: glibc-2.19/elf/rtld.c =================================================================== --- glibc-2.19.orig/elf/rtld.c +++ glibc-2.19/elf/rtld.c @@ -2604,7 +2604,8 @@ process_envvars (enum mode *modep) case 10: /* Mask for the important hardware capabilities. */ - if (memcmp (envline, "HWCAP_MASK", 10) == 0) + if (!INTUSE(__libc_enable_secure) + && memcmp (envline, "HWCAP_MASK", 10) == 0) GLRO(dl_hwcap_mask) = __strtoul_internal (&envline[11], NULL, 0, 0); break; Index: glibc-2.19/sysdeps/generic/unsecvars.h =================================================================== --- glibc-2.19.orig/sysdeps/generic/unsecvars.h +++ glibc-2.19/sysdeps/generic/unsecvars.h @@ -9,6 +9,7 @@ "LD_DEBUG\0" \ "LD_DEBUG_OUTPUT\0" \ "LD_DYNAMIC_WEAK\0" \ + "LD_HWCAP_MASK\0" \ "LD_LIBRARY_PATH\0" \ "LD_ORIGIN_PATH\0" \ "LD_PRELOAD\0" \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor