freebsd-nq/sbin/ggate/ggated
Alan Somers 2af3758a32 Various fixes for ggatec and ggated
Dynamically size buffers in ggatec. Instead of static size on the stack.
Add flush support.

Submitted by:	Johannes Totz <jo@bruelltuete.com>
Reviewed by:	asomers
Differential Revision: https://reviews.freebsd.org/D31722

(cherry picked from commit 6226477a46)

geom_gate: ensure readprov is null-terminated

With crafted input to the G_GATE_CMD_CREATE ioctl, geom_gate can be made
to print kernel memory to the system console, potentially revealing
sensitive data from whatever was previously in that memory page.

But but but: this is a case of the sys admin misconfiguring, and you'd
need root privileges to do this.

Submitted By:	Johannes Totz <jo@bruelltuete.com>
Reviewed By:	asomers
Differential Revision: https://reviews.freebsd.org/D31727

(cherry picked from commit f284bed200)
2022-02-16 21:07:15 -07:00
..
ggated.8
ggated.c Various fixes for ggatec and ggated 2022-02-16 21:07:15 -07:00
Makefile pkgbase: Create a FreeBSD-ggate package 2022-01-05 18:23:48 +01:00
Makefile.depend