Skip to content

Instantly share code, notes, and snippets.

# undef mmap
extern "C" {
void* mmap64(void *start, size_t length, int prot, int flags,
int fd, __off64_t offset ) __THROW
ATTRIBUTE_SECTION(malloc_hook);
void* mmap(void *start, size_t length,int prot, int flags,
int fd, off_t offset) __THROW
ATTRIBUTE_SECTION(malloc_hook);
int munmap(void* start, size_t length) __THROW
// Copyright (c) 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above

Keybase proof

I hereby claim:

  • I am mtottenh on github.
  • I am mtottenh (https://keybase.io/mtottenh) on keybase.
  • I have a public key ASC1mXMbK_dRaI5LG0ZPBEJSduZB3x2tveJHyBRTIuvLsAo

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
 * Package: dev-python/pypy3-exe-7.3.0
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE: abi_x86_64 amd64 bzip2 elibc_musl jit kernel_linux ncurses userland_GNU
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Checking for at least 6 GiB RAM ...
 [ ok ]
* Using python2 to perform the translation. Please note that upstream
* recommends using PyPy for that. If you wish to do so, please install
* dev-python/pypy and ensure that EPYTHON variable is unset.