diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-31 16:26:37 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-31 16:26:37 +0000 |
| commit | 3b7e5ccc6a8fbd9da28696a3e98a648883a33af2 (patch) | |
| tree | ab53d2e577c98daad47ff99c85bf950d53a8ed69 /usr.bin/fstat | |
| parent | 208691fcd8e8c8ae68306ddb5dca8e5f207a793f (diff) | |
Notes
Diffstat (limited to 'usr.bin/fstat')
| -rw-r--r-- | usr.bin/fstat/fstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 96be7061ba0c..5ee9feb7dab3 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -236,6 +236,7 @@ main(argc, argv) if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf)) == NULL) errx(1, "%s", buf); + setgid(getgid()); #ifdef notdef if (kvm_nlist(kd, nl) != 0) errx(1, "no namelist: %s", kvm_geterr(kd)); |
