函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\syscalls.h Create Date:2022-07-27 06:57:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Called before coming back to user-mode. Returning to user-mode with an* address limit different than USER_DS can allow to overwrite kernel memory.

函数原型:static inline void addr_limit_user_check(void)

返回类型:void

参数:

262  如果非test_thread_flag(Check FS is USER_DS on return )则返回
266  如果CHECK_DATA_CORRUPTION(!segment_eq(get_fs(), USER_DS), "Invalid address limit on user-mode return")则force_sig(SIGKILL)
271  clear_thread_flag(Check FS is USER_DS on return )