aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-08-22 22:32:41 +0000
committerBrian Feldman <green@FreeBSD.org>1999-08-22 22:32:41 +0000
commit0337663160e0b6276e9e8550d36cbd5593e7d2cd (patch)
tree38ddb76db6130bbb7dada92f832891461142b3c0 /bin
parent63b584e7b83ccf704849307105371e40f2f4fe20 (diff)
downloadsrc-0337663160e0b6276e9e8550d36cbd5593e7d2cd.tar.gz
src-0337663160e0b6276e9e8550d36cbd5593e7d2cd.zip
Make a comment I added a bit nicer.
Notes
Notes: svn path=/head/; revision=50189
Diffstat (limited to 'bin')
-rw-r--r--bin/test/test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index e44f94bd28e3..a6aa4f11f6b9 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -12,7 +12,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: test.c,v 1.24 1999/08/18 00:18:52 green Exp $";
+ "$Id: test.c,v 1.25 1999/08/20 16:19:26 green Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -172,7 +172,8 @@ main(argc, argv)
/*
* We need to set our real user and group so that when we call
- * access(2), it won't possibly return incorrect results.
+ * access(2), it actually reflects our effective credentials,
+ * not the real credentials it wants to use.
*/
(void)setgid(getegid());
(void)setuid(geteuid());