Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86696 Details for
Bug 131779
QA_TEXTRELS support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds QA_WX_LOAD to scanelf for the PT_LOAD W|X check
pax-utils-qa_wx_load.patch (text/plain), 1.17 KB, created by
Kevin F. Quinn (RETIRED)
on 2006-05-13 06:04:08 UTC
(
hide
)
Description:
Adds QA_WX_LOAD to scanelf for the PT_LOAD W|X check
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-05-13 06:04:08 UTC
Size:
1.17 KB
patch
obsolete
>Index: scanelf.c >=================================================================== >RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v >retrieving revision 1.143 >diff -u -r1.143 scanelf.c >--- scanelf.c 11 May 2006 05:44:22 -0000 1.143 >+++ scanelf.c 13 May 2006 12:40:36 -0000 >@@ -84,6 +84,7 @@ > > static char **qa_textrels = NULL; > static char **qa_execstack = NULL; >+static char **qa_wx_load = NULL; > > int match_bits = 0; > caddr_t ldcache = 0; >@@ -287,9 +288,11 @@ > } else if (EGET(phdr[i].p_type) == PT_LOAD) { \ > if (ehdr->e_type == ET_DYN || ehdr->e_type == ET_EXEC) \ > if (multi_load++ > max_pt_load) warnf("%s: more than %i PT_LOAD's !?", elf->filename, max_pt_load); \ >- found = found_load; \ >- offset = 8; \ >- check_flags = PF_W|PF_X; \ >+ if (!file_matches_list(elf->filename, qa_wx_load)) {\ >+ found = found_load; \ >+ offset = 8; \ >+ check_flags = PF_W|PF_X; \ >+ } else continue; \ > } else \ > continue; \ > flags = EGET(phdr[i].p_flags); \ >@@ -1870,6 +1873,7 @@ > static void parseenv() { > qa_textrels=get_split_env("QA_TEXTRELS"); > qa_execstack=get_split_env("QA_EXECSTACK"); >+ qa_wx_load=get_split_env("QA_WX_LOAD"); > } > >
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 131779
:
85819
|
85820
|
85978
|
85979
|
86077
|
86079
|
86099
|
86124
|
86246
|
86247
|
86248
|
86249
|
86470
|
86474
|
86667
|
86668
| 86696 |
86697
|
86698
|
86699
|
87360
|
87361
|
87405