Skip to content
  • Nick Mathewson's avatar
    madvise: tolerate EINVAL and ENOSYS · 52342327
    Nick Mathewson authored
    These errors can occur if we are built on a system with support for
    madvise(MADV_NOFORK) but then we are run on a system whose kernel
    does not support that flag.
    
    If the error is something that we don't tolerate at all, we now log
    it before crashing.
    
    Fixes bug 31570.  I am calling this a bugfix on 0.4.1.1-alpha, where
    we actually started using the map_anon code.
    52342327