vga_norevokeprivs - Man Page
Keep root privileges if run as suid root.
Synopsis
#include <vga.h>
int vga_norevokeprivs(void);
Description
Calling this function prevents svgalib from revoking root privileges and returning to the uid of the user running the program. Usually svgalib revokes privileges at vga_init(3) time, so vga_norevokeprivs needs to be called before vga_init .
Author
This manual page written by Matan Ziv-Av <matan@svgalib.org>.
Info
9 September 2004 Svgalib (>= 1.9.20) Svgalib User Manual