I must admit that I wasn't aware of the net.ipv4.ping_group_range facility, hence was possibly excessively critical of the idea of using an appropriate group earlier in the thread for which I apologise.
In the general case though, I don't know how many of the POSIX capabilities can also be controlled by groups in this manner: a quick reading of earlier messages suggests that even in the case of the network it's by no means complete, so having a basic understanding of the POSIX capabilities is useful.
On a more positive note, while setting up a group and including it in the net.ipv4.ping_group_range list needs appropriate permission (i.e. in practice the user has to be root, or has to have an appropriately blessed script):
* setting the group of a freshly-compiled binary and setting its setgid flag is unprivileged,
* moving a binary or copying it with cp -p preserves its group and setgid state.
So /if/ it's a capability which can be mimicked by group membership, and /if/ the system owner is prepared to risk compromising robustness, then this is something which is within the scope of an unmodified (and unprivileged) development environment.
MarkMLl