sk_chk_filter(9) suse man page | unix.com

Man Page: sk_chk_filter

Operating Environment: suse

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, 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 2.6. July 2010 SK_CHK_FILTER(9)
Related Man Pages
tracestats(1) - debian
mlib_signalemphasizefree_s16_s16(3mlib) - sunos
stream_filter_prepend(3) - php
http::proxy::headerfilter::simple(3pm) - debian
pod::abstract::filter(3pm) - debian
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Tar Command
32 bit process addressing more than 4GB