diff options
author | Eli Zaretskii <[email protected]> | 2008-04-05 15:26:10 +0000 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2008-04-05 15:26:10 +0000 |
commit | aa08d1ff92a8f16eb449353d6159d4ff682b8d13 (patch) | |
tree | aa1b8c549db17669013471ff7ae40f65265745bf | |
parent | c902c8a7813df3c9b4f78e4e361d23d480ca234d (diff) |
(init_user_info): Don't restrict UID and GID to 0-60000 range.
-rw-r--r-- | nt/ChangeLog | 2 | ||||
-rw-r--r-- | src/ChangeLog | 1 | ||||
-rw-r--r-- | src/w32.c | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 4eda6f02d8..0c5e837c89 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,5 +1,7 @@ 2008-04-05 Eli Zaretskii <[email protected]> + * inc/sys/stat.h: New file. + * configure.bat: Add check for usp10.h. 2008-04-04 Jason Rumney <[email protected]> diff --git a/src/ChangeLog b/src/ChangeLog index 12f3ebe6eb..808a78e41d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -7,6 +7,7 @@ * w32.c (sys_chown, stat, fstat): Use S_* constants instead of _S_* ones, since we now use our own sys/stat.h. (stat, fstat): Don't mangle the inode number. + (init_user_info): Don't restrict UID and GID to 0-60000 range. 2008-04-04 Stefan Monnier <[email protected]> @@ -637,8 +637,6 @@ init_user_info () the_passwd.pw_uid = *get_sid_sub_authority (user_token.User.Sid, n_subauthorities - 1); - /* Restrict to conventional uid range for normal users. */ - the_passwd.pw_uid %= 60001; } /* Get group id */ @@ -656,8 +654,6 @@ init_user_info () the_passwd.pw_gid = *get_sid_sub_authority (group_token.PrimaryGroup, n_subauthorities - 1); - /* I don't know if this is necessary, but for safety... */ - the_passwd.pw_gid %= 60001; } } else |