“Armin Steinhoff” <a-steinhoff@web.de> wrote in message
news:asl177$jor$1@inn.qnx.com…
Ian Zagorskih wrote:
“Armin Steinhoff” <> a-steinhoff@web.de> > wrote in message
[ clip …]An other ‘bomb’ is running a process at a high FIFO prioriy in a simple
‘while(1);’ loop >
Hmm… AFAIU it’s not allowed to raise process priority above some
default
user level for non-root applications.Not allowed ? Tell this to the hackers >
As a practice shows, non-root user may raise it’s priority in QNX4 up to 19
which is IMHO more then enough to make some significant troubles for the
whole system. For example:
main() {
setprio(0, 19);
for (; fork();
}
…almost kills it.
// wbr