K 10 svn:author V 6 gordon K 8 svn:date V 27 2023-06-21T05:43:37.237477Z K 7 svn:log V 905 mpr: fix copying of event_mask Before the commit 6cc44223cb6717795afdac4348bbe7e2a968a07d the field event_mask was fully copied to the EventMasks field. After this commit the event_mask (uint8_t) is 4 times casted to EventMask (uint32_t). Because of that 24 bits of each event_mask array is lost. This commits brings back simple copying of field, and after words converting 32 bits field to the requested endian. I don't think we need more sophisticated method, as the array is of size 4 (for 32 bits version). Reviewed by: imp MFC after: 1 week Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D39562 (cherry picked from commit ea6597c38c77c7bfaae71259d8636cbb89add6a3) (cherry picked from commit 2de69df6f398987cecbc5ac02b2183c561e0f220) Approved by: so Security: FreeBSD-EN-23:07.mpr Git Hash: c7b05da29795f263c0b511d8ef4755a784439dc4 Git Author: oshogbo@FreeBSD.org END