Niklaus <niklaus@xxxxxxxxx> writes: > The below program takes a long time to compile (in minutes). I 've > these small indiviudal .c/.cpp files which i have to compile and > execute. The problem is with rouge "/dev/random or /dev/urandom". > Solutions like limit the process execution time of gcc is not > appealing. > > Can we restrict the paths from which gcc includes the header files. > Can we tell gcc on a command line parameters/makefile to not include > anything from "/dev" ? If possible how to do it ? > Removing read access on those devices are not possible. I have to say that I think you're trying to fix this problem at entirely the wrong level. Ian