consolidate snaplen management into a separate function called by val_to_ring
a bit more work on dynamic snaplen
new scap functions: scap_enable_dynamic_snaplen and scap_disable_dynamic_snaplen
new scap functions: scap_enable_dynamic_snaplen and scap_disable_dynamic_snaplen
export scap_enable_dynamic_snaplen and scap_disable_dynamic_snaplen under windows
correct return value in the two new ioctls
decrese scap minimum read size to 2KB
Resubmit of spy_file chisel.  See github sysdig issue #230 for previous conversation.

Example usage:

[root@web01 ~]# sysdig -c spy_file "rw /var/log/messages"
22:10:30.827285182 rs:main(25251) W 72B /var/log/messages
Aug 22 22:10:30 web01 mod_wsgi[23998]: XXXXXXXXXX RPC: get_map(raw = 1)

22:10:31.179507012 rs:main(25251) W 72B /var/log/messages
Aug 22 22:10:31 web01 mod_wsgi[26529]: XXXXXXXXXX RPC: get_map(raw = 1)
cleanups
improve the heuristic to detect when an entry in /proc is a kernel thread.
wrong file name
merge master
a couple of fixes in the dynamic snaplen code
prevent sinsp_thread_manager::remove_thread from making a full copy of the fd table
enable zlib
improved BRK
strlcpy() returns the length of the source string
Due to a nasty recent bug in apt-get, always use /dev/null as stdin when calling apt-get, otherwise apt-get will eat the remaining input which, in case of an automatic installation, means the rest of the installation process
Added some conditional group to avoid compile error on arm.
fixed a bug in the val_to_ring logic that could cause legit events to be dropped