Torrey McMahon wrote: > Freeman Liu wrote: >> >>>> >>> >>> >>> Why do I see a configure script being written in the near future >>> with a comment that says.... >>> >>> For some %#$%@ reason Sun calls its dsp device "private_dsp". This >>> is pretty weird but we can look for it anyway. >>> >> Where is this script come from ? For OSS, /dev/dsp is the interface >> for applications and >> for Sun Audio (SADA), /dev/audio is. It is really weird to see >> private_dsp in Sun Audio system. >> Does this script refer to some very old version of Solaris ? >> >> Thank you >> Freeman >> > > No. My point was that if you hide/change the name then it will not > stop someone from finding it and using it. Sorry if that wasn't clear. On the one hand, for the existing applicaions which probe /dev/dsp, a new name will avoid them. On the other hand, if someone want to leverage this interface to compromise the system, then he has to be root for the permission of this interface is 600 and owner is root. And for the developers who want to user audio on Solaris, he can turn to /dev/audio instead of hacking /dev/private_dsp.
Is that your main concern ? If so, do you think this approach is safe enough ? Or are there any weak points we have overlooked ? Best regards Freeman
