Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/linux/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  syscall_user_dispatch.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2020 Collabora Ltd.
 */

#ifndef _SYSCALL_USER_DISPATCH_H
#define _SYSCALL_USER_DISPATCH_H

#include <linux/thread_info.h>
#include <linux/syscall_user_dispatch_types.h>

#ifdef CONFIG_GENERIC_ENTRY

int set_syscall_user_dispatch(unsigned long mode, unsigned long offset,
         unsigned long len, char __user *selector);

#define clear_syscall_work_syscall_user_dispatch(tsk) \
 clear_task_syscall_work(tsk, SYSCALL_USER_DISPATCH)

int syscall_user_dispatch_get_config(struct task_struct *task, unsigned long size,
         void __user *data);

int syscall_user_dispatch_set_config(struct task_struct *task, unsigned long size,
         void __user *data);

#else

static inline int set_syscall_user_dispatch(unsigned long mode, unsigned long offset,
         unsigned long len, char __user *selector)
{
 return -EINVAL;
}

static inline void clear_syscall_work_syscall_user_dispatch(struct task_struct *tsk)
{
}

static inline int syscall_user_dispatch_get_config(struct task_struct *task,
         unsigned long size, void __user *data)
{
 return -EINVAL;
}

static inline int syscall_user_dispatch_set_config(struct task_struct *task,
         unsigned long size, void __user *data)
{
 return -EINVAL;
}

#endif /* CONFIG_GENERIC_ENTRY */

#endif /* _SYSCALL_USER_DISPATCH_H */

100%


¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.