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 bluetooth socket sysinit: correct memset initialization 2024-07-01 08:22:31 -07:00
netflow sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netgraph.h
ng_async.c
ng_async.h
ng_base.c
ng_bpf.c
ng_bpf.h
ng_bridge.c ng_bridge: allow to automatically assign numbers to new hooks 2024-04-08 10:48:22 -07:00
ng_bridge.h
ng_car.c netgraph: provide separate malloc type for nodes that are missing it 2024-05-31 09:19:54 -07:00
ng_car.h
ng_checksum.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
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 net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
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 net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
ng_iface.h
ng_ip_input.c
ng_ip_input.h
ng_ipfw.c ng_ipfw: allow use of 32 bits wide cookies 2023-11-14 16:36:08 +07:00
ng_ipfw.h
ng_ksocket.c ng_ksocket: use new macros to lock socket buffers 2024-03-22 22:44:16 -07:00
ng_ksocket.h
ng_l2tp.c
ng_l2tp.h
ng_lmi.c
ng_lmi.h
ng_macfilter.c
ng_macfilter.h
ng_message.h netgraph: increase size of sockaddr_ng to match maximum node name 2023-11-27 20:10:52 -08:00
ng_mppc.c sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ng_mppc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ng_nat.c netgraph: provide separate malloc type for nodes that are missing it 2024-05-31 09:19:54 -07:00
ng_nat.h
ng_one2many.c
ng_one2many.h
ng_parse.c sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ng_parse.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
ng_patch.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ng_patch.h
ng_pipe.c ng_pipe: Do not panic when memory allocations fail 2024-04-24 08:44:50 -04:00
ng_pipe.h
ng_ppp.c
ng_ppp.h
ng_pppoe.c
ng_pppoe.h
ng_pptpgre.c netgraph: provide separate malloc type for nodes that are missing it 2024-05-31 09:19:54 -07:00
ng_pptpgre.h
ng_pred1.c
ng_pred1.h
ng_rfc1490.c
ng_rfc1490.h
ng_sample.c netgraph: Fix obsolete comment 2023-10-27 14:00:37 -06:00
ng_sample.h netgraph: Fix two typos in source code comments 2024-01-20 17:22:28 +01:00
ng_socket.c ng_socket: Treat EEXIST from kern_kldload() as success 2024-04-09 18:04:47 +08:00
ng_socket.h netgraph: increase size of sockaddr_ng to match maximum node name 2023-11-27 20:10:52 -08:00
ng_socketvar.h
ng_source.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ng_source.h
ng_split.c
ng_split.h
ng_tag.c netgraph: Fix two typos in source code comments 2024-01-20 17:22:28 +01:00
ng_tag.h
ng_tcpmss.c netgraph: provide separate malloc type for nodes that are missing it 2024-05-31 09:19:54 -07:00
ng_tcpmss.h
ng_tee.c netgraph: provide separate malloc type for nodes that are missing it 2024-05-31 09:19:54 -07:00
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 sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
qos.h