Nicolas Williams wrote:
> On Wed, Feb 27, 2008 at 08:22:04PM -0800, Dan Hain (Work) wrote:
>> Yes, it requires sufficient privilege to use a raw socket. The actual
>> line is "if( geteuid() )", so it's not good. The goal was to minimize
>> the changes to the open source, however if that is not an option here I
>> can make the changes that are needed.
>
> You could always modify the build sequence to link in an interposer for
> getuid() that always returns 0, and leave the actual code alone... :^/
>
Please no. Fix the code so that it tries the operation and reports a
suitable error message if it fails.
Scott