diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-05 02:59:00 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-05 02:59:00 +0000 |
| commit | 78e55a1f29558e8be54566ead1e7be8ab9d45273 (patch) | |
| tree | 65fd45fa55d0cd3888b40a4f41dd3383616dfd74 /usr.sbin/slstat | |
| parent | 885f2f31b4599f4bc7468278c783c1c30f1f86ed (diff) | |
This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
Notes
svn path=/stable/2.1/; revision=16121
Diffstat (limited to 'usr.sbin/slstat')
| -rw-r--r-- | usr.sbin/slstat/slstat.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/slstat/slstat.c b/usr.sbin/slstat/slstat.c index fb1b80cd334a..409c123eec52 100644 --- a/usr.sbin/slstat/slstat.c +++ b/usr.sbin/slstat/slstat.c @@ -132,13 +132,6 @@ main(argc, argv) kflag++; } } - /* - * Discard setgid privileges if not the running kernel so that bad - * guys can't print interesting stuff from kernel memory. - */ - if (system != NULL || kmemf != NULL) - setgid(getgid()); - kvm_h = kvm_openfiles(system, kmemf, NULL, O_RDONLY, errbuf); if (kvm_h == 0) { (void)fprintf(stderr, |
