dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
52 lines
1.3 KiB
C
52 lines
1.3 KiB
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 */
|