sk_chk_filter(9) centos man page | unix.com

Man Page: sk_chk_filter

Operating Environment: centos

Section: 9

SK_CHK_FILTER(9)						 Linux Networking						  SK_CHK_FILTER(9)

NAME
sk_chk_filter - verify socket filter code
SYNOPSIS
int sk_chk_filter(struct sock_filter * filter, unsigned int flen);
ARGUMENTS
filter filter to verify flen length of filter
DESCRIPTION
Check 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.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SK_CHK_FILTER(9)
Related Man Pages
mpsimagelaplacian(3) - mojave
tracestats(1) - debian
smfi_register(3n) - hpux
gtk2::recentfilter(3pm) - debian
http::proxy::headerfilter::simple(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Tar Command
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing