Commit report for master branch

The git bot announce at freeradius.org
Tue Apr 14 02:00:03 CEST 2020


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl6U8/IACgkQ/6TVgp+2
 18qhqRAAk/Cu4sk0T3b2453dDcw2wBjTBtkI0Rv1mwUqk1DrcxrFvVGl8Feo+dvX
 x1ZCckcxFyo9eODigk5GQf2efcNPiiKjQvk3R5yCSaIJr/qH5a0mHQTftiyD4dTP
 H5+5pgL5NNfEuz1znipyRyG2ZktCNBO3o7bY25IFsTsOkauv26wR4dCL7+wmQisR
 xMUr2MPP1xM+eKAeweZJRQBnv+5s1K0OzrYg7OX4HdZemePj7Cvzv2U7U3i1kjza
 PUAaVJ5J3T0qYV714+C6KBcz5UTG8jzviSx1UskkLE3XINmXRAN2qQPqpwljyi8G
 U6XEgSYyackowzPwZkO6Tm4cJxEjy++qC9AAViZhe5vvaxKl87WKTwb35BbuQCC/
 8ErJT4NZhfln90wP1tVpT8yzC1mMJh9vb+44htMP+5Whc/ZAE5YIL3FGoU4xXLbg
 /PMMG+2rCmj6/qLZh6GB0ZO7TL5n4wBuVTYyxRxNqJkdMWCppcl5ULrq3DL9A79p
 LNIclRDzT1YamO1NUZBHlNdaFlwIR/fITk09IZljeD3C9WdCilOfOWL03ABQDUMk
 rMsr2dmDiBIB4GYjINrcBIwIRkM9Jz6gb42Xf1Pcu+YuY6hyquuAMYJsi2FYmZlU
 7BHqc9cctzk5G6uCLj7LvmTA2ZSnatwIA+Xagb4FDtY+1wGWM5A=
 =rzUF
 -----END PGP SIGNATURE-----

Remove all calls to exit() and _Exit() except where hey're absolutely necessary

Arran Cudbard-Bell at 2020-04-13T23:21:22Z
Files modified:
	* src/bin/fuzzer.c
	* src/bin/radclient.c
	* src/bin/radict.c
	* src/bin/radiusd.c
	* src/bin/radmin.c
	* src/bin/radsniff.c
	* src/bin/radsnmp.c
	* src/bin/radwho.c
	* src/bin/unit_test_attribute.c
	* src/bin/unit_test_map.c
	* src/bin/unit_test_module.c
	* src/include/build.h
	* src/lib/io/network.c
	* src/lib/io/schedule.c
	* src/lib/server/log.c
	* src/lib/server/request.c
	* src/lib/server/tmpl.c
	* src/lib/server/util.c
	* src/lib/sim/comp128.c
	* src/lib/unlang/foreach.c
	* src/lib/util/debug.c
	* src/lib/util/debug.h
	* src/lib/util/dict_util.c
	* src/lib/util/event.c
	* src/lib/util/hash.c
	* src/lib/util/heap.c
	* src/lib/util/hmac_md5.c
	* src/lib/util/hmac_sha1.c
	* src/lib/util/pair.c
	* src/lib/util/socket.c
	* src/lib/util/trie.c
	* src/lib/util/udpfromto.c
	* src/modules/proto_control/radmin.c
	* src/modules/proto_dhcpv4/dhcpclient.c
	* src/modules/proto_ldap_sync/sync_touch.c
	* src/modules/rlm_logintime/timestr.c
	* src/modules/rlm_redis_ippool/rlm_redis_ippool_tool.c
	* src/modules/rlm_sigtran/libosmo-m3ua/bsc.c
	* src/protocols/radius/list.c
	* src/tests/util/atomic_queue_test.c
	* src/tests/util/channel_test.c
	* src/tests/util/control_test.c
	* src/tests/util/message_set_test.c
	* src/tests/util/radius1_test.c
	* src/tests/util/radius_schedule_test.c
	* src/tests/util/ring_buffer_test.c
	* src/tests/util/schedule_test.c
	* src/tests/util/worker_test.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/eebf808c9ff4d12bdc5942791626a4745cc12506
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl6U4GYACgkQ/6TVgp+2
 18qPfA//YyTglxNU50Snb2/0Uwfpuzaj9w0gVHEZ93QGKZLWKvn6HavGEKTojBAT
 Wjb7YKuQZUyiTFd9NvTiuPT9Q0iDET6tDof0nSycz351qtv9rYK8LvqvPevXmXLq
 r27tpyev+4Ni6KGE4vPmmMCNwhUXzkDpVW/HzJiKaVlL8qH63naNUTATzUUip1Sq
 QdLNOCnx5r7H3RagEOGbbJLP/pzbQe2/nbz0H2j8Yd6BfVaXY0eIME089BUsDN9V
 A6Or/glp2hzKRADuNhIm8nlz2M7GES/NchdAi0Xg7CGECE+heXnt/R5OdDgl9/cX
 JgHvxYD28KNqGhJgKsuIBF7HNJrg1WyxdI0BVYQEfV7/kxO4QrT1ioJZ6lnKR+WI
 tJ5iE/LPvgssiC1Cg/uRVnrOwoVZDai016+v30V3RF7ol/bn8/wKjCH1ypeHeSGn
 jAEcwm55KY+8IECuJwATCIxcUlxE3p1ZiMzvU+xdCpvccfn0Vowt3zqomFNALCzU
 EJHg7dtfKdM+L27uQ4yRfOqDQ35mGfvG1Hq5Ls7bmZC73zIalPiV6uujhiucMlEF
 71MINFj3e7sK+sW827tEw1tJOzbZX1IvOiPKfc+dRSpmSLrGs1lXjiFMdn5GQxvR
 H3+pYKRuEkEueULybEkhsLrASvQqlhh1Gg35vNgddNY9a5XS7h4=
 =lapn
 -----END PGP SIGNATURE-----

