search for: drealprog

Displaying 1 result from an estimated 1 matches for "drealprog".

Did you mean: realprog
1997 May 26
1
an anti-overflow wrapper
...atch all environment variables passed to the program. * * Sample: * * /usr/X11R6/bin/xterm argv 1024 * /usr/X11R6/bin/xterm $HOME 1024 * /usr/X11R6/bin/xterm $* 2048 * * To wrap, e.g., xterm, move /usr/X11R6/bin/xterm to * /usr/X11R6/bin/xterm.wrapped, compile this wrapper by typing * cc -DREALPROG=\"/usr/X11R6/bin/xterm\" wrapper.c -o xterm, * and move it to /usr/X11R6/bin/xterm. Don''t forget to remove * the suid bits from the wrapped program and to add them to the * wrapper! * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include &...