4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-23 15:40:14 +08:00
Corinna Vinschen 2b0a111fcf * fork.cc (fork): Eliminate superfluous call to getuid().
* security.h: New define `NO_SID'. Remove declarations of functions
        moved to methods into class cygsid.
        (class cygsid): Declare new methods `getfromstr', `get_sid',
        `getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string'
        and new constructors and operators =, == and !=.
        Declare new global cygsids `well_known_XXX_sid' substituting the
        corresponding `get_XXX_sid' functions. Remove declarations of
        these functions.
        * sec_helper.cc (well_known_admin_sid): New global variable.
        (well_known_system_sid): Ditto
        (well_known_creator_owner_sid): Ditto
        (well_known_world_sid): Ditto
        (cygsid::string): New method, substituting `convert_sid_to_string_sid'.
        (cygsid::get_sid): New method, substituting `get_sid'.
        (cygsid::getfromstr): New method, substituting
        `convert_string_sid_to_sid'.
        (cygsid::getfrompw): New method, substituting `get_pw_sid'.
        (cygsid::getfromgr): New method, substituting `get_gr_sid'.
        (cygsid::get_id): New method, substituting `get_id_from_sid'.
        (get_admin_sid): Eliminated.
        (get_system_sid): Ditto.
        (get_creator_owner_sid): Ditto.
        (get_world_sid): Ditto.
        * grp.cc: Use new cygsid methods and well known sids throughout.
        * registry.cc: Ditto.
        * sec_acl.cc: Ditto.
        * security.cc: Ditto.
        * shared.cc: Ditto.
        * syscalls.cc (seteuid): Ditto. Eliminate redundant conditional.
        * uinfo.cc (internal_getlogin): Ditto.
        * spawn.cc (spawn_guts) Revert previous patch.
2001-05-15 19:23:31 +00:00
..
2000-10-28 05:41:44 +00:00
2000-02-17 19:38:33 +00:00
2000-02-21 03:18:37 +00:00
2001-03-26 01:16:11 +00:00
2000-10-28 05:41:44 +00:00
2000-02-17 19:38:33 +00:00
2001-05-11 03:27:22 +00:00
2000-11-19 04:58:18 +00:00
2001-03-18 03:34:05 +00:00
2001-05-09 20:22:35 +00:00
2001-03-11 16:46:28 +00:00
2000-02-17 19:38:33 +00:00
2001-03-18 03:34:05 +00:00
2000-10-19 03:12:44 +00:00
2001-04-29 02:54:36 +00:00
2000-02-17 19:38:33 +00:00
2001-04-29 02:54:36 +00:00
2001-05-04 21:09:47 +00:00
2000-02-17 19:38:33 +00:00
2000-08-18 19:51:02 +00:00
2000-09-03 04:16:35 +00:00
2001-04-12 04:04:53 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2001-05-04 21:09:47 +00:00
2001-03-07 17:45:03 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:31 +00:00
2001-03-18 21:11:25 +00:00
2000-07-19 17:42:16 +00:00