Fixup assert macros

# Conflicts:
#	src/lib/unlang/tmpl.c

Arran Cudbard-Bell at 2020-04-13T21:57:58Z
Files modified:
	* src/bin/radiusd.c
	* src/bin/radmin.c
	* src/bin/unit_test_attribute.c
	* src/bin/unit_test_module.c
	* src/lib/curl/io.c
	* src/lib/eap/base.c
	* src/lib/eap/base.h
	* src/lib/eap/chbind.c
	* src/lib/eap/compose.c
	* src/lib/eap/session.c
	* src/lib/eap/tls.c
	* src/lib/eap_aka_sim/attrs.h
	* src/lib/eap_aka_sim/base.c
	* src/lib/eap_aka_sim/crypto.c
	* src/lib/eap_aka_sim/decode.c
	* src/lib/eap_aka_sim/encode.c
	* src/lib/eap_aka_sim/state_machine.c
	* src/lib/eap_aka_sim/vector.c
	* src/lib/io/app_io.c
	* src/lib/io/channel.c
	* src/lib/io/control.c
	* src/lib/io/master.c
	* src/lib/io/message.c
	* src/lib/io/network.c
	* src/lib/io/queue.c
	* src/lib/io/ring_buffer.c
	* src/lib/io/schedule.c
	* src/lib/io/time_tracking.h
	* src/lib/io/worker.c
	* src/lib/json/jpath.c
	* src/lib/json/json.c
	* src/lib/ldap/base.c
	* src/lib/ldap/bind.c
	* src/lib/ldap/connection.c
	* src/lib/ldap/edir.c
	* src/lib/ldap/map.c
	* src/lib/ldap/sasl.c
	* src/lib/ldap/sasl_s.c
	* src/lib/ldap/start_tls.c
	* src/lib/redis/cluster.c
	* src/lib/redis/io.c
	* src/lib/redis/io.h
	* src/lib/redis/pipeline.c
	* src/lib/redis/redis.c
	* src/lib/redis/test.c
	* src/lib/server/auth.c
	* src/lib/server/cf_file.c
	* src/lib/server/cf_parse.c
	* src/lib/server/cf_util.c
	* src/lib/server/client.c
	* src/lib/server/command.c
	* src/lib/server/cond_eval.c
	* src/lib/server/cond_tokenize.c
	* src/lib/server/connection.c
	* src/lib/server/dl_module.c
	* src/lib/server/exec.c
	* src/lib/server/exfile.c
	* src/lib/server/log.c
	* src/lib/server/main_config.c
	* src/lib/server/main_loop.c
	* src/lib/server/map.c
	* src/lib/server/map.h
	* src/lib/server/map_proc.c
	* src/lib/server/map_proc_priv.h
	* src/lib/server/module.c
	* src/lib/server/paircmp.c
	* src/lib/server/pairmove.c
	* src/lib/server/password.c
	* src/lib/server/pool.c
	* src/lib/server/rad_assert.h
	* src/lib/server/regex.c
	* src/lib/server/request.c
	* src/lib/server/request.h
	* src/lib/server/request_data.c
	* src/lib/server/snmp.c
	* src/lib/server/state.c
	* src/lib/server/stats.c
	* src/lib/server/tmpl.c
	* src/lib/server/trigger.c
	* src/lib/server/trunk.c
	* src/lib/server/trunk_tests.c
	* src/lib/server/users_file.c
	* src/lib/server/util.c
	* src/lib/server/virtual_servers.c
	* src/lib/sim/attrs.h
	* src/lib/sim/base.c
	* src/lib/soh/soh.c
	* src/lib/tls/base.c
	* src/lib/tls/cache.c
	* src/lib/tls/conf.c
	* src/lib/tls/ctx.c
	* src/lib/tls/log.c
	* src/lib/tls/ocsp.c
	* src/lib/tls/session.c
	* src/lib/tls/validate.c
	* src/lib/unlang/base.c
	* src/lib/unlang/compile.c
	* src/lib/unlang/condition.c
	* src/lib/unlang/foreach.c
	* src/lib/unlang/interpret.c
	* src/lib/unlang/load_balance.c
	* src/lib/unlang/map.c
	* src/lib/unlang/module.c
	* src/lib/unlang/module_priv.h
	* src/lib/unlang/parallel.c
	* src/lib/unlang/subrequest.c
	* src/lib/unlang/switch.c
	* src/lib/unlang/tmpl.c
	* src/lib/unlang/unlang_priv.h
	* src/lib/unlang/xlat.c
	* src/lib/unlang/xlat_builtin.c
	* src/lib/unlang/xlat_eval.c
	* src/lib/unlang/xlat_inst.c
	* src/lib/unlang/xlat_tokenize.c
	* src/lib/util/debug.c
	* src/lib/util/debug.h
	* src/lib/util/dl.c
	* src/lib/util/event.c
	* src/lib/util/pair_print.c
	* src/lib/util/time.h
	* src/lib/util/uint128.h
	* src/modules/proto_arp/proto_arp.c
	* src/modules/proto_bfd/proto_bfd.c
	* src/modules/proto_control/proto_control.c
	* src/modules/proto_control/proto_control_tcp.c
	* src/modules/proto_control/proto_control_unix.c
	* src/modules/proto_detail/proto_detail.c
	* src/modules/proto_detail/proto_detail_file.c
	* src/modules/proto_detail/proto_detail_process.c
	* src/modules/proto_detail/proto_detail_work.c
	* src/modules/proto_dhcpv4/proto_dhcpv4.c
	* src/modules/proto_dhcpv4/proto_dhcpv4_process.c
	* src/modules/proto_dhcpv4/proto_dhcpv4_udp.c
	* src/modules/proto_ldap_sync/proto_ldap_sync.c
	* src/modules/proto_ldap_sync/sync.c
	* src/modules/proto_ldap_sync/sync_touch.c
	* src/modules/proto_radius/dynamic_clients.c
	* src/modules/proto_radius/proto_radius.c
	* src/modules/proto_radius/proto_radius_acct.c
	* src/modules/proto_radius/proto_radius_auth.c
	* src/modules/proto_radius/proto_radius_coa.c
	* src/modules/proto_radius/proto_radius_dynamic_client.c
	* src/modules/proto_radius/proto_radius_load.c
	* src/modules/proto_radius/proto_radius_status.c
	* src/modules/proto_radius/proto_radius_tcp.c
	* src/modules/proto_radius/proto_radius_udp.c
	* src/modules/proto_tacacs/proto_tacacs.c
	* src/modules/proto_vmps/proto_vmps.c
	* src/modules/proto_vmps/proto_vmps_dynamic_client.c
	* src/modules/proto_vmps/proto_vmps_process.c
	* src/modules/proto_vmps/proto_vmps_udp.c
	* src/modules/rlm_attr_filter/rlm_attr_filter.c
	* src/modules/rlm_cache/drivers/rlm_cache_memcached/rlm_cache_memcached.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_cache/drivers/rlm_cache_redis/rlm_cache_redis.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_chap/rlm_chap.c
	* src/modules/rlm_cipher/rlm_cipher.c
	* src/modules/rlm_client/rlm_client.c
	* src/modules/rlm_couchbase/rlm_couchbase.c
	* src/modules/rlm_csv/rlm_csv.c
	* src/modules/rlm_delay/rlm_delay.c
	* src/modules/rlm_detail/rlm_detail.c
	* src/modules/rlm_dict/rlm_dict.c
	* src/modules/rlm_digest/rlm_digest.c
	* src/modules/rlm_eap/rlm_eap.c
	* src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c
	* src/modules/rlm_eap/types/rlm_eap_aka_prime/rlm_eap_aka_prime.c
	* src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
	* src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c
	* src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
	* src/modules/rlm_eap/types/rlm_eap_md5/eap_md5.c
	* src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c
	* src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c
	* src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
	* src/modules/rlm_escape/rlm_escape.c
	* src/modules/rlm_example/rlm_example.c
	* src/modules/rlm_exec/rlm_exec.c
	* src/modules/rlm_expr/rlm_expr.c
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c
	* src/modules/rlm_json/rlm_json.c
	* src/modules/rlm_krb5/krb5.c
	* src/modules/rlm_krb5/rlm_krb5.c
	* src/modules/rlm_ldap/clients.c
	* src/modules/rlm_ldap/conn.c
	* src/modules/rlm_ldap/groups.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_ldap/user.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_logtee/rlm_logtee.c
	* src/modules/rlm_lua/lua.c
	* src/modules/rlm_lua/rlm_lua.c
	* src/modules/rlm_mruby/rlm_mruby.c
	* src/modules/rlm_mschap/auth_wbclient.c
	* src/modules/rlm_mschap/mschap.c
	* src/modules/rlm_mschap/opendir.c
	* src/modules/rlm_mschap/rlm_mschap.c
	* src/modules/rlm_opendirectory/rlm_opendirectory.c
	* src/modules/rlm_pap/rlm_pap.c
	* src/modules/rlm_passwd/rlm_passwd.c
	* src/modules/rlm_perl/rlm_perl.c
	* src/modules/rlm_python/rlm_python.c
	* src/modules/rlm_radius/rlm_radius.c
	* src/modules/rlm_radius/rlm_radius_udp.c
	* src/modules/rlm_radius/track.c
	* src/modules/rlm_radutmp/rlm_radutmp.c
	* src/modules/rlm_redis/rlm_redis.c
	* src/modules/rlm_redis_ippool/rlm_redis_ippool.c
	* src/modules/rlm_redis_ippool/rlm_redis_ippool_tool.c
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/modules/rlm_rest/io.c
	* src/modules/rlm_rest/rest.c
	* src/modules/rlm_rest/rlm_rest.c
	* src/modules/rlm_securid/mem.c
	* src/modules/rlm_securid/rlm_securid.c
	* src/modules/rlm_securid/rlm_securid.h
	* src/modules/rlm_sigtran/client.c
	* src/modules/rlm_sigtran/event.c
	* src/modules/rlm_sigtran/rlm_sigtran.c
	* src/modules/rlm_sigtran/sccp.c
	* src/modules/rlm_sigtran/sigtran.c
	* src/modules/rlm_sometimes/rlm_sometimes.c
	* src/modules/rlm_sql/drivers/rlm_sql_cassandra/rlm_sql_cassandra.c
	* src/modules/rlm_sql/drivers/rlm_sql_db2/rlm_sql_db2.c
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/rlm_sql_firebird.c
	* src/modules/rlm_sql/drivers/rlm_sql_freetds/rlm_sql_freetds.c
	* src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.c
	* src/modules/rlm_sql/drivers/rlm_sql_oracle/rlm_sql_oracle.c
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/rlm_sql_postgresql.c
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c
	* src/modules/rlm_sql/drivers/rlm_sql_unixodbc/rlm_sql_unixodbc.c
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sql/sql.c
	* src/modules/rlm_sqlcounter/rlm_sqlcounter.c
	* src/modules/rlm_sqlippool/rlm_sqlippool.c
	* src/modules/rlm_stats/rlm_stats.c
	* src/modules/rlm_test/rlm_test.c
	* src/modules/rlm_unbound/io.c
	* src/modules/rlm_winbind/auth_wbclient_pap.c
	* src/modules/rlm_winbind/rlm_winbind.c
	* src/protocols/tacacs/base.c
	* src/protocols/tacacs/decode.c
	* src/protocols/tacacs/encode.c
	* src/tests/util/atomic_queue_test.c
	* src/tests/util/channel_test.c
	* src/tests/util/control_test.c
	* src/tests/util/message_set_test.c
	* src/tests/util/radius1_test.c
	* src/tests/util/radius_schedule_test.c
	* src/tests/util/ring_buffer_test.c
	* src/tests/util/schedule_test.c
	* src/tests/util/worker_test.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/aeb8d49ba823ee69f8a032b25d1bbf3a1b0c5018
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6U3zkACgkQfQ55zXdi
 Hs2LCggAmYtfxBpB9R6ojcW+BZHrFuHiKQHU4VPwLcbd7sJtTgdImW3NED08xjji
 ubmrQ0l0rR8kw76LmqBikiwdJxMRhPpueKtcPj2cfBkENw/d3r7SPbGDyuVL1JDv
 GdeCB290GErpvUJDLtsau028tDINB8ehYDQ8fZ8VJN20SeuIChSGTt8h9SnFaIZW
 FTHqBelbTeG1mXDzxo9CUYztWoliQ0o3d8ACDVuv4fwzr32QKzE2YLq4iNYw1ZN5
 s6STdWmG284j0p3USlJKqpwqZSClxWbfbRcvX/vbCjR58XkoBys+ivgvoNskBVpk
 oOUAF0CjfL8jq1pz1ZwyBN/TJYAEDA==
 =3flp
 -----END PGP SIGNATURE-----

