Re: Search path directory limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nik,

> Can we restrict the paths from which gcc includes the header files.

No, I do not believe anyone has added that kind of functionality to the
preprocessor.

If you want, you can submit a patch to cpp with that feature.

> Can we  tell gcc on a command line parameters/makefile to not include anything
from "/dev" ?

No, I do not believe anyone has added that kind of functionality to GNU Make
or GCC.

If you want, you can submit a patch to GCC and/or GNU Make with that
feature.

> Removing read access on those devices are not possible.

Depends on the operating system.  Using ACLs I was able to prohibit myself
from accessing /dev/random.  I probably could prohibit myself by chmod'ing
the UGO bits.  Also consider chroot (or jail), quotas and ulimit.

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux