public static int mprotect (IntPtr start, ulong len, MmapProts prot) { throw new System.NotImplementedException(); }
private static extern IntPtr mmap64_posix(IntPtr start, UIntPtr length, MmapProts prot, MmapFlags flags, int fd, long offset);
public static IntPtr mmap (IntPtr start, ulong length, MmapProts prot, MmapFlags flags, int fd, long offset) { throw new System.NotImplementedException(); }
private static extern int ToMmapProts (Int32 value, out MmapProts rval);
public static extern int remap_file_pages (IntPtr start, ulong size, MmapProts prot, long pgoff, MmapFlags flags);
private static int ToMmapProts (Int32 value, out MmapProts rval) { throw new System.NotImplementedException(); }
public static bool TryFromMmapProts (MmapProts value, out Int32 rval) { return FromMmapProts (value, out rval) == 0; }
private static extern int FromMmapProts(MmapProts value, out Int32 rval);
public static bool TryFromMmapProts(MmapProts value, out Int32 rval) { return(FromMmapProts(value, out rval) == 0); }
public static int mprotect(IntPtr start, ulong len, MmapProts prot) { throw new System.NotImplementedException(); }
public static int remap_file_pages(IntPtr start, ulong size, MmapProts prot, long pgoff, MmapFlags flags) { throw new System.NotImplementedException(); }
public static IntPtr mmap(IntPtr start, ulong length, MmapProts prot, MmapFlags flags, int fd, long offset) { throw new System.NotImplementedException(); }
public static bool Reprotect(IntPtr address, ulong size, MemoryProtection protection) { MmapProts prot = GetProtection(protection); return(Syscall.mprotect(address, size, prot) == 0); }
public static extern IntPtr mmap(IntPtr start, ulong length, MmapProts prot, MmapFlags flags, int fd, long offset);
public static int remap_file_pages (IntPtr start, ulong size, MmapProts prot, long pgoff, MmapFlags flags) { throw new System.NotImplementedException(); }
private static extern int ToMmapProts(Int32 value, out MmapProts rval);
private static int FromMmapProts (MmapProts value, out Int32 rval) { throw new System.NotImplementedException(); }
public static bool TryToMmapProts(Int32 value, out MmapProts rval) { return(ToMmapProts(value, out rval) == 0); }
private static extern int FromMmapProts (MmapProts value, out Int32 rval);
public static extern IntPtr mmap(IntPtr start, UIntPtr length, MmapProts prot, MmapFlags flags, int fd, IntPtr offset);
public static Int32 FromMmapProts (MmapProts value) { Int32 rval; if (FromMmapProts (value, out rval) == -1) ThrowArgumentException (value); return rval; }
private static extern int mprotect(IntPtr start, IntPtr len, MmapProts prot);
public static bool TryToMmapProts (Int32 value, out MmapProts rval) { return ToMmapProts (value, out rval) == 0; }
public static extern int mprotect (IntPtr start, ulong len, MmapProts prot);