freebsd-src/sys/geom
Mark Johnston bbf221e3e8 geom: Report copyout() errors in g_ctl_ioctl_ctl()
Despite the name, req->serror is used in some cases to copy non-error
messages to userspace.  So, report errors when copying out so long as
they don't clobber an earlier error.

Reviewed by:	mav, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43146
2023-12-25 21:04:01 -05:00
..
bde sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cache sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
concat sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
eli sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
gate sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
journal sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
label sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
linux_lvm geom_linux_lvm: Avoid removing from vg_list before inserting 2023-10-17 11:19:05 -04:00
mirror sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mountver geom: sort includes for some files 2023-11-23 12:07:42 -04:00
multipath sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nop sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
part sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
raid sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
raid3 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
shsec sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
stripe sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
union spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uzip sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vinum sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
virstor sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
zero sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_bsd_enc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_ccd.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_ctl.c geom: Report copyout() errors in g_ctl_ioctl_ctl() 2023-12-25 21:04:01 -05:00
geom_ctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_dbg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_dev.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_disk.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_disk.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_dump.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_event.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_flashmap.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_flashmap.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_int.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_io.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_kern.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_map.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_redboot.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_slice.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_slice.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_subr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_vfs.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom_vfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
notes sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00