[En-Nut-Discussion] arm port (RFC: Changing ARM mode)

Adam Dybkowski adybkows at wp.pl
Thu Jan 15 00:27:21 CET 2009


Thiago A. Corrêa pisze:

>> Running user applications in user mode will improve security but also
> 
> Well, that is true for a real operating system, but Nut/OS is actually
> just a library.
> If something goes wrong, there is no "killing the offending application".
> It might solve some other problem though, not sure.

Doing just a simple CPU reset in an exception handler will be better 
than fighting with strange program execution. For example if you run a 
Nut/OS based web server with complex cgi and can't imagine what remote 
users could write in forms - reset (maybe with writing to log file 
before) seems to be a good solution.

-- 
Adam Dybkowski
		adybkows at wp.pl
		http://dybkowski.net/


More information about the En-Nut-Discussion mailing list