Installation manual
AVT GigE Installation Manual V2.0.0
13
[Linux]
Æ Precompiled versions of GigE Sample Viewer are available in the AVT GigE SDK/bin-
pc directory.
Æ Run as root, e.g. “sudo ./SampleViewer”, allowing the OS to boost the priority of
the AVT driver thread, the driver to bind directly to the NIC adapter, and minimize
dropped packets. Users who feel running as root compromises their system
security may find the following implementation satisfactory:
- set the executable owner as root.
- set the "setuid" permission bit on the executable
- in code, when application starts, use capset() to release all but these
privileges: CAP_SYS_NICE, CAP_NET_ADMIN, CAP_NET_BROADCAST,
CAP_NET_RAW
The application will start with all root privileges, but it will drop them immediately
after startup.
Figure 5: GigE Sample Viewer, Linux Ubuntu 10.04