Thanks for your answers, Jeff and Dossy.
> Just do 'rename unsafeCmd {}'. There is no need to do it at the C level.
Yes, I already rename some commands to "" / {} nirvana :-)
Thinking about it I think it is reasonably secure, the only command that I
don't know how to deal with so far is "info", as it is called with "info
procs", "info body" (...) in "namespace.tcl" and I need the "info exists"
part by myself.
Btw: Would it be possible and/or make sense to byte-compile _everything_? Just
thought about it when examining the line
#catch { set fh [open init_interp_code.tcl w] ; puts $fh $init ; close $fh }
in namespace.tcl, proc _ns_getinit.
Somebody ever tried this?
Bernd.