Skip to content

Commit

Permalink
Fix lseek() offset on /proc/pid/mem with 64 bit kernel and 32 bit use…
Browse files Browse the repository at this point in the history
…rspace
  • Loading branch information
mkozlowski committed Jul 31, 2023
1 parent f5ca27c commit 0562e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

#define _GNU_SOURCE
#define _FILE_OFFSET_BITS 64

#include <stdio.h>
#include <sys/types.h>
Expand Down

0 comments on commit 0562e44

Please sign in to comment.