RE: [PATCH]forbid ptrace changes psr.ri to 3

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

 



> IA64_PSR_RI is in IPSR_MASK, apparently by intent.  
> If you want to change the behavior, you should simply change that mask.

psr.ri is more complex because it is two bits where not all of the
possible bit settings are defined. We definitely want to allow ptrace
to set psr.ri (how else can we single step through instructions in
a bundle?)  But we should only allow psr.ri to be set to 0, 1, or 2.

I don't see how changing IPSR_MASK can help solve this.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux