Changes between Initial Version and Version 1 of Ticket #160


Ignore:
Timestamp:
06/30/07 10:32:07 (12 years ago)
Author:
takkaria
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #160

    • Property Keywords security added; setgid player_egid bug removed
  • Ticket #160 – Description

    initial v1  
    11main.c: The player_egid variable needs to be set for all SET_UID code, not just HAVE_SETEGID. The relevant code should read like this: 
    22 
     3{{{ 
    34#ifdef SET_UID 
    45 
    5         /* Get the user id (?) */ 
    6         player_uid = getuid(); 
     6/* Get the user id (?) */ 
     7player_uid = getuid(); 
    78 
    8         /* Save some info for later */ 
    9         player_egid = getegid(); 
     9/* Save some info for later */ 
     10player_egid = getegid(); 
    1011 
    1112#endif /* SET_UID */ 
    12  
     13}}} 
    1314 
    1415BTW, the comments could also use some cleanup.