Displaying 16 results from an estimated 16 matches for "page_readon".
Did you mean:
  page_readonly
  
2001 Dec 12
3
Bug in PE_LoadImage/map_image? [Was: VirtualProtect and app crash]
...otections that were placed on the 
executable image just after it was loaded, and just before the app starts.
Here is what wine shows:
View: 0x400000 - 0x765fff 28
       0x400000 - 0x765fff c-rw-
Here is what WinDbg shows (manually edited to look like the wine view):
0x400000 - 0x400fff c-r-- (PAGE_READONLY)
0x401000 - 0x454fff c--W- (PAGE_WRITECOPY)
0x455000 - 0x455fff c-rw- (PAGE_READWRITE)
0x456000 - 0x457fff c--W- (PAGE_WRITECOPY)
0x458000 - 0x458fff c-rw- (PAGE_READWRITE)
0x459000 - 0x459fff c-r-- (PAGE_READONLY)
0x45a000 - 0x758fff c--W- (PAGE_WRITECOPY)
0x759000 - 0x75afff c-r-- (PAGE_READONL...
2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
...size_ptr = [0].pack(''Q'')
    unless GetFileSizeEx(handle, size_ptr)
       raise get_last_error
    end
    if size_ptr.unpack(''Q'')[0] <= 0
       raise ''file size must be greater than zero''
    end
    map = CreateFileMapping(handle, nil, PAGE_READONLY, 0, 1, nil)
    final_path = nil
    if map && map > 0
       pmem = MapViewOfFile(map, FILE_MAP_READ, 0, 0, 1)
       if pmem
          begin
             buf = 0.chr * MAXPATH
             # Buf will contain the full path, but with the device name instead
             # of the dri...
2006 Aug 28
0
"Bus Error" Under Mac OS X x86 with Wine 0.9.20
...heap+16638052>:       0x00000000
(gdb) print peb
$1 = (PEB *) 0x7ffde000
dlls/ntdll/thread.c:220-228 has this:
    /* reserve space for shared user data */
    addr = (void *)0x7ffe0000;
    size = 0x10000;
    NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size,
MEM_RESERVE, PAGE_READONLY );
    /* allocate and initialize the PEB */
    addr = NULL;
    size = sizeof(*peb);
    NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 1, &size,
                             MEM_COMMIT | MEM_TOP_DOWN, PAGE_READWRITE );
    peb = addr;
    peb->NumberOfProcessors = 1;
At thi...
2011 Sep 03
1
Patch to build hivex lib on Windows
Hi
I'm just posting this here in case someone is interested in building 
hivex on Windows (mingw32). The attached patch allows building the lib 
but not the tools (hivexsh etc..) as there are some more problems to solve.
In short terms, this patch replaces file i/o functions and mmap(), 
munmap() with their win32api pendants.
cu
-- 
Unix _IS_ user friendly - it's just
selective about
2001 Dec 11
0
VirtualProtect and app crash: what's your interpretation?
...0075FD53                 cmp     eax, [ebp-4]
0075FD56                 jbe     short loc_75FD95
;
; This is the last VirtualProtect call.
; base address = esi + *(long *)dword_75D728
;              = 0x459000
; size = *(long *)75D6B0
;      = 0x18
; new = the return value of sub_75FC23
;     = 2 = PAGE_READONLY
; oldptr = ?
;
0075FD58                 lea     eax, [ebp-4]
0075FD5B                 push    eax
0075FD5C                 push    dword ptr [ebp-4]
0075FD5F                 push    dword_75D704
0075FD65                 call    sub_75FC23
0075FD6A                 add     esp, 8
0075FD6D...
2005 Jun 15
2
x86_64 - Dom0 will not boot on EMT64
I am unable to boot Dom0 on my IBM eServer BladeCenter HS20, type 8843,
EMT64 blades. I have read reports that Dom0 boots on Opteron boxes, but
on my EMT64 blades, it does not. Has anyone else encountered this
problem on EMT64 hardware?
Here are the errors I am getting:
This is on a SLES 9 box, gcc version 3.3.3 (SuSE Linux):
kernel (hd0,0)/boot/xen.gz  dom0_mem=256000 com2=19200,8n1
2008 Oct 20
13
[PATCH 00/13] ia64/pv_ops, xen: more paravirtualization.
This patchset is for more paravirtualization on ia64/pv_ops.
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S) by multi compile
- support save/restore
  For this purpose, the followings needs to be paravirtualized
  - ar.itc instruction 
  - sched_clock()
  This is because timer may changed before/after saving/restoring.
