Query: sk_chk_filter
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SK_CHK_FILTER(9) Linux Networking SK_CHK_FILTER(9)NAMEsk_chk_filter - verify socket filter codeSYNOPSISint sk_chk_filter(struct sock_filter * filter, unsigned int flen);ARGUMENTSfilter filter to verify flen length of filterDESCRIPTIONCheck the user's filter code. If we let some ugly filter code slip through kaboom! The filter must contain no references or jumps that are out of range, no illegal instructions, and must end with a RET instruction. All jumps are forward as they are not signed. Returns 0 if the rule set is legal or -EINVAL if not.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SK_CHK_FILTER(9)
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Best performance UNIX just for HOST Virtualization? |
How to increment version inside a file? |
Docker learning Phase-I |
Controlling user input |