Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 247070 Details for
Bug 283470
sigaction() on static/x86_64 sets up invalid sa_restorer field
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch with the fix for sigaction
glibc-2.11-hardened-pie.patch (text/plain), 1.96 KB, created by
Magnus Granberg
on 2010-09-12 22:01:30 UTC
(
hide
)
Description:
updated patch with the fix for sigaction
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2010-09-12 22:01:30 UTC
Size:
1.96 KB
patch
obsolete
>2009-11-08 Magnus Granberg <zorry@gentoo.org> > > #292139 > * Makeconfig (+link): Set to +link-pie. > (+link-static): Change $(static-start-installed-name) to > S$(static-start-installed-name). > (+prector): Set to +prectorS. > (+postctor): Set to +postctorS. > >2010-10-10 Magnus Granberg <zorry@gentoo.org> > > #283470 > *signal/Makefile add -nopie for sigaction.o > >--- libc/Makeconfig >+++ libc/Makeconfig >@@ -447,11 +447,12 @@ > $(common-objpfx)libc% $(+postinit),$^) \ > $(link-extra-libs) $(link-libc) $(+postctorS) $(+postinit) > endif >++link = $(+link-pie) > # Command for statically linking programs with the C library. > ifndef +link-static > +link-static = $(CC) -nostdlib -nostartfiles -static -o $@ \ > $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ >- $(addprefix $(csu-objpfx),$(static-start-installed-name)) \ >+ $(addprefix $(csu-objpfx),S$(static-start-installed-name)) \ > $(+preinit) $(+prector) \ > $(filter-out $(addprefix $(csu-objpfx),start.o \ > $(start-installed-name))\ >@@ -549,11 +550,10 @@ > ifeq ($(elf),yes) > +preinit = $(addprefix $(csu-objpfx),crti.o) > +postinit = $(addprefix $(csu-objpfx),crtn.o) >-+prector = `$(CC) --print-file-name=crtbegin.o` >-+postctor = `$(CC) --print-file-name=crtend.o` >-# Variants of the two previous definitions for linking PIE programs. > +prectorS = `$(CC) --print-file-name=crtbeginS.o` > +postctorS = `$(CC) --print-file-name=crtendS.o` >++prector = $(+prectorS) >++postctor = $(+postctorS) > +interp = $(addprefix $(elf-objpfx),interp.os) > endif > csu-objpfx = $(common-objpfx)csu/ >--- libc/signal/Makefile 2010-05-19 22:38:20.000000000 +0200 >+++ libc/signal/Makefile 2010-09-10 17:52:32.000000000 +0200 >@@ -49,3 +49,4 @@ > CFLAGS-sigtimedwait.c = -fexceptions -fasynchronous-unwind-tables > CFLAGS-sigwait.c = -fexceptions -fasynchronous-unwind-tables > CFLAGS-sigwaitinfo.c = -fexceptions -fasynchronous-unwind-tables >+CFLAGS-sigaction.o = -nopie
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 283470
:
223227
|
242993
|
247070
|
260620
|
261195
|
261197
|
261199
|
261200
|
264219
|
280985
|
280987
|
280989