Lines Matching full:attach
30 /* Attach setsockopt that sets EUNATCH, assert that in test_setsockopt_set()
35 if (!ASSERT_OK_PTR(link_set_eunatch, "cg-attach-set_eunatch")) in test_setsockopt_set()
66 /* Attach setsockopt that sets EUNATCH, and one that gets the in test_setsockopt_set_and_get()
71 if (!ASSERT_OK_PTR(link_set_eunatch, "cg-attach-set_eunatch")) in test_setsockopt_set_and_get()
75 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_set_and_get()
109 /* Attach setsockopt that gets the previously set errno. in test_setsockopt_default_zero()
114 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_default_zero()
145 /* Attach setsockopt that gets the previously set errno, and then in test_setsockopt_default_zero_and_set()
151 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_default_zero_and_set()
155 if (!ASSERT_OK_PTR(link_set_eunatch, "cg-attach-set_eunatch")) in test_setsockopt_default_zero_and_set()
190 /* Attach setsockopt that sets EUNATCH, then one that sets EISCONN, in test_setsockopt_override()
196 if (!ASSERT_OK_PTR(link_set_eunatch, "cg-attach-set_eunatch")) in test_setsockopt_override()
200 if (!ASSERT_OK_PTR(link_set_eisconn, "cg-attach-set_eisconn")) in test_setsockopt_override()
204 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_override()
239 /* Attach setsockopt that return a reject without setting errno in test_setsockopt_legacy_eperm()
246 if (!ASSERT_OK_PTR(link_legacy_eperm, "cg-attach-legacy_eperm")) in test_setsockopt_legacy_eperm()
250 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_legacy_eperm()
285 /* Attach setsockopt that sets EUNATCH, then one that return a reject in test_setsockopt_legacy_no_override()
293 if (!ASSERT_OK_PTR(link_set_eunatch, "cg-attach-set_eunatch")) in test_setsockopt_legacy_no_override()
297 if (!ASSERT_OK_PTR(link_legacy_eperm, "cg-attach-legacy_eperm")) in test_setsockopt_legacy_no_override()
301 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_legacy_no_override()
338 /* Attach getsockopt that gets previously set errno. Assert that the in test_getsockopt_get()
343 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_getsockopt_get()
380 /* Attach getsockopt that sets retval to -EISCONN. Assert that this in test_getsockopt_override()
385 if (!ASSERT_OK_PTR(link_set_eisconn, "cg-attach-set_eisconn")) in test_getsockopt_override()
419 /* Attach getsockopt that sets retval to -EISCONN, and one that clears in test_getsockopt_retval_sync()
425 if (!ASSERT_OK_PTR(link_set_eisconn, "cg-attach-set_eisconn")) in test_getsockopt_retval_sync()
429 if (!ASSERT_OK_PTR(link_clear_retval, "cg-attach-clear_retval")) in test_getsockopt_retval_sync()
433 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_getsockopt_retval_sync()