Does Windows 2003 change the security strategy of shared memory?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all,
First some description.
A service which use the shared memory. The service use SYSTEM user.
So we could attach the shared memory using the shmid( the same as UNIX ). Under Windows 2000, it's OK to attach the shared memory the service created.
But under Windows 2003, it's not possiable to attach the shared memory even using "administrator". But if I stoped the service and started the service using command line, then I can attach the shared memory.
So what I thought is Windows 2003 has changed the security strategy. Sure?


  Thanks a lot.

Flybean
.



Relevant Pages

  • Re: Is shmdt() necessary?
    ... When using shared memory, one process usually attaches to the shared ... memory by calling shmat, and will detach from it before it exits, by ... attach number if one process ends without calling shmdt. ... Some people find it more elegant to explicitly detach everything they ...
    (comp.os.linux.development.system)
  • Multiple links to shared memory segments
    ... got a few objects that each need to attach to the same shared memory ... shared memory segment to to the memory architecture. ... I'd like to stay away from creating global pointers for the obvious ...
    (comp.sys.hp.hpux)
  • Re: Multiple links to shared memory segments
    ... |got a few objects that each need to attach to the same shared memory ... I'm using the POSIX shm_openand mmap() functions. ... |shared memory segment to to the memory architecture. ...
    (comp.sys.hp.hpux)
  • Re: Non contiguous Virtual Memory
    ... > There is no need to attach or detach from the shared memory. ... > You will just slide the view over the same section. ... Windows shared memory concept so excuse me if I am asking any silly question ...
    (microsoft.public.win32.programmer.kernel)
  • Re: inconnectivity between windows ce and eCos
    ... I think that what you want is to know how to manage the shared memory. ... For the Windows CE CPU and your applications, you just need to make the ... > processor windows ce is running and in other processor eCOS is running, ... >> devices that happen to be running different operating systems? ...
    (microsoft.public.windowsce.platbuilder)