]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
top(1): permit sub-second delay times
authoreadler <eadler@FreeBSD.org>
Sun, 10 Jun 2018 00:02:56 +0000 (00:02 +0000)
committereadler <eadler@FreeBSD.org>
Sun, 10 Jun 2018 00:02:56 +0000 (00:02 +0000)
commitd30eda770d34fc9f9b081b34264b47ce454c9649
treeca5ab6e70bd36024130c46a378816147b6698565
parent17b4d47d546858c75f8b597b10a595862ecddf74
top(1): permit sub-second delay times

This removes the getuid check for delay==0. It didn't prevent users from
writing similar programs in the general case. In theory, if top(1) is
among one of the few restricted programs you're allowed to run, it may
have helped a little, but there are better ways of handling that case.
usr.bin/top/top.c
usr.bin/top/top.h