Changes between Initial Version and Version 1 of Ticket #40644, comment 10


Ignore:
Timestamp:
Sep 16, 2015, 12:44:48 PM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40644, comment 10

    initial v1  
    1 Your [https://trac.macports.org/attachment/ticket/48816/patch-sudo.c.diff patch attached to #48816] removes setuid(), which means the real uid of the target will not be set, only the effective uid will be changed. This is not the desired behavior. The seteuid() should be removed, as in [http://www.sudo.ws/repos/sudo/rev/10202 this upstream change].
     1Your [attachment:ticket:48816:patch-sudo.c.diff patch attached to #48816] removes setuid(), which means the real uid of the target will not be set, only the effective uid will be changed. This is not the desired behavior. The seteuid() should be removed, as in [http://www.sudo.ws/repos/sudo/rev/10202 this upstream change].
    22
    33Upstream report: http://bugzilla.sudo.ws/show_bug.cgi?id=713