For the "official" record: Approved-by: sbruno
:-) sean p.s. silly svn didn't stop this commit, I wonder why. On 05/04/18 10:20, K. Macy wrote: > Yes. Good catch. Thanks. > > -M > >> >> Missing Approved by: sbruno? >> >> >>> Modified: >>> head/sys/kern/kern_descrip.c >>> >>> Modified: head/sys/kern/kern_descrip.c >>> ============================================================================== >>> --- head/sys/kern/kern_descrip.c Fri May 4 04:05:07 2018 >>> (r333241) >>> +++ head/sys/kern/kern_descrip.c Fri May 4 06:51:01 2018 >>> (r333242) >>> @@ -1503,7 +1503,7 @@ filecaps_copy(const struct filecaps *src, struct filec >>> >>> if (src->fc_ioctls != NULL && !locked) >>> return (false); >>> - *dst = *src; >>> + memcpy(dst, src, sizeof(*src)); >>> if (src->fc_ioctls == NULL) >>> return (true); >>> >>> @@ -1512,7 +1512,7 @@ filecaps_copy(const struct filecaps *src, struct filec >>> >>> size = sizeof(src->fc_ioctls[0]) * src->fc_nioctls; >>> dst->fc_ioctls = malloc(size, M_FILECAPS, M_WAITOK); >>> - bcopy(src->fc_ioctls, dst->fc_ioctls, size); >>> + memcpy(dst->fc_ioctls, src->fc_ioctls, size); >>> return (true); >>> } >>> >>> >>> >> >> -- >> Rod Grimes >> rgri...@freebsd.org >> _______________________________________________ >> svn-src-h...@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/svn-src-head >> To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org" > >
signature.asc
Description: OpenPGP digital signature