[SSSD] [PATCHES][PRELIMINARY] Add support for Active Directory objectSID mappings

Simo Sorce simo at redhat.com
Fri Apr 13 02:12:36 UTC 2012


On Thu, 2012-04-12 at 21:53 -0400, Stephen Gallagher wrote:
> +#define SAFEALIGN_COPY_UINT8(dest, src, pctr) \
> +    safealign_memcpy(dest, src, sizeof(uint8_t), pctr)
> +
> +#define SAFEALIGN_COPY_INT8(dest, src, pctr) \
> +    safealign_memcpy(dest, src, sizeof(int8_t), pctr)
> + 

Assigning a char never have alignment issues by definition, so I do not
get why you are calling memcpy here ?

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list