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

Re: [MiNT] update:WRITE_BOOT,ALLOW_TRP_CHG



Peter Persson, 04.10.2012 11:38:01:

mint.cnf:
new config-variable: ALLOW_TRP_CHG (default 1): if 0 only kernel-processes
may change sys-vectors using ssytem
new mode to ssystem: S_ALLOW_TRP_CHG (28): change trap-change-mode (arg = 0
or 1).

Just wondering - isn't this already what happens when running with a
high memory prot setting + running a non-priviliged process (i.e.
non-root)?

There is, but:

1. The process would be killed, here the call will just be ignored.

2. There may be other side-effects when you change the prg-flags of the app.

Also, would it make sense to extend this to also include Setexc()?

It is Setexc, not Ssystem (been too long when I implemented this). Ssystem is used to change the behaviour of Setexc.

There will be another patch for XaAES where it can be activated by XaAES so any dirty prgs run before XaAES won't be affected.

--
Helmut Karlowski