minor clean ups and bug fixes so that it works

Alan T. DeKok at 2020-04-13T21:52:49Z
Files modified:
	* src/lib/unlang/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f5c4c8a2f32c3aa377fb52aa7ae051c4bbf979d3
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6U3qUACgkQfQ55zXdi
 Hs3bUggApCLHrSE/WXE427+8teBBv+qyzWuXVngv3aAFxE9F/H4MZAorjSUsEKad
 GaVx8/M9+yy5m2oYngnWO2ca8V19Jr6G/9YaKf/jqJLg8Vm5OjnOFw7dfYjxxlNc
 KL1sPkNu9SWs8qNF0ohPnymbEgV/FKr4UIy6lWmuZYrHQksIc1vh2cp8tHgRgkAx
 /YpgLCsFr/7beyexo4hFYT196LwSEpa4NjEHUZWUnPrya7xfTaOSh9oqmvivKCmA
 57o7TevLPd6RMbMpCEqA5OvkggUcKJffNQCF40hHQ29xXEsLqakZrFiD6/E3IgaI
 Ee0R8aZ8Pb5PyH7IzrEU1oLo+7S95Q==
 =bAud
 -----END PGP SIGNATURE-----

kevent() will return an error if the process has already exited

so we just call waitpid() to reap its status

