Re: feature to dump audit logs in vmcore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > Given that those 3 members are all pointer types, you could just use
> > > "sizeof(void *)" for the readmem() calls, as is done throughout the
> > > crash code.  Note that there are not any MEMBER_SIZE_INIT() callers
> > > for structure members that are known, guaranteed, pointer values.
> >
> > I'm doing this considering x86 build as x86_64 binary where pointer size
> > differs, or is this unnecessary for such x86 build? Sorry, I didn't test
> > x86 build as x86_64 binary.
> 
> With "make target=x86", crash is built with -m32 to create a 32-bit x86 binary
> that runs on an x86_64 host, so kernel pointer sizes will always be the same
> as the crash binary.

I was confused this.

I made the 2nd version of the patch and reflected your comments in it.
Could you review this?

Thanks.
HATAYAMA, Daisuke

Attachment: 0001-Add-a-feature-to-dump-audit-logs-in-log-command-as-a.patch
Description: 0001-Add-a-feature-to-dump-audit-logs-in-log-command-as-a.patch

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux