[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Rep:Re: Rep:Re: [f-cpu] TLB right + resume



> > > >>> What you think about the idea of tagged page that could 
> > > only be used by tagged read&write instructions (to protect data page of 
> > > the kernel and return stack write) ?
 
> > I'm afraid that will help only if you compile all your 
> > binaries yourself (otherwise, they might contain "trojan writes").
 
> Surely it would be a simple matter in software to search through
> executables looking for the op-codes of illegal instructions before
> execution?

In that case you will loose less time by enabling a trap handler on this 
particular instructions and waiting to trap, than to always scan the binary.
But currently in the F-CPU only one instruction need this : PUT, and perhaps 
GET.

Cedric
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/