>>> ossec-hids-local: Building community/ossec-hids-local 3.7.0-r0 (using abuild 3.10.0_rc1-r2) started Mon, 31 Oct 2022 15:01:11 +0000 >>> ossec-hids-local: Checking sanity of /home/buildozer/aports/community/ossec-hids-local/APKBUILD... >>> ossec-hids-local: Analyzing dependencies... >>> ossec-hids-local: Installing for build: build-base inotify-tools procps ossec-hids-openrc linux-headers bsd-compat-headers openssl-dev>3 libevent-dev inotify-tools-dev findutils file zlib-dev pcre2-dev sqlite-dev lua5.3-dev geoip-dev czmq-dev check-dev subunit-dev (1/51) Installing inotify-tools-libs (3.22.6.0-r0) (2/51) Installing inotify-tools (3.22.6.0-r0) (3/51) Installing libintl (0.21.1-r1) (4/51) Installing libproc (3.3.17-r2) (5/51) Installing procps (3.3.17-r2) (6/51) Installing ossec-hids-openrc (3.7.0-r0) (7/51) Installing linux-headers (5.19.5-r0) (8/51) Installing bsd-compat-headers (0.7.2-r3) (9/51) Installing openssl-dev (3.0.5-r3) (10/51) Installing libbz2 (1.0.8-r3) (11/51) Installing libffi (3.4.4-r0) (12/51) Installing gdbm (1.23-r0) (13/51) Installing xz-libs (5.2.7-r0) (14/51) Installing mpdecimal (2.5.1-r1) (15/51) Installing readline (8.2.0-r0) (16/51) Installing sqlite-libs (3.39.4-r0) (17/51) Installing python3 (3.10.8-r3) (18/51) Installing libevent (2.1.12-r5) (19/51) Installing libevent-dev (2.1.12-r5) (20/51) Installing inotify-tools-dev (3.22.6.0-r0) (21/51) Installing findutils (4.9.0-r2) (22/51) Installing zlib-dev (1.2.13-r0) (23/51) Installing ncurses-dev (6.3_p20221029-r0) (24/51) Installing libedit-dev (20221009.3.1-r0) (25/51) Installing libpcre2-16 (10.40-r0) (26/51) Installing libpcre2-32 (10.40-r0) (27/51) Installing pcre2-dev (10.40-r0) (28/51) Installing sqlite-dev (3.39.4-r0) (29/51) Installing linenoise (1.0-r2) (30/51) Installing lua5.3-libs (5.3.6-r4) (31/51) Installing lua5.3 (5.3.6-r4) (32/51) Installing lua5.3-dev (5.3.6-r4) (33/51) Installing geoip (1.6.12-r3) (34/51) Installing geoip-dev (1.6.12-r3) (35/51) Installing libuuid (2.38.1-r0) (36/51) Installing libsodium (1.0.18-r2) (37/51) Installing libzmq (4.3.4-r1) (38/51) Installing czmq (4.2.1-r2) (39/51) Installing libsodium-dev (1.0.18-r2) (40/51) Installing zeromq-dev (4.3.4-r1) (41/51) Installing libblkid (2.38.1-r0) (42/51) Installing libfdisk (2.38.1-r0) (43/51) Installing libmount (2.38.1-r0) (44/51) Installing libsmartcols (2.38.1-r0) (45/51) Installing util-linux-dev (2.38.1-r0) (46/51) Installing czmq-dev (4.2.1-r2) (47/51) Installing check (0.15.2-r1) (48/51) Installing check-dev (0.15.2-r1) (49/51) Installing subunit-libs (1.4.0-r3) (50/51) Installing subunit-dev (1.4.0-r3) (51/51) Installing .makedepends-ossec-hids-local (20221031.150115) Executing busybox-1.35.0-r27.trigger OK: 373 MiB in 143 packages >>> ossec-hids-local: Cleaning up srcdir >>> ossec-hids-local: Cleaning up pkgdir >>> ossec-hids-local: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/ossec-hids-local-3.7.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 11 2459k 11 271k 0 0 221k 0 0:00:11 0:00:01 0:00:10 221k 93 2459k 93 2303k 0 0 1021k 0 0:00:02 0:00:02 --:--:-- 1021k 100 2459k 100 2459k 0 0 1044k 0 0:00:02 0:00:02 --:--:-- 1044k >>> ossec-hids-local: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/ossec-hids-local-3.7.0.tar.gz >>> ossec-hids-local: Checking sha512sums... ossec-hids-local-3.7.0.tar.gz: OK ossec-hids-local.logrotate: OK musl_lack_of_a_out_h.patch: OK makefile.patch: OK config: OK >>> ossec-hids-local: Unpacking /var/cache/distfiles/v3.17/ossec-hids-local-3.7.0.tar.gz... >>> ossec-hids-local: musl_lack_of_a_out_h.patch patching file src/rootcheck/os_string.c >>> ossec-hids-local: makefile.patch patching file src/Makefile Hunk #1 succeeded at 22 with fuzz 2. Hunk #2 succeeded at 409 (offset 10 lines). Hunk #3 succeeded at 1254 (offset 1 line). Hunk #4 succeeded at 1265 (offset 1 line). rm -f tests/test_os_crypto.o tests/test_os_net.o tests/test_os_regex.o tests/test_os_xml.o tests/test_os_zlib.o tests/test_shared.o test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared ossec.test rm -f os_zlib/os_zlib.o os_zlib.a rm -Rf coverage-report/ rm -f os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml.a rm -f external/cJSON/cJSON.o libcJSON.a libpcre2-8.a find . -name "*.gcno" -exec rm {} \; rm -f os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o os_regex.a cd external/zlib-1.2.11/ && make -f Makefile.in distclean rm -f win32/LICENSE.txt rm -f os_net/os_net.o os_net.a rm -f win32/help_win.txt rm -f shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o shared.a rm -f win32/internal_options.conf rm -f config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o config.a rm -f win32/default-local_internal_options.conf rm -f os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o ossec-maild rm -f win32/default-ossec.conf rm -f os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o os_crypto.a rm -f win32/restart-ossec.cmd rm -f os_csyslogd/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.o ossec-csyslogd rm -f win32/route-null.cmd rm -f os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.o ossec-dbd rm -f win32/add-localfile.o win32/agent_auth.o win32/read-registry.o win32/setup-iis.o win32/setup-shared.o win32/setup-syscheck.o win32/setup-win.o win32/win_agent.o win32/win_service.o win32/ui/common.o win32/ui/os_win32ui.o win32/win_service_rk.o make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/zlib-1.2.11' rm -f *.o *.lo *~ \ example minigzip examplesh minigzipsh \ example64 minigzip64 \ infcover \ libz.* foo.gz so_locations \ _match.s maketree contrib/infback9/*.o rm -f agentlessd/agentlessd.o agentlessd/main.o ossec-agentlessd find . -name "*.gcda" -exec rm {} \; rm -f win32/icon.o win32/resource.o rm -f os_execd/config.o os_execd/exec.o os_execd/execd.o os_execd/win_execd.o ossec-execd cp -p zconf.h.in zconf.h rm -f win32/ossec-agent.exe win32/ossec-agent-eventchannel.exe win32/ossec-rootcheck.exe win32/manage_agents.exe win32/setup-windows.exe win32/setup-syscheck.exe win32/setup-iis.exe win32/add-localfile.exe win32/os_win32ui.exe win32/agent-auth.exe rm -f logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_journald.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/main-event.o logcollector/read_audit-event.o logcollector/read_command-event.o logcollector/read_djb_multilog-event.o logcollector/read_fullcommand-event.o logcollector/read_journald-event.o logcollector/read_mssql_log-event.o logcollector/read_multiline-event.o logcollector/read_multiline_indented-event.o logcollector/read_mysql_log-event.o logcollector/read_nmapg-event.o logcollector/read_ossecalert-event.o logcollector/read_postgresql_log-event.o logcollector/read_snortfull-event.o logcollector/read_syslog-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o ossec-logcollector #rm -f external/lua-5.2.3/src/lua52.dll rm -f remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.o remoted/syslog.o remoted/syslogtcp.o ossec-remoted #rm -f external/lua-5.2.3/src/ossec-lua.exe rm -f reportd/report.o ossec-reportd rm -rf objs #rm -f external/lua-5.2.3/src/ossec-luac.exe rm -f *.gcda *.gcno *.gcov rm -f client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o ossec-agentd #rm -f win32/ossec-lua.exe rm -f addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o manage_agents #rm -f win32/ossec-luac.exe rm -f contrib/infback9/*.gcda contrib/infback9/*.gcno contrib/infback9/*.gcov rm -f util/agent_control.o util/clear_stats.o util/list_agents.o util/ossec-regex-convert.o util/ossec-regex.o util/rootcheck_control.o util/syscheck_control.o util/syscheck_update.o util/verify-agent-conf.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex ossec-regex-convert rm -f win32/ossec-win32-agent.exe rm -f Makefile zlib.pc configure.log rm -f rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck-config.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o rootcheck/check_open_ports_rk.o rootcheck/check_rc_dev_rk.o rootcheck/check_rc_files_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_pids_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_ports_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/common_rk.o rootcheck/common_rcl_rk.o rootcheck/config_rk.o rootcheck/os_string_rk.o rootcheck/rootcheck-config_rk.o rootcheck/rootcheck_rk.o rootcheck/run_rk_check_rk.o rootcheck/unix-process_rk.o rootcheck/win-common_rk.o rootcheck/win-process_rk.o rootcheck.a rm -f syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o ossec-monitord rm -f os_auth/check_cert.o os_auth/main-client.o os_auth/main-server.o os_auth/ssl-test.o os_auth/ssl.o ossec-authd agent-auth make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/zlib-1.2.11' rm -f analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o analysisd/decoders/decode-xml.o analysisd/decoders/decoder.o analysisd/decoders/decoders_list.o analysisd/decoders/geoip.o analysisd/decoders/hostinfo.o analysisd/decoders/plugin_decoders.o analysisd/decoders/rootcheck.o analysisd/decoders/syscheck.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/json_extended.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/accumulator.o analysisd/active-response.o analysisd/cleanevent.o analysisd/config.o analysisd/dodiff.o analysisd/eventinfo.o analysisd/eventinfo_list.o analysisd/fts.o analysisd/lists.o analysisd/lists_list.o analysisd/lists_make.o analysisd/rules.o analysisd/rules_list.o analysisd/stats.o analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/testrule-test.o analysisd/analysisd-live.o analysisd/analysisd-test.o analysisd/makelists-live.o cdb.a alerts.a decoders.a decoders-test.a decoders-live.a analysisd/compiled_rules/compiled_rules.h cd external/lua-5.2.3/ && make clean rm -f ossec-logtest ossec-analysisd ossec-makelists make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' cd src && make clean make[2]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' rm -f liblua.a ossec-lua ossec-luac lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o lua.o luac.o make[2]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' #cd external/pcre2-10.32/ && make distclean gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c external/cJSON/cJSON.c -o external/cJSON/cJSON.o cd external/lua-5.2.3/ && make posix gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/config.c -o os_maild/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/mail_list.c -o os_maild/mail_list.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/maild.c -o os_maild/maild.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/os_maild_client.c -o os_maild/os_maild_client.o make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' cd src && make posix gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/sendcustomemail.c -o os_maild/sendcustomemail.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/sendmail.c -o os_maild/sendmail.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_op.c -o os_crypto/blowfish/bf_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_skey.c -o os_crypto/blowfish/bf_skey.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_enc.c -o os_crypto/blowfish/bf_enc.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5.c -o os_crypto/md5/md5.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5_op.c -o os_crypto/md5/md5_op.o make[2]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make all SYSCFLAGS="-DLUA_USE_POSIX" gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/sha1/sha1_op.c -o os_crypto/sha1/sha1_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_zlib/os_zlib.c -o os_zlib/os_zlib.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5_sha1/md5_sha1_op.c -o os_crypto/md5_sha1/md5_sha1_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/active-response.c -o config/active-response.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/agentlessd-config.c -o config/agentlessd-config.o make[3]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lapi.o lapi.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lcode.o lcode.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/alerts-config.c -o config/alerts-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lctype.o lctype.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/client-config.c -o config/client-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ldebug.o ldebug.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ldo.o ldo.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ldump.o ldump.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/csyslogd-config.c -o config/csyslogd-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lfunc.o lfunc.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/dbd-config.c -o config/dbd-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lgc.o lgc.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o llex.o llex.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/email-alerts-config.c -o config/email-alerts-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lmem.o lmem.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/global-config.c -o config/global-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lobject.o lobject.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/localfile-config.c -o config/localfile-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lopcodes.o lopcodes.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/remote-config.c -o config/remote-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lparser.o lparser.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lstate.o lstate.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/reports-config.c -o config/reports-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lstring.o lstring.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ltable.o ltable.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/rootcheck-config.c -o config/rootcheck-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ltm.o ltm.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/rules-config.c -o config/rules-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lundump.o lundump.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lvm.o lvm.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lzio.o lzio.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/agent_op.c -o shared/agent_op.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lauxlib.o lauxlib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lbaselib.o lbaselib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/debug_op.c -o shared/debug_op.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lbitlib.o lbitlib.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lcorolib.o lcorolib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/dirtree_op.c -o shared/dirtree_op.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ldblib.o ldblib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/file-queue.c -o shared/file-queue.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o liolib.o liolib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/file_op.c -o shared/file_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/hash_op.c -o shared/hash_op.o In file included from os_crypto/sha1/sha_locl.h:144, from os_crypto/sha1/sha1_op.c:26: os_crypto/sha1/md32_common.h: In function 'SHA1_Update': os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/md32_common.h:433:17: note: in expansion of macro 'HOST_c2l' 433 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/md32_common.h:455:21: note: in expansion of macro 'HOST_c2l' 455 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/md32_common.h:506:13: note: in expansion of macro 'HOST_c2l' 506 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h: In function 'SHA1_Final': os_crypto/sha1/md32_common.h:345:54: warning: right-hand operand of comma expression has no effect [-Wunused-value] 342 | #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | *((c)++)=(unsigned char)(((l)>>16)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | *((c)++)=(unsigned char)(((l) )&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 346 | l) | ~~ os_crypto/sha1/sha_locl.h:82:17: note: in expansion of macro 'HOST_l2c' 82 | ll=(c)->h0; HOST_l2c(ll,(s)); \ | ^~~~~~~~ os_crypto/sha1/md32_common.h:595:5: note: in expansion of macro 'HASH_MAKE_STRING' 595 | HASH_MAKE_STRING(c, md); | ^~~~~~~~~~~~~~~~ os_crypto/sha1/md32_common.h:345:54: warning: right-hand operand of comma expression has no effect [-Wunused-value] 342 | #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | *((c)++)=(unsigned char)(((l)>>16)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | *((c)++)=(unsigned char)(((l) )&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 346 | l) | ~~ os_crypto/sha1/sha_locl.h:83:17: note: in expansion of macro 'HOST_l2c' 83 | ll=(c)->h1; HOST_l2c(ll,(s)); \ | ^~~~~~~~ os_crypto/sha1/md32_common.h:595:5: note: in expansion of macro 'HASH_MAKE_STRING' 595 | HASH_MAKE_STRING(c, md); | ^~~~~~~~~~~~~~~~ os_crypto/sha1/md32_common.h:345:54: warning: right-hand operand of comma expression has no effect [-Wunused-value] 342 | #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | *((c)++)=(unsigned char)(((l)>>16)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | *((c)++)=(unsigned char)(((l) )&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 346 | l) | ~~ os_crypto/sha1/sha_locl.h:84:17: note: in expansion of macro 'HOST_l2c' 84 | ll=(c)->h2; HOST_l2c(ll,(s)); \ | ^~~~~~~~ os_crypto/sha1/md32_common.h:595:5: note: in expansion of macro 'HASH_MAKE_STRING' 595 | HASH_MAKE_STRING(c, md); | ^~~~~~~~~~~~~~~~ os_crypto/sha1/md32_common.h:345:54: warning: right-hand operand of comma expression has no effect [-Wunused-value] 342 | #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | *((c)++)=(unsigned char)(((l)>>16)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | *((c)++)=(unsigned char)(((l) )&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 346 | l) | ~~ os_crypto/sha1/sha_locl.h:85:17: note: in expansion of macro 'HOST_l2c' 85 | ll=(c)->h3; HOST_l2c(ll,(s)); \ | ^~~~~~~~ os_crypto/sha1/md32_common.h:595:5: note: in expansion of macro 'HASH_MAKE_STRING' 595 | HASH_MAKE_STRING(c, md); | ^~~~~~~~~~~~~~~~ os_crypto/sha1/md32_common.h:345:54: warning: right-hand operand of comma expression has no effect [-Wunused-value] 342 | #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | *((c)++)=(unsigned char)(((l)>>16)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | *((c)++)=(unsigned char)(((l) )&0xff), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 346 | l) | ~~ os_crypto/sha1/sha_locl.h:86:17: note: in expansion of macro 'HOST_l2c' 86 | ll=(c)->h4; HOST_l2c(ll,(s)); \ | ^~~~~~~~ os_crypto/sha1/md32_common.h:595:5: note: in expansion of macro 'HASH_MAKE_STRING' 595 | HASH_MAKE_STRING(c, md); | ^~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lmathlib.o lmathlib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/list_op.c -o shared/list_op.o os_crypto/sha1/sha_locl.h: In function 'sha1_block_data_order': os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:382:9: note: in expansion of macro 'HOST_c2l' 382 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:384:9: note: in expansion of macro 'HOST_c2l' 384 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:387:9: note: in expansion of macro 'HOST_c2l' 387 | HOST_c2l(data, l); | ^~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/math_op.c -o shared/math_op.o os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:390:9: note: in expansion of macro 'HOST_c2l' 390 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:393:9: note: in expansion of macro 'HOST_c2l' 393 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:396:9: note: in expansion of macro 'HOST_c2l' 396 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:399:9: note: in expansion of macro 'HOST_c2l' 399 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:402:9: note: in expansion of macro 'HOST_c2l' 402 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:405:9: note: in expansion of macro 'HOST_c2l' 405 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:408:9: note: in expansion of macro 'HOST_c2l' 408 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:411:9: note: in expansion of macro 'HOST_c2l' 411 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:414:9: note: in expansion of macro 'HOST_c2l' 414 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:417:9: note: in expansion of macro 'HOST_c2l' 417 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:420:9: note: in expansion of macro 'HOST_c2l' 420 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:423:9: note: in expansion of macro 'HOST_c2l' 423 | HOST_c2l(data, l); | ^~~~~~~~ os_crypto/sha1/md32_common.h:315:50: warning: right-hand operand of comma expression has no effect [-Wunused-value] 312 | #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | l|=(((unsigned long)(*((c)++)))<<16), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | l|=(((unsigned long)(*((c)++)))<< 8), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | l|=(((unsigned long)(*((c)++))) ), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 316 | l) | ~~ os_crypto/sha1/sha_locl.h:426:9: note: in expansion of macro 'HOST_c2l' 426 | HOST_c2l(data, l); | ^~~~~~~~ gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o loslib.o loslib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/mem_op.c -o shared/mem_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/mq_op.c -o shared/mq_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/privsep_op.c -o shared/privsep_op.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lstrlib.o lstrlib.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/pthreads_op.c -o shared/pthreads_op.o os_maild/os_maild_client.c: In function 'OS_RecvMailQ': os_maild/os_maild_client.c:70:13: warning: 'strncat' specified bound 16 equals source length [-Wstringop-overflow=] 70 | strncat(logs, "Old md5sum was: ", 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/os_maild_client.c:79:13: warning: 'strncat' specified bound 16 equals source length [-Wstringop-overflow=] 79 | strncat(logs, "New md5sum is : ", 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/os_maild_client.c:88:13: warning: 'strncat' specified bound 17 equals source length [-Wstringop-overflow=] 88 | strncat(logs, "Old sha1sum was: ", 17); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/os_maild_client.c:97:13: warning: 'strncat' specified bound 17 equals source length [-Wstringop-overflow=] 97 | strncat(logs, "New sha1sum is : ", 17); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o ltablib.o ltablib.c gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o loadlib.o loadlib.c os_maild/sendmail.c: In function 'OS_Sendmail': gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o linit.o linit.c os_maild/sendmail.c:31:29: warning: '%s' directive output may be truncated writing up to 129 bytes into a region of size 118 [-Wformat-truncation=] 31 | #define SUBJECT "Subject: %s\r\n" | ^~~~~~~~~~~~~~~~~ os_maild/sendmail.c:330:32: note: in expansion of macro 'SUBJECT' 330 | snprintf(snd_msg, 127, SUBJECT, _g_subject); | ^~~~~~~ os_maild/sendmail.c:31:39: note: format string is defined here 31 | #define SUBJECT "Subject: %s\r\n" | ^~ os_maild/sendmail.c:330:9: note: 'snprintf' output between 12 and 141 bytes into a destination of size 127 330 | snprintf(snd_msg, 127, SUBJECT, _g_subject); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o lua.o lua.c In file included from os_maild/os_maild_client.c:11: os_maild/maild.h:34:29: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size between 5039 and 7087 [-Wformat-truncation=] 34 | #define MAIL_BODY "\r\nOSSEC HIDS Notification.\r\n" \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/maild.h:34:29: note: in definition of macro 'MAIL_BODY' 34 | #define MAIL_BODY "\r\nOSSEC HIDS Notification.\r\n" \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/maild.h:40:30: note: format string is defined here 40 | "%s" \ | ^~ os_maild/os_maild_client.c:194:5: note: 'snprintf' output 141 or more bytes (assuming 14477) into a destination of size 7167 194 | snprintf(mail->body, BODY_SIZE - 1, MAIL_BODY, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | al_data->date, | ~~~~~~~~~~~~~~ 196 | al_data->location, | ~~~~~~~~~~~~~~~~~~ 197 | al_data->rule, | ~~~~~~~~~~~~~~ 198 | al_data->level, | ~~~~~~~~~~~~~~~ 199 | al_data->comment, | ~~~~~~~~~~~~~~~~~ 200 | geoip_msg_src, | ~~~~~~~~~~~~~~ 201 | geoip_msg_dst, | ~~~~~~~~~~~~~~ 202 | extra_data, | ~~~~~~~~~~~ 203 | logs); | ~~~~~ gcc -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -Os -fomit-frame-pointer -c -o luac.o luac.c gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/regex_op.c -o shared/regex_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/report_op.c -o shared/report_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/rules_op.c -o shared/rules_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/sig_op.c -o shared/sig_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/store_op.c -o shared/store_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/string_op.c -o shared/string_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c shared/wait_op.c -o shared/wait_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_net/os_net.c -o os_net/os_net.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_converter.c -o os_regex/os_converter.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match.c -o os_regex/os_match.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_compile.c -o os_regex/os_match_compile.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_execute.c -o os_regex/os_match_execute.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_free_pattern.c -o os_regex/os_match_free_pattern.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2.c -o os_regex/os_pcre2.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_compile.c -o os_regex/os_pcre2_compile.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_execute.c -o os_regex/os_pcre2_execute.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_pattern.c -o os_regex/os_pcre2_free_pattern.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_substrings.c -o os_regex/os_pcre2_free_substrings.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex.c -o os_regex/os_regex.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_compile.c -o os_regex/os_regex_compile.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_pattern.c -o os_regex/os_regex_free_pattern.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_substrings.c -o os_regex/os_regex_free_substrings.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_maps.c -o os_regex/os_regex_maps.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_match.c -o os_regex/os_regex_match.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_startswith.c -o os_regex/os_regex_startswith.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_str.c -o os_regex/os_regex_str.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_strbreak.c -o os_regex/os_regex_strbreak.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml.c -o os_xml/os_xml.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_access.c -o os_xml/os_xml_access.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_node_access.c -o os_xml/os_xml_node_access.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_variables.c -o os_xml/os_xml_variables.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_writer.c -o os_xml/os_xml_writer.o os_regex/os_pcre2_execute.c: In function 'OSPcre2_Execute_pcre2_match': os_regex/os_pcre2_execute.c:52:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 52 | if (sub_string_start != -1) { | ^~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/alert.c -o os_csyslogd/alert.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/config.c -o os_csyslogd/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/csyslogd.c -o os_csyslogd/csyslogd.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/main.c -o os_csyslogd/main.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/agentlessd.c -o agentlessd/agentlessd.o os_regex/os_regex_execute.c: In function 'OSRegex_Execute_pcre2_match': os_regex/os_regex_execute.c:57:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 57 | if (sub_string_start != -1) { | ^~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/main.c -o agentlessd/main.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/config.c -o os_execd/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/execd.c -o os_execd/execd.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/win_execd.c -o os_execd/win_execd.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/config.c -o logcollector/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/logcollector.c -o logcollector/logcollector.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/main.c -o logcollector/main.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_audit.c -o logcollector/read_audit.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_command.c -o logcollector/read_command.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_fullcommand.c -o logcollector/read_fullcommand.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_journald.c -o logcollector/read_journald.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline_indented.c -o logcollector/read_multiline_indented.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_ossecalert.c -o logcollector/read_ossecalert.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o os_xml/os_xml_variables.c: In function 'OS_ApplyVariables': os_xml/os_xml_variables.c:179:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 101 [-Wformat-truncation=] 179 | "XMLERR: Unknown variable" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ": '%s'.", lvar); | ~~~~ os_xml/os_xml_variables.c:180:46: note: format string is defined here 180 | ": '%s'.", lvar); | ^~ os_xml/os_xml_variables.c:178:33: note: 'snprintf' output between 30 and 285 bytes into a destination of size 128 178 | snprintf(_lxml->err, XML_ERR_LENGTH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | "XMLERR: Unknown variable" | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ": '%s'.", lvar); | ~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_el.c -o logcollector/read_win_el.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_event_channel.c -o logcollector/read_win_event_channel.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/ar-forward.c -o remoted/ar-forward.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/config.c -o remoted/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/main.c -o remoted/main.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/manager.c -o remoted/manager.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/remoted.c -o remoted/remoted.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/secure.c -o remoted/secure.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/sendmsg.c -o remoted/sendmsg.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/syslog.c -o remoted/syslog.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/syslogtcp.c -o remoted/syslogtcp.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/event-forward.c -o client-agent/event-forward.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/intcheck_op.c -o client-agent/intcheck_op.o shared/read-agents.c: In function '_do_print_rootcheck': shared/read-agents.c:659:51: warning: '%s' directive argument is null [-Wformat-truncation=] 659 | snprintf(json_buffer, OS_MAXSTR, "%s%s", ns_events[i], tmp_str); | ^~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o os_execd/exec.c: In function 'ReadExecConfig': os_execd/exec.c:117:21: warning: 'strncpy' accessing 256 bytes at offsets [0, 16705] and [0, 16705] may overlap up to 256 bytes at offset [0, 255] [-Wrestrict] 117 | strncpy(exec_cmd[j], exec_cmd[exec_size], OS_FLSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/receiver-win.c -o client-agent/receiver-win.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/start_agent.c -o client-agent/start_agent.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/manage_agents.c -o addagent/manage_agents.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/manage_keys.c -o addagent/manage_keys.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/read_from_user.c -o addagent/read_from_user.o logcollector/read_mysql_log.c: In function 'read_mysql_log': logcollector/read_mysql_log.c:92:56: warning: '%s' directive output may be truncated writing up to 6129 bytes into a region of size between 6115 and 6132 [-Wformat-truncation=] 92 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~ logcollector/read_mysql_log.c:92:13: note: 'snprintf' output between 13 and 6159 bytes into a destination of size 6144 92 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | __mysql_last_time, p); | ~~~~~~~~~~~~~~~~~~~~~ logcollector/read_mysql_log.c:116:56: warning: '%s' directive output may be truncated writing up to 6142 bytes into a region of size between 6115 and 6132 [-Wformat-truncation=] 116 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~ logcollector/read_mysql_log.c:116:13: note: 'snprintf' output between 13 and 6172 bytes into a destination of size 6144 116 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | __mysql_last_time, p); | ~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o logcollector/read_djb_multilog.c: In function 'read_djbmultilog': logcollector/read_djb_multilog.c:147:76: warning: '%s' directive output may be truncated writing up to 6118 bytes into a region of size between 5616 and 6128 [-Wformat-truncation=] 147 | snprintf(buffer, OS_MAXSTR, "%s %02d %02d:%02d:%02d %s %s: %s", | ^~ logcollector/read_djb_multilog.c:147:17: note: 'snprintf' output 17 or more bytes (assuming 6647) into a destination of size 6144 147 | snprintf(buffer, OS_MAXSTR, "%s %02d %02d:%02d:%02d %s %s: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | djb_month[pt->tm_mon], | ~~~~~~~~~~~~~~~~~~~~~~ 149 | pt->tm_mday, | ~~~~~~~~~~~~ 150 | pt->tm_hour, | ~~~~~~~~~~~~ 151 | pt->tm_min, | ~~~~~~~~~~~ 152 | pt->tm_sec, | ~~~~~~~~~~~ 153 | djb_host, | ~~~~~~~~~ 154 | logff[pos].djb_program_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 155 | p); | ~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/syscheck_update.c -o util/syscheck_update.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/clear_stats.c -o util/clear_stats.o agentlessd/agentlessd.c: In function 'run_periodic_cmd.isra': agentlessd/agentlessd.c:233:45: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 1015 and 2039 [-Wformat-truncation=] 233 | snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " | ^~ 234 | "2>/dev/null", 235 | tmp_location, old_location, | ~~~~~~~~~~~~ In function 'check_diff_file', inlined from 'run_periodic_cmd.isra' at agentlessd/agentlessd.c:390:17: agentlessd/agentlessd.c:233:30: note: using the range [-2147483648, 2147483647] for directive argument 233 | snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agentlessd/agentlessd.c:233:5: note: 'snprintf' output 59 or more bytes (assuming 2107) into a destination of size 2048 233 | snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | "2>/dev/null", | ~~~~~~~~~~~~~~ 235 | tmp_location, old_location, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | DIFF_DIR_PATH, host, script, (int)date_of_change); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/list_agents.c -o util/list_agents.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/agent_control.c -o util/agent_control.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/syscheck_control.c -o util/syscheck_control.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/rootcheck_control.c -o util/rootcheck_control.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/verify-agent-conf.c -o util/verify-agent-conf.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/ossec-regex.c -o util/ossec-regex.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/ossec-regex-convert.c -o util/ossec-regex-convert.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/config.c -o syscheckd/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/create_db.c -o syscheckd/create_db.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_check.c -o syscheckd/run_check.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_realtime.c -o syscheckd/run_realtime.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/seechanges.c -o syscheckd/seechanges.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/syscheck.c -o syscheckd/syscheck.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/win-registry.c -o syscheckd/win-registry.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_open_ports.c -o rootcheck/check_open_ports.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_dev.c -o rootcheck/check_rc_dev.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_files.c -o rootcheck/check_rc_files.o os_execd/execd.c: In function 'ExecdStart': os_execd/execd.c:478:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ os_execd/execd.c:478:29: note: 'snprintf' output between 2 and 12 bytes into a destination of size 9 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_execd/execd.c:436:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ os_execd/execd.c:436:29: note: 'snprintf' output between 2 and 12 bytes into a destination of size 9 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o shared/validate_op.c: In function 'OS_IsValidTime': shared/validate_op.c:603:28: warning: '%s' directive output may be truncated writing up to 6 bytes into a region of size between 5 and 11 [-Wformat-truncation=] 603 | snprintf(ret, 12, "%c%s%s", ng == 0 ? '.' : '!', first_hour, second_hour); | ^~ ~~~~~~~~~~~ shared/validate_op.c:603:5: note: 'snprintf' output between 2 and 14 bytes into a destination of size 12 603 | snprintf(ret, 12, "%c%s%s", ng == 0 ? '.' : '!', first_hour, second_hour); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c:598:31: warning: '%s' directive output may be truncated writing up to 6 bytes into a region of size between 5 and 11 [-Wformat-truncation=] 598 | snprintf(ret, 12, "!%s%s", second_hour, first_hour); | ^~ ~~~~~~~~~~ shared/validate_op.c:598:9: note: 'snprintf' output between 2 and 14 bytes into a destination of size 12 598 | snprintf(ret, 12, "!%s%s", second_hour, first_hour); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_policy.c -o rootcheck/check_rc_policy.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_ports.c -o rootcheck/check_rc_ports.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_readproc.c -o rootcheck/check_rc_readproc.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_sys.c -o rootcheck/check_rc_sys.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_trojans.c -o rootcheck/check_rc_trojans.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common.c -o rootcheck/common.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common_rcl.c -o rootcheck/common_rcl.o client-agent/notify.c: In function 'run_notify': client-agent/notify.c:126:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 984 and 1016 [-Wformat-truncation=] 126 | snprintf(tmp_msg, OS_SIZE_1024, "#!-%s / %s\n%s\n%s", | ^~ 127 | uname, md5sum, shared_files, keep_alive_random); | ~~~~~~~~~~~~~~~~~ client-agent/notify.c:126:9: note: 'snprintf' output 9 or more bytes (assuming 1064) into a destination of size 1024 126 | snprintf(tmp_msg, OS_SIZE_1024, "#!-%s / %s\n%s\n%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | uname, md5sum, shared_files, keep_alive_random); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client-agent/notify.c:129:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 129 | snprintf(tmp_msg, OS_SIZE_1024, "#!-%s\n%s\n%s", | ^~ 130 | uname, shared_files, keep_alive_random); | ~~~~~~~~~~~~~~~~~ client-agent/notify.c:129:9: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 129 | snprintf(tmp_msg, OS_SIZE_1024, "#!-%s\n%s\n%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | uname, shared_files, keep_alive_random); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/config.c -o rootcheck/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/os_string.c -o rootcheck/os_string.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/rootcheck.c -o rootcheck/rootcheck.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/run_rk_check.c -o rootcheck/run_rk_check.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/unix-process.c -o rootcheck/unix-process.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-common.c -o rootcheck/win-common.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-process.c -o rootcheck/win-process.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-reportd\" -c reportd/report.c -o reportd/report.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-server.c -o os_auth/main-server.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o util/clear_stats.c: In function 'main': util/clear_stats.c:149:51: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 6144 [-Wformat-truncation=] 149 | snprintf(full_path, OS_MAXSTR, "%s/%s", dir_path, | ^ util/clear_stats.c:149:17: note: 'snprintf' output between 2 and 6401 bytes into a destination of size 6144 149 | snprintf(full_path, OS_MAXSTR, "%s/%s", dir_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | entry->d_name); | ~~~~~~~~~~~~~~ ./analysisd/compiled_rules/register_rule.sh build client-agent/start_agent.c: In function 'start_agent': client-agent/start_agent.c:160:58: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size 6136 [-Wformat-truncation=] 160 | snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, | ^~ 161 | "ossec", msg); | ~~~ client-agent/start_agent.c:160:25: note: 'snprintf' output between 9 and 6154 bytes into a destination of size 6144 160 | snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | "ossec", msg); | ~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/jsonout.c -o analysisd/output/jsonout.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/prelude.c -o analysisd/output/prelude.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/zeromq.c -o analysisd/output/zeromq.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/format/json_extended.c -o analysisd/format/json_extended.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/format/to_json.c -o analysisd/format/to_json.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/exec.c -o analysisd/alerts/exec.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/getloglocation.c -o analysisd/alerts/getloglocation.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/log.c -o analysisd/alerts/log.o rootcheck/check_rc_dev.c: In function 'read_dev_dir.isra': rootcheck/check_rc_dev.c:42:47: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] 42 | snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." | ^~ ...... 135 | read_dev_file(f_name); | ~~~~~~ In function 'read_dev_file', inlined from 'read_dev_dir.isra' at rootcheck/check_rc_dev.c:135:9: rootcheck/check_rc_dev.c:42:9: note: 'snprintf' output between 47 and 4144 bytes into a destination of size 1024 42 | snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | " Possible hidden file.", file_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb.c -o analysisd/cdb/cdb.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb_hash.c -o analysisd/cdb/cdb_hash.o *Build completed. gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb_make.c -o analysisd/cdb/cdb_make.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/uint32_pack.c -o analysisd/cdb/uint32_pack.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/uint32_unpack.c -o analysisd/cdb/uint32_unpack.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decode-xml.c -o analysisd/decoders/decode-xml-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoder.c -o analysisd/decoders/decoder-live.o addagent/manage_agents.c: In function 'add_agent': addagent/manage_agents.c:375:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ addagent/manage_agents.c:375:38: note: using the range [-2147483648, 2147483647] for directive argument 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~~~~~~~ addagent/manage_agents.c:375:13: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:376:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ addagent/manage_agents.c:376:38: note: using the range [-2147483648, 2147483647] for directive argument 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~~~~~~~~~ addagent/manage_agents.c:376:13: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_files.c: In function 'check_rc_files': rootcheck/check_rc_files.c:162:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 162 | snprintf(file_path, OS_SIZE_1024, "%s/%s", basedir, file); | ^~ rootcheck/check_rc_files.c:162:9: note: 'snprintf' output 2 or more bytes (assuming 1026) into a destination of size 1024 162 | snprintf(file_path, OS_SIZE_1024, "%s/%s", basedir, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_files.c:168:54: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1015 [-Wformat-truncation=] 168 | snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " | ^~ rootcheck/check_rc_files.c:168:13: note: 'snprintf' output between 48 and 2096 bytes into a destination of size 1024 168 | snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | "by the presence of file '%s'.", name, file_path); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoders_list.c -o analysisd/decoders/decoders_list-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/geoip.c -o analysisd/decoders/geoip-live.o util/syscheck_control.c: In function 'main': util/syscheck_control.c:416:13: warning: 'json_root' may be used uninitialized [-Wmaybe-uninitialized] 416 | printf("%s", cJSON_PrintUnformatted(json_root)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/syscheck_control.c:63:12: note: 'json_root' was declared here 63 | cJSON *json_root; | ^~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/hostinfo.c -o analysisd/decoders/hostinfo-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugin_decoders.c -o analysisd/decoders/plugin_decoders-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/rootcheck.c -o analysisd/decoders/rootcheck-live.o analysisd/cdb/cdb.c: In function 'cdb_init': analysisd/cdb/cdb.c:42:17: warning: the comparison will always evaluate as 'true' for the pointer operand in 'x + 1' must not be NULL [-Waddress] 42 | if (x + 1) { | ^ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/syscheck.c -o analysisd/decoders/syscheck-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/ossecalert_decoder.c -o analysisd/decoders/plugins/ossecalert_decoder-live.o rootcheck/check_rc_trojans.c: In function 'check_rc_trojans': rootcheck/check_rc_trojans.c:94:48: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 998 [-Wformat-truncation=] 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "'%s' detected. Signature used: '%s' (%s).", 96 | file_path, | ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here 95 | "'%s' detected. Signature used: '%s' (%s).", | ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_trojans.c:94:17: note: 'snprintf' output 61 or more bytes (assuming 1092) into a destination of size 1024 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "'%s' detected. Signature used: '%s' (%s).", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | file_path, | ~~~~~~~~~~ 97 | string_to_look, | ~~~~~~~~~~~~~~~ 98 | *message == '\0' ? | ~~~~~~~~~~~~~~~~~~ 99 | "Generic" : message); | ~~~~~~~~~~~~~~~~~~~~ syscheckd/seechanges.c: In function 'seechanges_addfile': syscheckd/seechanges.c:394:21: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size 2042 [-Wformat-truncation=] 394 | "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", | ^~ 395 | new_tmp, | ~~~~~~~ syscheckd/seechanges.c:391:9: note: 'snprintf' output between 29 and 18461 bytes into a destination of size 2048 391 | snprintf( | ^~~~~~~~~ 392 | diff_cmd, | ~~~~~~~~~ 393 | 2048, | ~~~~~ 394 | "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 395 | new_tmp, | ~~~~~~~~ 396 | old_tmp, | ~~~~~~~~ 397 | diff_tmp | ~~~~~~~~ 398 | ); | ~ syscheckd/seechanges.c:126:37: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size 4095 [-Wformat-truncation=] 126 | snprintf(diff_alert, 4096 - 1, "%s%s", | ^~ 127 | buf, n >= 19 ? | ~~~ In function 'gen_diff_alert', inlined from 'seechanges_addfile' at syscheckd/seechanges.c:424:13: syscheckd/seechanges.c:126:5: note: 'snprintf' output between 1 and 6160 bytes into a destination of size 4095 126 | snprintf(diff_alert, 4096 - 1, "%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | buf, n >= 19 ? | ~~~~~~~~~~~~~~ 128 | "\nMore changes.." : | ~~~~~~~~~~~~~~~~~~~~ 129 | ""); | ~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/pf_decoder.c -o analysisd/decoders/plugins/pf_decoder-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/sonicwall_decoder.c -o analysisd/decoders/plugins/sonicwall_decoder-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/symantecws_decoder.c -o analysisd/decoders/plugins/symantecws_decoder-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/compiled_rules/generic_samples.c -o analysisd/compiled_rules/generic_samples-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/accumulator.c -o analysisd/accumulator-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/active-response.c -o analysisd/active-response-test.o rootcheck/unix-process.c: In function 'os_get_process_list': rootcheck/unix-process.c:27:40: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~ In function '_os_get_runps', inlined from 'os_get_process_list' at rootcheck/unix-process.c:99:22: rootcheck/unix-process.c:27:37: note: directive argument in the range [1, 32768] 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~~~~~~~~~~~~~~~~~~~~ rootcheck/unix-process.c:27:5: note: 'snprintf' output between 19 and 1047 bytes into a destination of size 1024 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/cleanevent.c -o analysisd/cleanevent-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/config.c -o analysisd/config-test.o rootcheck/check_rc_pids.c: In function 'check_rc_pids': rootcheck/check_rc_pids.c:167:48: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 167 | snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); | ^~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-test.o In function 'loop_all_pids', inlined from 'check_rc_pids' at rootcheck/check_rc_pids.c:310:5: rootcheck/check_rc_pids.c:167:45: note: directive argument in the range [1, 32768] 167 | snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:167:13: note: 'snprintf' output between 23 and 1051 bytes into a destination of size 1024 167 | snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c: In function 'check_rc_pids': rootcheck/check_rc_pids.c:314:40: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 974 [-Wformat-truncation=] 314 | snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | "rootkits.\n %s is not trojaned. " 316 | "Analyzed %d processes.", ps, _total); | ~~ rootcheck/check_rc_pids.c:315:36: note: format string is defined here 315 | "rootkits.\n %s is not trojaned. " | ^~ rootcheck/check_rc_pids.c:314:9: note: 'snprintf' output between 94 and 1118 bytes into a destination of size 1024 314 | snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | "rootkits.\n %s is not trojaned. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 316 | "Analyzed %d processes.", ps, _total); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo.c -o analysisd/eventinfo-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo_list.c -o analysisd/eventinfo_list-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/fts.c -o analysisd/fts-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists.c -o analysisd/lists-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_list.c -o analysisd/lists_list-test.o In function 'read_sys_file', inlined from 'read_sys_dir.isra' at rootcheck/check_rc_sys.c:294:9: rootcheck/check_rc_sys.c:92:52: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] 92 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ rootcheck/check_rc_sys.c: In function 'read_sys_dir.isra': rootcheck/check_rc_sys.c:93:32: note: format string is defined here 93 | "'%s'. File size doesn't match what we found. " | ^~ In function 'read_sys_file', inlined from 'read_sys_dir.isra' at rootcheck/check_rc_sys.c:294:9: rootcheck/check_rc_sys.c:92:21: note: 'snprintf' output between 99 and 4196 bytes into a destination of size 1024 92 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | "'%s'. File size doesn't match what we found. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | "Possible kernel level rootkit.", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | file_name); | ~~~~~~~~~~ rootcheck/check_rc_sys.c: In function 'read_sys_dir.isra': rootcheck/check_rc_sys.c:121:51: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] 121 | snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In function 'read_sys_file', inlined from 'read_sys_dir.isra' at rootcheck/check_rc_sys.c:294:9: rootcheck/check_rc_sys.c:121:13: note: 'snprintf' output between 62 and 4159 bytes into a destination of size 1024 121 | snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | "and has write permissions to anyone.", file_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c: In function 'read_sys_dir.isra': rootcheck/check_rc_sys.c:39:67: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] 39 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In function 'read_sys_file', inlined from 'read_sys_dir.isra' at rootcheck/check_rc_sys.c:294:9: rootcheck/check_rc_sys.c:39:9: note: 'snprintf' output between 106 and 4203 bytes into a destination of size 1024 39 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | "Hidden from stats, but showing up on readdir. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 | "Possible kernel level rootkit.", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 42 | file_name); | ~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_make.c -o analysisd/lists_make-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules_list.c -o analysisd/rules_list-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/stats.c -o analysisd/stats-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/testrule.c -o analysisd/testrule-test.o addagent/manage_keys.c: In function 'k_bulkload': gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-test.o addagent/manage_keys.c:462:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ addagent/manage_keys.c:462:34: note: using the range [-2147483648, 2147483647] for directive argument 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~~~~~~~ addagent/manage_keys.c:462:9: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:463:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ addagent/manage_keys.c:463:34: note: using the range [-2147483648, 2147483647] for directive argument 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~~~~~~~~~ addagent/manage_keys.c:463:9: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decode-xml.c -o analysisd/decoders/decode-xml-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoder.c -o analysisd/decoders/decoder-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoders_list.c -o analysisd/decoders/decoders_list-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/geoip.c -o analysisd/decoders/geoip-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/hostinfo.c -o analysisd/decoders/hostinfo-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugin_decoders.c -o analysisd/decoders/plugin_decoders-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/rootcheck.c -o analysisd/decoders/rootcheck-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/syscheck.c -o analysisd/decoders/syscheck-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/ossecalert_decoder.c -o analysisd/decoders/plugins/ossecalert_decoder-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/pf_decoder.c -o analysisd/decoders/plugins/pf_decoder-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/sonicwall_decoder.c -o analysisd/decoders/plugins/sonicwall_decoder-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/symantecws_decoder.c -o analysisd/decoders/plugins/symantecws_decoder-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/compiled_rules/generic_samples.c -o analysisd/compiled_rules/generic_samples-test.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/makelists.c -o analysisd/makelists-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/alert.c -o os_dbd/alert.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/config.c -o os_dbd/config.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/db_op.c -o os_dbd/db_op.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/dbd.c -o os_dbd/dbd.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/dbd_help.c -o os_dbd/dbd_help.o analysisd/lists.c: In function 'Lists_OP_LoadList': analysisd/lists.c:40:52: warning: '%s' directive output may be truncated writing up to 6143 bytes into a region of size 6137 [-Wformat-truncation=] 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~ ~~~~~~~~~~ analysisd/lists.c:40:9: note: 'snprintf' output between 7 and 6150 bytes into a destination of size 6143 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:41:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ analysisd/lists.c:41:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:45:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ analysisd/lists.c:45:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:48:44: warning: '.cdb' directive output may be truncated writing 4 bytes into a region of size between 0 and 6143 [-Wformat-truncation=] 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/main.c -o os_dbd/main.o analysisd/lists.c:48:5: note: 'snprintf' output between 5 and 6148 bytes into a destination of size 6143 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/rules.c -o os_dbd/rules.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-dbd\" -c os_dbd/server.c -o os_dbd/server.o ar -crs os_zlib.a os_zlib/os_zlib.o ranlib os_zlib.a ar -crs config.a config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o ar -crs os_net.a os_net/os_net.o ar -crs os_regex.a os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o ranlib os_net.a ar -crs os_xml.a os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o ranlib config.a gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/compress_log.c -o monitord/compress_log.o ranlib os_regex.a gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/generate_reports.c -o monitord/generate_reports.o ranlib os_xml.a gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/main.c -o monitord/main.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/manage_files.c -o monitord/manage_files.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/monitor_agents.c -o monitord/monitor_agents.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/monitord.c -o monitord/monitord.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/sendcustomemail.c -o monitord/sendcustomemail.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/sign_log.c -o monitord/sign_log.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/accumulator.c -o analysisd/accumulator-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/active-response.c -o analysisd/active-response-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/cleanevent.c -o analysisd/cleanevent-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/config.c -o analysisd/config-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-live.o os_auth/ssl.c: In function 'get_ssl_context': os_auth/ssl.c:107:5: warning: 'TLSv1_2_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 107 | sslmeth = TLSv1_2_method(); | ^~~~~~~ In file included from os_auth/auth.h:38, from os_auth/ssl.c:28: /usr/include/openssl/ssl.h:2031:50: note: declared here 2031 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */ | ^~~~~~~~~~~~~~ os_auth/check_cert.c: In function 'asn1_to_cstr': os_auth/check_cert.c:306:5: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 306 | if (!(tmp = (char *)ASN1_STRING_data(astr))) { | ^~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from os_auth/check_cert.h:30, from os_auth/check_cert.c:33: /usr/include/openssl/asn1.h:680:40: note: declared here 680 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo.c -o analysisd/eventinfo-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo_list.c -o analysisd/eventinfo_list-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/fts.c -o analysisd/fts-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists.c -o analysisd/lists-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_list.c -o analysisd/lists_list-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_make.c -o analysisd/lists_make-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules_list.c -o analysisd/rules_list-live.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/stats.c -o analysisd/stats-live.o os_auth/main-server.c: In function '__generatetmppass': os_auth/main-server.c:110:41: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 31 and 63 [-Wformat-truncation=] 110 | snprintf(str1, STR_SIZE, "%d%d%s%d%s%s",(int)time(0), rand1, muname, rand2, md3, md4); | ^~ ~~~ os_auth/main-server.c:110:5: note: 'snprintf' output 4 or more bytes (assuming 68) into a destination of size 66 110 | snprintf(str1, STR_SIZE, "%d%d%s%d%s%s",(int)time(0), rand1, muname, rand2, md3, md4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-live.o analysisd/decoders/syscheck.c: In function 'DecodeSyscheck': analysisd/decoders/syscheck.c:487:46: warning: '%s' directive output may be truncated writing up to 48716 bytes into a region of size 237 [-Wformat-truncation=] 325 | saved_sum += 3; | ~~~~~~~~~~~~~~ ...... 487 | "Size changed from '%s' to '%s'\n", | ^~ In function 'DB_Search', inlined from 'DecodeSyscheck' at analysisd/decoders/syscheck.c:765:13: analysisd/decoders/syscheck.c:486:17: note: 'snprintf' output 28 or more bytes (assuming 48744) into a destination of size 256 486 | snprintf(sdb.size, OS_FLSIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 487 | "Size changed from '%s' to '%s'\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 488 | oldsize, newsize); | ~~~~~~~~~~~~~~~~~ ar -crs cdb.a analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o ranlib cdb.a gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/msgs.c -o os_crypto/shared/msgs.o ar -crs rootcheck.a rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o ranlib rootcheck.a ar rcu liblua.a lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblua.a ar -crs alerts.a analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o gcc -o ossec-lua lua.o liblua.a -lm gcc -o ossec-luac luac.o liblua.a -lm os_auth/main-server.c: In function 'main': os_auth/main-server.c:559:103: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 2004 [-Wformat-truncation=] 536 | agentname = fname; | ~~~~~ ...... 559 | snprintf(response, 2048, "ERROR: Internal manager error adding agent: %s\n\n", agentname); | ^~ os_auth/main-server.c:559:33: note: 'snprintf' output between 47 and 2095 bytes into a destination of size 2048 559 | snprintf(response, 2048, "ERROR: Internal manager error adding agent: %s\n\n", agentname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[2]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' analysisd/decoders/syscheck.c: In function 'DecodeSyscheck': analysisd/decoders/syscheck.c:487:46: warning: '%s' directive output may be truncated writing up to 48716 bytes into a region of size 237 [-Wformat-truncation=] 325 | saved_sum += 3; | ~~~~~~~~~~~~~~ ...... 487 | "Size changed from '%s' to '%s'\n", | ^~ In function 'DB_Search', inlined from 'DecodeSyscheck' at analysisd/decoders/syscheck.c:765:13: analysisd/decoders/syscheck.c:486:17: note: 'snprintf' output 28 or more bytes (assuming 48744) into a destination of size 256 486 | snprintf(sdb.size, OS_FLSIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 487 | "Size changed from '%s' to '%s'\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 488 | oldsize, newsize); | ~~~~~~~~~~~~~~~~~ analysisd/lists.c: In function 'Lists_OP_LoadList': analysisd/lists.c:40:52: warning: '%s' directive output may be truncated writing up to 6143 bytes into a region of size 6137 [-Wformat-truncation=] 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~ ~~~~~~~~~~ analysisd/lists.c:40:9: note: 'snprintf' output between 7 and 6150 bytes into a destination of size 6143 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:41:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ analysisd/lists.c:41:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:45:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ analysisd/lists.c:45:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:48:44: warning: '.cdb' directive output may be truncated writing 4 bytes into a region of size between 0 and 6143 [-Wformat-truncation=] 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~ analysisd/lists.c:48:5: note: 'snprintf' output between 5 and 6148 bytes into a destination of size 6143 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a ar -crs shared.a shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o ranlib shared.a os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:95:32: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 17 and 49 [-Wformat-truncation=] 95 | snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); | ^~ ~~~~~~~~ In function '__chash', inlined from 'OS_ReadKeys' at os_crypto/shared/keys.c:236:9: os_crypto/shared/keys.c:95:5: note: 'snprintf' output between 1 and 65 bytes into a destination of size 49 95 | snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_crypto/shared/msgs.c: In function 'CreateSecMSG': os_crypto/shared/msgs.c:412:37: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size between 6112 and 6144 [-Wformat-truncation=] 412 | snprintf(_finmsg, OS_MAXSTR, "%s%s", md5sum, _tmpmsg); | ^~ ~~~~~~~ os_crypto/shared/msgs.c:412:5: note: 'snprintf' output between 1 and 6178 bytes into a destination of size 6144 412 | snprintf(_finmsg, OS_MAXSTR, "%s%s", md5sum, _tmpmsg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/rules.c: In function 'Rules_OP_ReadRules': analysisd/rules.c:1191:25: warning: argument 3 null where non-null expected [-Wnonnull] 1191 | merror(REGEX_COMPILE, ARGV0, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1192 | config_ruleinfo->id_pcre2->error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./headers/shared.h:189, from analysisd/rules.h:17, from analysisd/rules.c:10: ./headers/debug_op.h:27:6: note: in a call to function 'merror' declared 'nonnull' 27 | void merror(const char *msg, ...) __attribute__((format(printf, 1, 2))) __attribute__((nonnull)); | ^~~~~~ ar -crs decoders-live.a analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o ar -crs os_crypto.a os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o ranlib os_crypto.a gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-maild gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_csyslogd/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-csyslogd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ agentlessd/agentlessd.o agentlessd/main.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-agentlessd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/config.o os_execd/exec.o os_execd/execd.o os_execd/win_execd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-execd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_journald.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-logcollector gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.o remoted/syslog.o remoted/syslogtcp.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-remoted gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o manage_agents gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ util/syscheck_update.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o syscheck_update gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ util/clear_stats.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o clear_stats gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ util/list_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o list_agents gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ util/agent_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -lm -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o agent_control gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ util/syscheck_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o syscheck_control gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ util/rootcheck_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o rootcheck_control gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ util/verify-agent-conf.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o verify-agent-conf gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ util/ossec-regex.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-regex gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ util/ossec-regex-convert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-regex-convert gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.o syscheckd/win-registry.o rootcheck.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-syscheckd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-monitord gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ reportd/report.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-reportd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -I./os_auth addagent/validate.o os_auth/main-server.o os_auth/ssl.o os_auth/check_cert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-authd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -lm -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-dbd ar -crs decoders-test.a analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o In file included from ./headers/shared.h:217: ./error_messages/error_messages.h:194:25: warning: '%s' directive argument is null [-Wformat-overflow=] 194 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error_messages/error_messages.h:194:25: note: in definition of macro 'REGEX_COMPILE' 194 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error_messages/error_messages.h:194:67: note: format string is defined here 194 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~ analysisd/rules.c: In function 'Rules_OP_ReadRules': analysisd/rules.c:1191:25: warning: argument 3 null where non-null expected [-Wnonnull] 1191 | merror(REGEX_COMPILE, ARGV0, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1192 | config_ruleinfo->id_pcre2->error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./headers/shared.h:189, from analysisd/rules.h:17, from analysisd/rules.c:10: ./headers/debug_op.h:27:6: note: in a call to function 'merror' declared 'nonnull' 27 | void merror(const char *msg, ...) __attribute__((format(printf, 1, 2))) __attribute__((nonnull)); | ^~~~~~ In file included from ./headers/shared.h:217: ./error_messages/error_messages.h:194:25: warning: '%s' directive argument is null [-Wformat-overflow=] 194 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error_messages/error_messages.h:194:25: note: in definition of macro 'REGEX_COMPILE' 194 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error_messages/error_messages.h:194:67: note: format string is defined here 194 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~ gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ -DTESTRULE analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/json_extended.o analysisd/format/to_json.o analysisd/testrule-test.o analysisd/analysisd-test.o alerts.a cdb.a decoders-test.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz "-lsqlite3" -o ossec-logtest gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/analysisd-live.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/json_extended.o analysisd/format/to_json.o alerts.a cdb.a decoders-live.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz "-lsqlite3" -o ossec-analysisd gcc -Os -fomit-frame-pointer -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ analysisd/makelists-live.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/format/json_extended.o analysisd/format/to_json.o alerts.a cdb.a decoders-live.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -o ossec-makelists make settings make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' General settings: TARGET: local V: 1 DEBUG: DEBUGAD: PREFIX: /var/ossec MAXAGENTS: 2048 REUSE_ID: no DATABASE: sqlite ONEWAY: no CLEANFULL: no User settings: OSSEC_GROUP: ossec OSSEC_USER: ossec OSSEC_USER_MAIL: ossecm OSSEC_USER_REM: ossecr ZLIB settings: ZLIB_SYSTEM: yes ZLIB_INCLUDE: ZLIB_LIB: os_zlib.a PCRE2 settings: PCRE2_SYSTEM: yes PCRE2_INCLUDE: Lua settings: LUA_PLAT: posix LUA_ENABLE: yes USE settings: USE_ZEROMQ: yes USE_GEOIP: yes USE_PRELUDE: no USE_OPENSSL: auto USE_INOTIFY: yes USE_SQLITE: yes USE_PCRE2_JIT: yes USE_SYSTEMD: no Mysql settings: includes: libs: Pgsql settings: includes: libs: Defines: -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL Compiler: CFLAGS -Os -fomit-frame-pointer -I./external/compat -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ LDFLAGS -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz CC gcc MAKE make make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' Done building local cd external/lua-5.2.3/ && make posix make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' cd src && make posix make[2]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make all SYSCFLAGS="-DLUA_USE_POSIX" make[3]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[2]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' make DEBUG=1 TEST=1 test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 -c tests/test_os_zlib.c -o tests/test_os_zlib.o gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 -c tests/test_os_xml.c -o tests/test_os_xml.o gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 tests/test_os_regex.c os_regex.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -lcheck -lm -pthread -lrt -lsubunit -o test_os_regex gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 tests/test_os_crypto.c os_crypto.a shared.a os_xml.a os_net.a os_regex.a os_zlib.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -lcheck -lm -pthread -lrt -lsubunit -o test_os_crypto gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 tests/test_shared.c shared.a os_xml.a os_net.a os_regex.a libcJSON.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -lcheck -lm -pthread -lrt -lsubunit -o test_shared gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 tests/test_os_zlib.o os_zlib.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -lcheck -lm -pthread -lrt -lsubunit -o test_os_zlib tests/test_os_xml.c: In function 'nodecat': tests/test_os_xml.c:35:9: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 35 | strncat(buffer, "<", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ tests/test_os_xml.c:43:17: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 43 | strncat(buffer, " ", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ tests/test_os_xml.c:46:17: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 46 | strncat(buffer, "=", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ tests/test_os_xml.c:47:17: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 47 | strncat(buffer, "\"", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/test_os_xml.c:49:17: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 49 | strncat(buffer, "\"", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/test_os_xml.c:56:9: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 56 | strncat(buffer, ">", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ tests/test_os_xml.c:68:9: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] 68 | strncat(buffer, "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fomit-frame-pointer -I./external/compat -I./external/compat -g -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -g -O0 tests/test_os_xml.o os_xml.a -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz -lcheck -lm -pthread -lrt -lsubunit -o test_os_xml make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' make run_tests make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' Running suite(s): os_zlib 100%: Checks: 9, Failures: 0, Errors: 0 Running suite(s): os_xml 100%: Checks: 44, Failures: 0, Errors: 0 Running suite(s): os_regex 100%: Checks: 30, Failures: 0, Errors: 0 Running suite(s): os_crypto 100%: Checks: 9, Failures: 0, Errors: 0 Running suite(s): shared 100%: Checks: 1, Failures: 0, Errors: 0 make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' >>> ossec-hids-local: Entering fakeroot... cd external/lua-5.2.3/ && make posix make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' cd src && make posix make[2]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make all SYSCFLAGS="-DLUA_USE_POSIX" make[3]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[2]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3/src' make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src/external/lua-5.2.3' make settings make[1]: Entering directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' General settings: TARGET: local V: 1 DEBUG: DEBUGAD: PREFIX: /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec MAXAGENTS: 2048 REUSE_ID: no DATABASE: sqlite ONEWAY: no CLEANFULL: no User settings: OSSEC_GROUP: ossec OSSEC_USER: ossec OSSEC_USER_MAIL: ossecm OSSEC_USER_REM: ossecr ZLIB settings: ZLIB_SYSTEM: yes ZLIB_INCLUDE: ZLIB_LIB: os_zlib.a PCRE2 settings: PCRE2_SYSTEM: yes PCRE2_INCLUDE: Lua settings: LUA_PLAT: posix LUA_ENABLE: yes USE settings: USE_ZEROMQ: yes USE_GEOIP: yes USE_PRELUDE: no USE_OPENSSL: auto USE_INOTIFY: yes USE_SQLITE: yes USE_PCRE2_JIT: yes USE_SYSTEMD: no Mysql settings: includes: libs: Pgsql settings: includes: libs: Defines: -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL Compiler: CFLAGS -Os -fomit-frame-pointer -I./external/compat -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DINOTIFY_ENABLED -DZEROMQ_OUTPUT_ENABLED -DLIBGEOIP_ENABLED -DSQLITE_ENABLED -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/ LDFLAGS -Wl,--as-needed,-O1,--sort-common -lm -lpthread -lpcre2-8 -lzmq -lczmq -lm -lGeoIP -lssl -lcrypto -lz CC gcc MAKE make make[1]: Leaving directory '/home/buildozer/aports/community/ossec-hids-local/src/ossec-hids-3.7.0/src' Done building local install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/ install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/logs install -m 0660 -o ossec -g ossec /dev/null /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/logs/ossec.log install -m 0550 -o root -g 0 -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-logcollector /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-syscheckd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-execd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 manage_agents /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ../contrib/util.sh /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 ./init/ossec-local.sh /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ossec-control install -m 0550 -o root -g 0 -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/lua install -m 0550 -o root -g 0 -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/lua/native install -m 0550 -o root -g 0 -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/lua/compiled install -m 0550 -o root -g 0 external/lua-5.2.3/src/ossec-lua /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 external/lua-5.2.3/src/ossec-luac /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue install -m 0770 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/alerts install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/ossec install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/syscheck install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/diff install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc install -m 1550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/tmp install -m 0640 -o root -g ossec -b ../etc/internal_options.conf /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/ install -m 0640 -o root -g ossec ../etc/local_internal_options.conf /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/local_internal_options.conf install -m 0640 -o root -g ossec /dev/null /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/client.keys install -m 0640 -o root -g ossec ../etc/ossec-local.conf /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/ossec.conf install -m 0770 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/shared install -m 0640 -o ossec -g ossec rootcheck/db/*.txt /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/shared/ install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/active-response install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/active-response/bin install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/agentless install -m 0550 -o root -g ossec agentlessd/scripts/* /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/agentless/ install -m 0700 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/.ssh install -m 0550 -o root -g ossec ../active-response/*.sh /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/active-response/bin/ install -m 0550 -o root -g ossec ../active-response/firewalls/*.sh /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/active-response/bin/ install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/var install -m 0770 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/var/run ./init/fw-check.sh execute install -m 0660 -o ossec -g ossec /dev/null /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/logs/active-responses.log install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/logs/archives install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/logs/alerts install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/logs/firewall install -m 0550 -o root -g 0 ossec-agentlessd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-analysisd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-monitord /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-reportd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-maild /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-remoted /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-logtest /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-csyslogd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-authd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-dbd /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 ossec-makelists /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin install -m 0550 -o root -g 0 verify-agent-conf /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 clear_stats /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 list_agents /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 ossec-regex /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 syscheck_update /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 agent_control /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 syscheck_control /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0550 -o root -g 0 rootcheck_control /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/bin/ install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/stats install -m 0550 -o root -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/rules install -m 0640 -o root -g ossec -b ../etc/rules/*.xml /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/rules install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/fts install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/rootcheck install -m 0750 -o ossecr -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/agent-info install -m 0750 -o ossec -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/agentless install -m 0750 -o ossecr -g ossec -d /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/queue/rids install -m 0640 -o root -g ossec ../etc/decoder.xml /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/ rm -f /home/buildozer/aports/community/ossec-hids-local/pkg/ossec-hids-local/var/ossec/etc/shared/merged.mg >>> ossec-hids-local-doc*: Running split function doc... >>> ossec-hids-local-doc*: Preparing subpackage ossec-hids-local-doc... >>> ossec-hids-local-doc*: Running postcheck for ossec-hids-local-doc >>> ossec-hids-local*: Running postcheck for ossec-hids-local >>> ossec-hids-local*: Preparing package ossec-hids-local... >>> ossec-hids-local*: Stripping binaries >>> ossec-hids-local-doc*: Scanning shared objects >>> ossec-hids-local*: Scanning shared objects >>> ossec-hids-local-doc*: Tracing dependencies... >>> ossec-hids-local-doc*: Package size: 760.0 KB >>> ossec-hids-local-doc*: Compressing data... >>> ossec-hids-local-doc*: Create checksum... >>> ossec-hids-local-doc*: Create ossec-hids-local-doc-3.7.0-r0.apk >>> ossec-hids-local*: Tracing dependencies... inotify-tools procps ossec-hids-openrc so:libGeoIP.so.1 so:libc.musl-ppc64le.so.1 so:libcrypto.so.3 so:libczmq.so.4 so:libpcre2-8.so.0 so:libsqlite3.so.0 so:libssl.so.3 so:libz.so.1 >>> ossec-hids-local*: Package size: 6.4 MB >>> ossec-hids-local*: Compressing data... >>> ossec-hids-local*: Create checksum... >>> ossec-hids-local*: Create ossec-hids-local-3.7.0-r0.apk >>> ossec-hids-local: Build complete at Mon, 31 Oct 2022 15:01:22 +0000 elapsed time 0h 0m 11s >>> ossec-hids-local: Cleaning up srcdir >>> ossec-hids-local: Cleaning up pkgdir >>> ossec-hids-local: Uninstalling dependencies... (1/51) Purging .makedepends-ossec-hids-local (20221031.150115) (2/51) Purging inotify-tools (3.22.6.0-r0) (3/51) Purging procps (3.3.17-r2) (4/51) Purging ossec-hids-openrc (3.7.0-r0) (5/51) Purging linux-headers (5.19.5-r0) (6/51) Purging openssl-dev (3.0.5-r3) (7/51) Purging libevent-dev (2.1.12-r5) (8/51) Purging python3 (3.10.8-r3) (9/51) Purging libevent (2.1.12-r5) (10/51) Purging inotify-tools-dev (3.22.6.0-r0) (11/51) Purging inotify-tools-libs (3.22.6.0-r0) (12/51) Purging findutils (4.9.0-r2) (13/51) Purging pcre2-dev (10.40-r0) (14/51) Purging libedit-dev (20221009.3.1-r0) (15/51) Purging bsd-compat-headers (0.7.2-r3) (16/51) Purging ncurses-dev (6.3_p20221029-r0) (17/51) Purging zlib-dev (1.2.13-r0) (18/51) Purging libpcre2-16 (10.40-r0) (19/51) Purging libpcre2-32 (10.40-r0) (20/51) Purging sqlite-dev (3.39.4-r0) (21/51) Purging sqlite-libs (3.39.4-r0) (22/51) Purging lua5.3-dev (5.3.6-r4) (23/51) Purging lua5.3 (5.3.6-r4) (24/51) Purging lua5.3-libs (5.3.6-r4) (25/51) Purging geoip-dev (1.6.12-r3) (26/51) Purging geoip (1.6.12-r3) (27/51) Purging czmq-dev (4.2.1-r2) (28/51) Purging czmq (4.2.1-r2) (29/51) Purging check-dev (0.15.2-r1) (30/51) Purging check (0.15.2-r1) (31/51) Purging subunit-dev (1.4.0-r3) (32/51) Purging subunit-libs (1.4.0-r3) (33/51) Purging libintl (0.21.1-r1) (34/51) Purging libproc (3.3.17-r2) (35/51) Purging libbz2 (1.0.8-r3) (36/51) Purging libffi (3.4.4-r0) (37/51) Purging gdbm (1.23-r0) (38/51) Purging xz-libs (5.2.7-r0) (39/51) Purging mpdecimal (2.5.1-r1) (40/51) Purging readline (8.2.0-r0) (41/51) Purging linenoise (1.0-r2) (42/51) Purging util-linux-dev (2.38.1-r0) (43/51) Purging libfdisk (2.38.1-r0) (44/51) Purging libmount (2.38.1-r0) (45/51) Purging libsmartcols (2.38.1-r0) (46/51) Purging libuuid (2.38.1-r0) (47/51) Purging zeromq-dev (4.3.4-r1) (48/51) Purging libzmq (4.3.4-r1) (49/51) Purging libsodium-dev (1.0.18-r2) (50/51) Purging libsodium (1.0.18-r2) (51/51) Purging libblkid (2.38.1-r0) Executing busybox-1.35.0-r27.trigger OK: 289 MiB in 92 packages >>> ossec-hids-local: Updating the community/ppc64le repository index... >>> ossec-hids-local: Signing the index...