File Index
Files and directories
Sign in
FILE

mm_id.h

File preview with syntax highlighting.

linux-6.19.14/arch/um/include/shared/skas/mm_id.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Copyright (C) 2005 Jeff Dike (jdike@karaya.com)
 4 */
 5
 6#ifndef __MM_ID_H
 7#define __MM_ID_H
 8
 9#include <linux/compiler_types.h>
10
11#define STUB_MAX_FDS 4
12
13struct mm_id {
14	int pid;
15	unsigned long stack;
16	int syscall_data_len;
17
18	/* Only used with SECCOMP mode */
19	int sock;
20	int syscall_fd_num;
21	int syscall_fd_map[STUB_MAX_FDS];
22};
23
24void enter_turnstile(struct mm_id *mm_id) __acquires(turnstile);
25void exit_turnstile(struct mm_id *mm_id) __releases(turnstile);
26
27void notify_mm_kill(int pid);
28
29#endif
~/ Read-only file preview.