Use uid_from_user(3) and gid_from_group(3) in utilities that
authormillert <millert@openbsd.org>
Sun, 16 Sep 2018 02:44:06 +0000 (02:44 +0000)
committermillert <millert@openbsd.org>
Sun, 16 Sep 2018 02:44:06 +0000 (02:44 +0000)
commita0f924b8c9b18f7537c81c458bcb9a4846a4802d
tree29202edbe1fe2319bdb42c6cbfea0fd5cbc5c92c
parentdee3187183d4449f0a83e69d8a155ed2cc345fdd
Use uid_from_user(3) and gid_from_group(3) in utilities that
do repeated lookups.  OK tb@
bin/chmod/chmod.c
bin/ps/ps.c
sbin/fsdb/fsdb.c
sbin/pfctl/parse.y
usr.bin/find/function.c
usr.bin/fstat/fstat.c
usr.bin/newsyslog/newsyslog.c
usr.bin/pkill/pkill.c
usr.bin/top/username.c
usr.bin/xinstall/xinstall.c
usr.sbin/edquota/edquota.c