[44] in testers
gprof on AFS packs
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Jul 3 11:30:18 1989
From: <jfc@ATHENA.MIT.EDU>
To: testers@ATHENA.MIT.EDU
Date: Mon, 03 Jul 89 11:29:59 EDT
/usr/ucb/gprof is suid root on the AFS RT testers packs.
It appears that AFS does access checks on every write, not just on opening
of the file descriptor, so this command will fail unless root has afs tokens
allowing it to write to the current directory:
gprof > xxx
(the file xxx is created, but gprof, running as root, can't write to it
[the error message, afs: unable to store file (13), has room for improvement]).
I don't see any reason for grpof to be suid OR sgid (it is sgid on the NFS
urvd).