summaryrefslogtreecommitdiff
path: root/test/sys/test_sockopt.rs
AgeCommit message (Collapse)Author
2019-06-06Fix kmod tests on in Linux containersAlan Somers
It's not sufficient to check for root privileges, because a containerized process may have root's euid but still lack important capabilities. Fix these tests by checking for the CAP_SYS_MOD capability.
2019-06-06Fix the is_so_mark_functional test in Linux containersAlan Somers
It's not sufficient to check for root privileges. In a container, the euid may be root even though the user lacks some capabilities. Replace this test's root check with a check for the CAP_NET_ADMIN capability instead.
2018-12-06Add support of TCP_CONGESTION for setsockoptFensteer
2017-12-20Make numeric literals easier to readBryant Mairs
2017-08-01add SockProtocol type for third argument of socket and socketpairNicolas Dusart
2016-01-29Add tests for sockopt (SndBuf, RcvBuf, SndBufForce, RcvBufForce)Frank Denis