Alan T. DeKok at 2020-04-13T21:50:08Z
Files modified:
	* src/lib/util/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bbf9fa5fc3c750397ea4a2772c459814a0416bde
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6U2nsACgkQfQ55zXdi
 Hs1/PggAnVIH7b+f7gjfWsXqMQzvOvY9s9LPxKu1Xxh2C6HLLzqnUUnB6uWCXI84
 GBvnB065mPAPY6Yd7SO7R3FI72ECAdAsF3LWAY1342qlG+AOtEWYkVAuoKD2cqO8
 k/cWGbhNIjmOmK31KVHniOib5K4hAnxjb5dAWv/7Xo3VhaA9doKULPsQlrIf+H5c
 OXTRn1M08WkTGmnDeKDFCyNWuCglMgK2zppJKW7GFvwMjc+kqMhcReXj1rbgMeo/
 +/GwSDyuxlPom4dLL6Br0+bANx2XrADGuXuVL7uLBQkM9ge9echwlDw7CADSsohQ
 lnv5DYplnaDQgnDyFXhMpgVIaju7cg==
 =S2OW
 -----END PGP SIGNATURE-----

return the child_fd to the caller

because fr_exec_child() doesn't do it

Alan T. DeKok at 2020-04-13T21:32:29Z
Files modified:
	* src/lib/server/exec.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/958e9606f9f34d3ebad9978e2602e41a656379ab
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6U2mQACgkQfQ55zXdi
 Hs1dIQf+M30XxJntWZNgv7onu+qDyPFqzr9dODpsdhoBd8DIxQI15RK3qwXBZwo+
 zxLeZ5cEkTOi5F2QNO9IirrTeozSqFOp1Yu/MVrqMxFChO3VX4mdGc28/gwKLtL9
 YCxC4MgLp3YB8hR4hzlYbGbrmMuUffCwrrghs7zl7Z7o1CFIH8RRArlkJY8IWiy8
 luX8Uh4yJHtWx8RJ2BzFAtiWyb5+LPGpTJN4F/x+r6rixK7pJmzFKQ0hl9Rlt2jT
 pJrUYkOBeIXv/fUbgU+4LZgjmIBVNQuIPPmh1HGAVAig0mzb7EK2pQfq3Fqr6DAj
 eTtA+cFUyUPa+bepelNJelPz2VY26A==
 =i/Pv
 -----END PGP SIGNATURE-----

