[LTP] [PATCH V2 2/5] include: Add declaration of struct ipc64_perm

Cyril Hrubis chrubis@suse.cz
Mon Jun 15 14:43:24 CEST 2020


Hi!
Applied with two changes, thanks.

* The header is moved to lapi/ where it should have been

* I've removed a piece of GPL header that probably ended up in the
  source due to copy&paste

> +#if defined(__powerpc__) || defined(__powerpc64__)
> +#define HAVE_IPC64_PERM
> +/*
> + * The ipc64_perm structure for the powerpc is identical to
> + * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the
> + * kernel.  Note extra padding because this structure is passed back
> + * and forth between kernel and user space.  Pad space is left for:
> + *	- 1 32-bit value to fill up for 8-byte alignment
> + *	- 2 miscellaneous 64-bit values
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version
> + * 2 of the License, or (at your option) any later version.
> + */
            ^
	    This part.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list