1vga_norevokeprivs(3) Svgalib User Manual vga_norevokeprivs(3)
2
3
4
6 vga_norevokeprivs - Keep root privileges if run as suid root.
7
9 #include <vga.h>
10
11 int vga_norevokeprivs(void);
12
13
15 Calling this function prevents svgalib from revoking root privileges
16 and returning to the uid of the user running the program. Usually
17 svgalib revokes privileges at vga_init(3) time, so vga_norevokeprivs
18 needs to be called before vga_init .
19
20
22 This manual page written by Matan Ziv-Av <matan@svgalib.org>.
23
24
25
26Svgalib (>= 1.9.20) 9 September 2004 vga_norevokeprivs(3)