Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-08-02 15:14:35 +0400
committerCorinna Vinschen <corinna@vinschen.de>2002-08-02 15:14:35 +0400
commit32c803daa29eaa1b0a03ec844fd36a22e8898629 (patch)
tree0f5bdb098bfe0474deac9a1ee3605d107a7090e3 /winsup/utils
parent23d93d8db713189abb9616332ef77837a0e6c808 (diff)
* mkgroup.c (main): Don't print an entry for "Everyone".
* mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user. (main): Don't print an entry for "Everyone".
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog6
-rw-r--r--winsup/utils/mkgroup.c3
-rw-r--r--winsup/utils/mkpasswd.c10
3 files changed, 15 insertions, 4 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 1af2b10f8..0833bc389 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * mkgroup.c (main): Don't print an entry for "Everyone".
+ * mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user.
+ (main): Don't print an entry for "Everyone".
+
2002-07-06 Christopher Faylor <cgf@redhat.com>
* configure.in: Check for libiconv.a.
diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c
index 666fdec7e..1f637890d 100644
--- a/winsup/utils/mkgroup.c
+++ b/winsup/utils/mkgroup.c
@@ -567,11 +567,14 @@ main (int argc, char **argv)
return 1;
}
+#if 0
/*
* Get `Everyone' group
*/
print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID,
0, 0, 0, 0, 0, 0, 0);
+#endif
+
/*
* Get `system' group
*/
diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c
index 63a81aabd..b324cb6ba 100644
--- a/winsup/utils/mkpasswd.c
+++ b/winsup/utils/mkpasswd.c
@@ -386,7 +386,7 @@ print_special (int print_sids,
else
rid = sub1;
printf ("%s:*:%lu:%lu:%s%s::\n",
- name, rid, rid,
+ name, rid, rid == 18 ? 544 : rid, /* SYSTEM hack */
print_sids ? "," : "",
print_sids ? put_sid (sid) : "");
}
@@ -573,13 +573,15 @@ main (int argc, char **argv)
return 1;
}
- /*
- * Get `Everyone' group
- */
if (disp_username == NULL)
{
+#if 0
+ /*
+ * Get `Everyone' group
+ */
print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID,
0, 0, 0, 0, 0, 0, 0);
+#endif
/*
* Get `system' group
*/