Aliasing text and data segments of a process
    Doug Gwyn  
    gwyn at brl-smoke.ARPA
       
    Sat Jan 30 07:42:50 AEST 1988
    
    
  
In article <246 at vcvax1.UUCP> naren at vcvax1.UUCP (naren) writes:
>	Now, if you REALLY want to do this, you could write a new system call 
>like mktext(vaddr, length)...
In case it isn't obvious to everyone, the reason why this can be done is that
the operating system kernel has special privileges and can therefore shuffle
around virtual->physical address mappings and associated attributes, but an
ordinary user-mode process cannot do this itself.  That's why IPC via shared
memory requires kernel support, for example.
    
    
More information about the Comp.unix.wizards
mailing list