Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\syscalls.h Create Date:2022-07-28 05:58:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline void addr_limit_user_check(void)

Type:void

Parameter:Nothing

262  If Not test_thread_flag(Check FS is USER_DS on return ) Then Return
266  If CHECK_DATA_CORRUPTION(!segment_eq(get_fs(), USER_DS), "Invalid address limit on user-mode return") Then force_sig(SIGKILL)
271  clear_thread_flag(Check FS is USER_DS on return )