Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 768081 Details for
Bug 836329
dev-util/crash fails to open vmlinux images from recent kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fix 'cannot resolve "sys_open"' in dev-util/crash-8.0.0 on x86
crash-patch.txt (text/plain), 848 bytes, created by
Pierre Asselin
on 2022-03-28 16:21:35 UTC
(
hide
)
Description:
Fix 'cannot resolve "sys_open"' in dev-util/crash-8.0.0 on x86
Filename:
MIME Type:
Creator:
Pierre Asselin
Created:
2022-03-28 16:21:35 UTC
Size:
848 bytes
patch
obsolete
>--- x86.c.orig 2022-03-27 15:38:55.520744910 -0400 >+++ x86.c 2022-03-27 17:04:14.099323650 -0400 >@@ -4482,12 +4482,18 @@ x86_omit_frame_pointer(void) > { > ulonglong push_bp_mov_esp_bp; > int i; >- char *checkfuncs[] = {"sys_open", "sys_fork", "sys_read"}; >+ char *checkfuncs[] = { >+ "sys_open", "sys_fork", "sys_read" >+ "__ia32_sys_open", "__ia32_sys_fork", "__ia32_sys_read" >+ }; > > if (pc->flags & KERNEL_DEBUG_QUERY) > return FALSE; > > for (i = 0; i < 2; i++) { >+ if(!kernel_symbol_exists(checkfuncs[i])) >+ continue; >+ > if (!readmem(symbol_value(checkfuncs[i]), KVADDR, > &push_bp_mov_esp_bp, sizeof(ulonglong), > "x86_omit_frame_pointer", RETURN_ON_ERROR))
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 Raw
Actions:
View
Attachments on
bug 836329
: 768081