HardenedBSD/sys/netgraph
Ryan Libby f8a46de2dd bluetooth socket sysinit: correct memset initialization
gcc -Wmemset-elt-size diagnosed this.  The code was only initializing
the first 1/sizeof(long) bytes.  On 64-bit systems, this would mean only
events up to 0x20 were initialized.

This effectively reverses the security policy for some events with
higher ids, now permitting them on unprivileged sockets.  Two that are
defined are NG_HCI_EVENT_LE (0x3e) and NG_HCI_EVENT_BT_LOGO (0xfe).

PR:		280039
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D45707
2024-07-01 08:22:31 -07:00
..
bluetooth
netflow
netgraph.h
ng_async.c
ng_async.h
ng_base.c
ng_bpf.c
ng_bpf.h
ng_bridge.c
ng_bridge.h
ng_car.c
ng_car.h
ng_checksum.c
ng_checksum.h
ng_cisco.c
ng_cisco.h
ng_deflate.c
ng_deflate.h
ng_device.c
ng_device.h
ng_echo.c
ng_echo.h
ng_eiface.c
ng_eiface.h
ng_etf.c
ng_etf.h
ng_ether_echo.c
ng_ether_echo.h
ng_ether.c
ng_ether.h
ng_frame_relay.c
ng_frame_relay.h
ng_gif_demux.c
ng_gif_demux.h
ng_gif.c
ng_gif.h
ng_hole.c
ng_hole.h
ng_hub.c
ng_hub.h
ng_iface.c
ng_iface.h
ng_ip_input.c
ng_ip_input.h
ng_ipfw.c
ng_ipfw.h
ng_ksocket.c
ng_ksocket.h
ng_l2tp.c
ng_l2tp.h
ng_lmi.c
ng_lmi.h
ng_macfilter.c
ng_macfilter.h
ng_message.h
ng_mppc.c
ng_mppc.h
ng_nat.c
ng_nat.h
ng_one2many.c
ng_one2many.h
ng_parse.c
ng_parse.h
ng_patch.c
ng_patch.h
ng_pipe.c
ng_pipe.h
ng_ppp.c
ng_ppp.h
ng_pppoe.c
ng_pppoe.h
ng_pptpgre.c
ng_pptpgre.h
ng_pred1.c
ng_pred1.h
ng_rfc1490.c
ng_rfc1490.h
ng_sample.c
ng_sample.h
ng_socket.c
ng_socket.h
ng_socketvar.h
ng_source.c
ng_source.h
ng_split.c
ng_split.h
ng_tag.c
ng_tag.h
ng_tcpmss.c
ng_tcpmss.h
ng_tee.c
ng_tee.h
ng_tty.c
ng_tty.h
ng_UI.c
ng_UI.h
ng_vjc.c
ng_vjc.h
ng_vlan_rotate.c
ng_vlan_rotate.h
ng_vlan.c
ng_vlan.h
NOTES
qos.h