diff options
author | melifaro <melifaro@FreeBSD.org> | 2014-10-06 11:00:47 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2014-10-06 11:00:47 +0000 |
commit | de047d9894ae20c81e9cc23c1144edd637150167 (patch) | |
tree | 8808e40d11fd14a1e72d164e3f9da34eba7d5be2 /lib/libc/string/explicit_bzero.c | |
parent | f2b4d1f9d5cd21b937cd78d54f4b9bbb35d70d03 (diff) | |
download | FreeBSD-src-de047d9894ae20c81e9cc23c1144edd637150167.zip FreeBSD-src-de047d9894ae20c81e9cc23c1144edd637150167.tar.gz |
Improve "reserved keywords" hack:
we can't easily predict (in current parsing model)
if the keyword is ipfw(8) reserved keyword or port name.
Checking proto database via getprotobyname() consumes a lot of
CPU and leads to tens of seconds for parsing large ruleset.
Use list of reserved keywords and check them as pre-requisite
before doing getprotobyname().
Obtained from: Yandex LLC
Diffstat (limited to 'lib/libc/string/explicit_bzero.c')
0 files changed, 0 insertions, 0 deletions