I have a libpcap based application. Now, to allow non-root users to use my app, during installation , i use setcap
setcap cap_net_raw=ep /bin/myapp
But, in case the Linux Distro on which i install my app does not support Linux Capabilities, i want to use setuid(). Now, is their any way by which we can figure out whether Linux Capabilities and setuid() are supported for current Linux Distro or not. Besides, is there any link, where all Linux Distros having Linux Capabilities support are displayed.