For convenience the working full
2008 Oct 20
13
[PATCH 00/13] ia64/pv_ops, xen: more paravirtualization.
This patchset is for more paravirtualization on ia64/pv_ops.
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S) by multi compile
- support save/restore
  For this purpose, the followings needs to be paravirtualized
  - ar.itc instruction 
  - sched_clock()
  This is because timer may changed before/after saving/restoring.
For convenience the working full
2008 Nov 25
13
[PATCH 00/13] ia64/pv_ops, xen: more paravirtualization. TAKE 2
This patchset is for more paravirtualization on ia64/xen domU.
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S) by multi compile
- support save/restore
  For this purpose, the followings needs to be paravirtualized
  - ar.itc instruction 
  - sched_clock()
  This is because timer may changed before/after saving/restoring.
For convenience the working full
2008 Nov 25
13
[PATCH 00/13] ia64/pv_ops, xen: more paravirtualization. TAKE 2
This patchset is for more paravirtualization on ia64/xen domU.
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S) by multi compile
- support save/restore
  For this purpose, the followings needs to be paravirtualized
  - ar.itc instruction 
  - sched_clock()
  This is because timer may changed before/after saving/restoring.
For convenience the working full
2009 Mar 04
15
[PATCH 00/15] ia64/pv_ops, xen: more paravirtualization. TAKE 5
This patch set is for the next merge window.
They are just enhancements of the already merged patches or ia64
porting from x86 paravirt techniques and that their quality is enough
for merge.
This patch set is for more paravirtualization on ia64/xen domU.
This patch set does
- remove existing warnings
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S) by multi
2009 Mar 04
15
[PATCH 00/15] ia64/pv_ops, xen: more paravirtualization. TAKE 5
This patch set is for the next merge window.
They are just enhancements of the already merged patches or ia64
porting from x86 paravirt techniques and that their quality is enough
for merge.
This patch set is for more paravirtualization on ia64/xen domU.
This patch set does
- remove existing warnings
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S) by multi
2008 Dec 12
15
[PATCH 00/15] ia64/pv_ops, xen: more paravirtualization. TAKE 3
This patch set is intended for the next merge window. They are just
enhancements of the already merged patches or ia64 porting from x86
paravirt techniques and that their quality is enough for merge.
This patch set is for more paravirtualization on ia64/xen domU.
This patch set does
- remove existing warnings
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S)
2008 Dec 12
15
[PATCH 00/15] ia64/pv_ops, xen: more paravirtualization. TAKE 3
This patch set is intended for the next merge window. They are just
enhancements of the already merged patches or ia64 porting from x86
paravirt techniques and that their quality is enough for merge.
This patch set is for more paravirtualization on ia64/xen domU.
This patch set does
- remove existing warnings
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S)
2008 Dec 22
15
[PATCH 00/15] ia64/pv_ops, xen: more paravirtualization. TAKE 4
This patch set is intended for the next merge window. They are just
enhancements of the already merged patches or ia64 porting from x86
paravirt techniques and that their quality is enough for merge.
This patch set is for more paravirtualization on ia64/xen domU.
This patch set does
- remove existing warnings
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S)
2008 Dec 22
15
[PATCH 00/15] ia64/pv_ops, xen: more paravirtualization. TAKE 4
This patch set is intended for the next merge window. They are just
enhancements of the already merged patches or ia64 porting from x86
paravirt techniques and that their quality is enough for merge.
This patch set is for more paravirtualization on ia64/xen domU.
This patch set does
- remove existing warnings
- paravirtualize fsys call (fsys.S) by multi compile
- paravirtualize gate page (gate.S)