HomeFreeBSD

Don't directly dereference userland pointer; instead use kernel pointer
rS249026Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Don't directly dereference userland pointer; instead use kernel pointer
copied in from userspace. This fixes instant panic when creating CTL LUN
on sparc64. Not a security problem, since the API is root-only.

Reviewed by: ken
Sponsored by: FreeBSD Foundation

Details

Provenance
traszAuthored on
Parents
rS249025: Add support for XPT_CONT_TARGET_IO CCBs in _bus_dmamap_load_ccb().
Branches
Unknown
Tags
Unknown

Event Timeline