文件操作 - syscall_user_dispatch.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/include/linux/syscall_user_dispatch.h
编辑文件内容
/* 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> #ifdef CONFIG_GENERIC_ENTRY struct syscall_user_dispatch { char __user *selector; unsigned long offset; unsigned long len; bool on_dispatch; }; 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) #else struct syscall_user_dispatch {}; 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) { } #endif /* CONFIG_GENERIC_ENTRY */ #endif /* _SYSCALL_USER_DISPATCH_H */
修改文件时间
将文件时间修改为当前时间的前一年
删除文件