it helps to wait for the child...

Alan T. DeKok at 2020-04-13T21:32:13Z
Files modified:
	* src/lib/server/exec.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1cb87e5af9a4affb20afea5e8071ec0ccfab90e0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6UzbAACgkQfQ55zXdi
 Hs0hiwf9EDr5N1D2wdV10aAxSTWEOQzf9/8zgJ2UnIYXXuGzC78cStz1du8YU1VZ
 54AMiZ+GnVLkRfXWu/XCOmjN5s3LLosP08ZKkvzrkPEkegwXmC6H6NiMQHRLVaZz
 QcQvQDFn2T0/3iwnBxFbJBhUPEa9Ehy0NfjgthmfijJHa6N4dMLydmOg7U/VGkW1
 WKwNduyo9GezS3LmXiJntVBRsnS8/5LJPLGLxYEZopB2sm8e00a/TOWEDp94YoEh
 Di1riV/BG6mxvIahh/1yEIvLUF82QXC9+ef6aYDxGYhYffKMvYuVUVAM2tMljur+
 cIqK1tcnUhJKfWWx+mizx6xjqtc3Lg==
 =VG7S
 -----END PGP SIGNATURE-----

add unlang_module_yield_to_tmpl()

Alan T. DeKok at 2020-04-13T20:38:05Z
Files modified:
	* src/lib/unlang/module.c
	* src/lib/unlang/module.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b9c515934d4944df09a9a162702e3e56f3f0cea6
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6UgjEACgkQfQ55zXdi
 Hs1/Ugf+NTRlmipj9grFBTJ7k2wwQhW62PZ5tPgodFg7YDIifcVjNKJBlk0aiAw5
 NySUAwygc0NFKLkKQgI1kZVAQ1qHmKVQnf6OZrn6hbDv5mZiKAb8UGZQV7XryPAv
 +kGOGrltJNauQF/PdoCz8bzVr9Bhzqcrpr7IaBCjc2o1XqH5tZbrlSnChcxOloF3
 hAL5neG1PNuc6+OL6hD6VMytARJJIBoRmdqPdmjXu/y7oaI7344H8UXmiWDDSu9P
 9KlySCCRnPbx/mn2bQ4VSx8rh/9/JdJzEiyTE/caE/HEpVdo+571+unU9hIsD73V
 bdx27BseM/ZqjXPGptWFfV04MLCH+g==
 =MaeF
 -----END PGP SIGNATURE-----

