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

Re: [MiNT] update:WRITE_BOOT,ALLOW_TRP_CHG



Helmut Karlowski, 06.10.2012 19:28:56:

Jo Even Skarstein, 06.10.2012 18:11:53:

Just a quick question: Does this mean that nothing is changed as long as
ALLOW_TRP_CHG isn't defined in mint.cnf?

Yes. Something for the paranoid ;)

I would not use it atm, because I will probably change it.

It' now as follows:

for MiNT:

refine ALLOW_TRP_CHG:
- change #define to S_SETEXC (mint/ssystem.h)
- possible values for arg in Ssystem(S_SETEXC,arg,0):
 -1: return current setting
  0: deny all
  1: deny trap-changes (numbers 0-15)
  2: allow all (default if not set by user)

vector=-1 (ask value) in Setexc is always allowed.

The name of config-variable for mint.cnf is ALLOW_SETEXC (was ALLOW_TRP_CHG).

for XaAES:

new config-variable:
allow_setexc (default:2)
restrict calls to Setexc by programs started after XaAES.
0: deny all
1: deny trap-changes (numbers 0-15)
2: allow all

--
Helmut Karlowski