Re: Try getting file-ids from memory when possible, and fallback to reading files otherwise (issue 586002)

0 views
Skip to first unread message

ted.mie...@gmail.com

unread,
Jun 6, 2013, 3:55:27 PM6/6/13
to glan...@gmail.com, google-br...@googlegroups.com, re...@breakpad-hr.appspotmail.com
Just one comment, otherwise LGTM.


https://breakpad.appspot.com/586002/diff/1/src/client/linux/minidump_writer/linux_dumper.cc
File src/client/linux/minidump_writer/linux_dumper.cc (right):

https://breakpad.appspot.com/586002/diff/1/src/client/linux/minidump_writer/linux_dumper.cc#newcode106
src/client/linux/minidump_writer/linux_dumper.cc:106: size_t size =
getpagesize();
This should probably be using sys_sysconf(_SC_PAGESIZE) to avoid glibc.

https://breakpad.appspot.com/586002/

ted.mie...@gmail.com

unread,
Jun 13, 2013, 8:52:37 AM6/13/13
to glan...@gmail.com, vap...@chromium.org, google-br...@googlegroups.com, re...@breakpad-hr.appspotmail.com

https://breakpad.appspot.com/586002/diff/1/src/client/linux/minidump_writer/linux_dumper.cc
File src/client/linux/minidump_writer/linux_dumper.cc (right):

https://breakpad.appspot.com/586002/diff/1/src/client/linux/minidump_writer/linux_dumper.cc#newcode106
src/client/linux/minidump_writer/linux_dumper.cc:106: size_t size =
getpagesize();
The comments about avoiding glibc were mostly about our
dynamic-linker-avoidance in the crashed process in general, so
sys_sysconf would be the syscall implementation from
linux_syscall_support.

https://breakpad.appspot.com/586002/
Reply all
Reply to author
Forward
0 new messages