ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/proxy.C
(Generate patch)

Comparing rxvt-unicode/src/proxy.C (file contents):
Revision 1.7 by root, Mon Feb 12 17:34:58 2007 UTC vs.
Revision 1.8 by root, Thu Aug 2 13:54:17 2007 UTC

319{ 319{
320 sanitise_stdfd (); 320 sanitise_stdfd ();
321 321
322 uid_t uid = getuid (); 322 uid_t uid = getuid ();
323 gid_t gid = getgid (); 323 gid_t gid = getgid ();
324 324
325 // before doing anything else, check for setuid/setgid operation, 325 // before doing anything else, check for setuid/setgid operation,
326 // start the helper process and drop privileges 326 // start the helper process and drop privileges
327 if (uid != geteuid () 327 if (uid != geteuid ()
328 || gid != getegid ()) 328 || gid != getegid ())
329 { 329 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines