[PATCH] ping: try SOCK_DGRAM if no root privileges

Cathey, Jim jcathey at ciena.com
Thu Jan 9 21:23:52 UTC 2014


Doesn't really do you much good since BB is still doing
its own name checks.

No, it's not perfect.  Making this kind of relay program a real part
of BB, as a user-selectable option probably, would be best.

-- Jim

-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter Korsgaard
Sent: Thursday, January 09, 2014 12:46 PM
To: Cathey, Jim
Cc: Laurent Bercot; Denys Vlasenko; busybox
Subject: Re: [PATCH] ping: try SOCK_DGRAM if no root privileges

>>>>> "Cathey," == Cathey, Jim <jcathey at ciena.com> writes:

 > This is on a read-only root filesystem that is built the way we want it.
 > (Squashfs, I believe.)  There aren't any, and can't be, any links to names
 > we don't wish to give suid permission to.

And no writable storage anywhere (E.G. a tmpfs for /tmp or similar)
where you can add a handy symlink to the wrapper?

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list