arch/s390/include/uapi/asm/ipcbuf.h

Source file repositories/reference/linux-study-clean/arch/s390/include/uapi/asm/ipcbuf.h

File Facts

System
Linux kernel
Corpus path
arch/s390/include/uapi/asm/ipcbuf.h
Extension
.h
Size
702 bytes
Lines
32
Domain
Architecture Layer
Bucket
arch/s390
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __S390_IPCBUF_H__
#define __S390_IPCBUF_H__

#include <linux/posix_types.h>

/*
 * The user_ipc_perm structure for S/390 architecture.
 * Note extra padding because this structure is passed back and forth
 * between kernel and user space.
 *
 * Pad space is left for:
 * - 32-bit mode_t and seq
 * - 2 miscellaneous 32-bit values
 */

struct ipc64_perm
{
	__kernel_key_t		key;
	__kernel_uid32_t	uid;
	__kernel_gid32_t	gid;
	__kernel_uid32_t	cuid;
	__kernel_gid32_t	cgid;
	__kernel_mode_t		mode;
	unsigned short		__pad1;
	unsigned short		seq;
	unsigned long		__unused1;
	unsigned long		__unused2;
};

#endif /* __S390_IPCBUF_H__ */

Annotation

Implementation Notes