gradm -E goes into endless loop

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

gradm -E goes into endless loop

Postby osl74 » Mon Jul 28, 2003 10:03 am

Maybe this is a silly rule, but defining an object rule

/usr/bin/someservice {

/proc/*/exe

}

seems to confuse "gradm -E" - it goes into endless- loop until the gradm- process is killed by the kernel bcs of eating all the memory. Does gradm parse all /proc- directories while self-creating ones and recurse forever ?? Should this be fixed ?

Best regards, Sandro Littke.
osl74
 
Posts: 4
Joined: Mon Jul 28, 2003 9:43 am

Postby spender » Mon Jul 28, 2003 8:44 pm

The only thing I could do is keep you from using any globbing on /proc at all, since it'll never be done legitimately.
Other than glob() just acting strangely, I don't know what in my code could be causing it.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support