Home
last modified time | relevance | path

Searched refs:tp_sizeof_priv (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/include/lapi/
H A Dif_packet.h49 unsigned int tp_sizeof_priv; member
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
H A Dsetsockopt02.c7 * Try to set tpacket_req3.tp_sizeof_priv to a value with the high bit set. So
8 * that tp_block_size < tp_sizeof_priv. If the vulnerability is present then
10 * tp_sizeof_priv value will be allowed. If it has been fixed then setsockopt
51 req.tp_sizeof_priv = sizeof_priv; in create_skbuf()
78 tst_res(TPASS | TTERRNO, "Refused bad tp_sizeof_priv value"); in bad_size()
80 tst_res(TFAIL, "Allowed bad tp_sizeof_priv value"); in bad_size()

Completed in 2 milliseconds