cleanups and simplifications

Alan T. DeKok at 2020-04-13T15:15:57Z
Files modified:
	* src/lib/unlang/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c11c91c1c817629c1a7c1c7eeadab1464cc596db
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6UfnIACgkQfQ55zXdi
 Hs2uNAgAgmOE1hBpbe25wZfOSW+jspXH/P2r59URBIUmqpMJrKr60W+L+ykgCDG3
 KTqXRWWkHsOvlT1wvgbZ13Mf9RDb8OaNsvx5QqFpd59NCqtfwPdzj/ehoBrOywW7
 rwcJXGiu7qWZKQFB48C34NOzN9wVjGpGNcoGwMk0cijAyeJu8ueeeWu0rwvS1am9
 VVK6mjxQGs5rPwF6fXuxt5m+TodsO1NKk5Rz4pPYqRUDn4BCzxutXyceemmpFfUE
 jdSfSRkaKyjSnN+RzFfemClQRdqywJyiMQD6CHY2pUNa4N2ACNmZggH6K1Z4tVFT
 UEfPa+93TNucr6iPD3BPnMGe86RkGw==
 =zPmM
 -----END PGP SIGNATURE-----

turn the output buffer into an output value box

and allow exec-wait without an output FD

Alan T. DeKok at 2020-04-13T15:00:02Z
Files modified:
	* src/lib/server/exec.c
	* src/lib/server/exec.h
	* src/lib/unlang/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/931fc7524d6b436b5ceafbbae8bd82c81c672baa
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 wsBcBAABCAAQBQJelHr6CRBK7hj4Ov3rIwAAdHIIAKd/RoQMGHnjDPz1EOhQzH2s
 Z8PWwhKIOV8Ev23tz3o0hMJMX/xkyDnBKTjXgKLp6PRgJ9JJdP6IdjyOJ3CffuJ8
 YBf/Pk1prlucyyyKlkH6/Km5zFf5laQSLCipSQMfVcjaceaGo/RH2+oUU2SecBvN
 e5kD0JFBHtolBXRNSecsn0FbvLAkCu+D/HePpWJ0HRTezLVfgxigInzfOv1+R2mp
 an0hzMK47WsvrnxwTVrfxrbTXQ9bOwzAmq4w8aIZ1Rgj/mWVAXJbY3a47ZqzE69k
 YlewWkVa0jFvQR7CVUUDwWCbV4Cll2lcN8bZmqWnckw7FGJNKiYw3iNscCbX6sk=
 =m5QX
 -----END PGP SIGNATURE-----
 

