commit | 169a55a0e8e8aacf4f9998ae00d749e447ac3f51 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Google) <rostedt@goodmis.org> | Wed Dec 21 13:46:56 2022 -0500 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Tue Jan 03 16:45:14 2023 -0500 |
tree | 89c9bb416d81704de2a1613a70c5bd789c435d72 | |
parent | 8be5640ff4e64ca07b9c711afc0af89c958ed4f2 [diff] |
libtraceevent: Make sure 32 bit work on 64 bit file systems As stat() can overflow if a 32 bit user space reads a file on a file system that has inodes greater than MAX_INT. Compile with _FILE_OFFSET_BITS=64 that mitigates this problem on 32 bit user space. Link: https://lore.kernel.org/linux-trace-devel/20221221134656.79589e83@gandalf.local.home Reported-by: Mike Frysinger <vapier@google.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>