Fix rlm_cache_ sanity check for crazy people (#3370)

This PR fixes an incorrect size argument passed to `strncmp` which resulted in smaller prefix matching than intended.

Disconnect3d (via GitHub)@2020-04-13T14:45:14Z
Files modified:
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4baf2114670d95691c49220b25cf172ac0594930
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6UZQkACgkQfQ55zXdi
 Hs3ZTwf9GHvn0bK9mAhgaqzkFfbccfKBov2B/8GwGRCauQtj67ZvJH6GWHZReQdG
 xODsgDZU2RAwIM1Sq7lAtAwMLQdybKOEF3prOSb/+VmIS9LgcOTZjmH8iuhSgV4w
 E3pXv9wWnfmjoD1aK/38IQiUxi5AsYHv6zAXHOzNQU8mxlpZzd+U5M/Pp41JnEIb
 yBq696zb9ypFkn9CG/oEUND/Bz9ZcIs/Svw51zHiMevcJ6D131Cw1ifwrL02g14i
 cdOYRuwf0yAEDQozpnL5p0gHPa/nZULN6sX1Dq1UO1oRPTKkts2Eew3+zcdTmN+v
 Jd7/G3/dGMD2bWQjZFYK4WnO/Vzlkw==
 =iwNa
 -----END PGP SIGNATURE-----

use kevent to wait for the PID

it should all be working.  Next is to add tests

Alan T. DeKok at 2020-04-13T13:11:25Z
Files modified:
	* src/lib/unlang/tmpl.c
	* src/lib/unlang/tmpl_priv.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e15e08b871ce54a4080fffbd93b0807b816e64d9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6UVq4ACgkQfQ55zXdi
 Hs3Cbgf/eb4nTU3wBx71H7f+s0u1r26OIl3OvqJI9QTLV3C6mHsj4A7Vljo5Kmxo
 Yo6TosqSlUFt5+fLoEKJgVUd2X8jo/4LeMOlW04DoiaXsFDqvihlJNMbhW/oS0xB
 bp1Y5RfWPxmNRMtS2z3Gyu9sF49W0bBKHpnLhJS4ABwk+EHsH3ESDujD53oYkaDa
 pwCCUwP2Fi8p9FobKRpD65d+jGuJepMteCFTbXcNk/wIv8b4De/bDPsuoTZmWA2J
 cCBiMQtzGeiKj4UjCYEbIzTvEOZ3ta4V/zPUWh1aXQRiOVtqsuRZD7UyeZHe2+gX
 c2kSoO0C6uMLHUrr6dsYTO/RRuTRAw==
 =mZSp
 -----END PGP SIGNATURE-----

more framework for exec-wait

we still need to use kqueue to wait for the child PID.  But the
basic parts of the framework are now here.

Alan T. DeKok at 2020-04-13T12:09:29Z
Files modified:
	* src/lib/unlang/tmpl.c
	* src/lib/unlang/tmpl_priv.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/88b094b9d5732144e9bd99cf9e18b3b96879738b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6UUmwACgkQfQ55zXdi
 Hs02+wf+Kwewb8kVNLBV0TIoBQ6R4sqYRhdxwlGlZASyd06PSXvPkFf4q2HIeSIP
 QIXFwVST/j6Tey8a571mUzEDmjv1APzdkerInPDssPOCSeJ4GtKw+RG7c9Dhvia0
 ujJvYvjtOCq+RSMpxV5aGMXF+cW+bnDj6cRf1Gke9r6Z6nDXLZjLW1d2crbftHHV
 8090OrOTNCFfaXMnGIJ1AnKrJVKtpv7Vbg8cJYDGP6DX6FxY2C8VDLwUa/bBLkvt
 g5NWWBICOUO8u+5F46IHYuU4PW3h+tx7tDewBzLRu/a0AvZsJc/kMi+v7SzYgqwK
 pnhYH8LEbw00fD9x8nJedtssNrJ0gA==
 =UlaS
 -----END PGP SIGNATURE-----

add fr_exec_waitpid()

so that child processes will be cleaned up if we do exec-wait,
but there's an error.

Alan T. DeKok at 2020-04-13T11:51:47Z
Files modified:
	* src/lib/server/exec.c
	* src/lib/server/exec.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/82f77fe66031da20d51e8004a9626080c874132b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6Tr3EACgkQfQ55zXdi
 Hs10Agf9Hd7dKR0HCKUIxrAJKE9aFkOrU6ycjEC1BEz/qlgvHbVQmUi0ceyjeq18
 ti7F3ybYG9tBheappLIShBlCtYCZbPBRAAWfbdV51TTTtz2Dz89oMLUP/i45z2MG
 R0QxXFNX2CxdofXKLPWrnjtINLAlL+r5dQ/0Zh/q1GFhcXTjVwgkOZDADyK8YV9K
 dO9Ixq3bmkTy4rGHx5OXzLGSUTtFUDtVZzn9RT6GD6kzt3dHGtamCpuleRdpw3Hj
 oM/qR+O1MHoaclHmrjK+YrUlokcx2NQFFyqXMKZpiOOnmqAFOozQXXJrrNKozacD
 uVEi4Idr7dx7eIcJwgKmVEAnoNTfqg==
 =IeWx
 -----END PGP SIGNATURE-----

start of framework for exec-wait

with reading the output.

And some "todo" notes for the future.

Alan T. DeKok at 2020-04-13T00:16:28Z
Files modified:
	* src/lib/unlang/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b1b7a67f300cd05469fc42d26b61fa788d8215ef
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl6TrnUACgkQfQ55zXdi
 Hs3ZMQf+ItzcmwGYJZz2SRBUJnHBWDLc/zxZqUD12swSVMB2tJeQ4ZXarRP/OvTo
 ynDJkvXt11S+X1adPUBWSXTLBPV55kJk0rLTGlk8xA0+UJIkd4heH97A7sKpwdxW
 ClTfltI0sP+0thCkVul4WpV85cg8xmIvwzGSTDWTwgSB8VAr5xSG5pyQdRFLYpmV
 8+rwjcAXm1TFS5xjR4rxKgk63UUEIO3vW+eDx5bN2yH2XZWhrePCiUuTj/yMbYQ0
 CXTrMxW6+HtIpRqmZ5VEXeWl/5MqUXuLm9ZQgNtkkPoOhXrJ7gkCAVZ09dmQr/Fj
 teFYad7+/pbZuNU7gTTEgJFi0rx0Tg==
 =rLEB
 -----END PGP SIGNATURE-----

exec-wait API using new methods

Alan T. DeKok at 2020-04-13T00:12:25Z
Files modified:
	* src/lib/server/exec.c
	* src/lib/server/exec.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8eb3b12410ef71947e3c4a8e3f86f433059324ef
====== 
-- 
This commit summary was generated @2020-04-14T00:00:03Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list