函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:A pointer passed in from user mode. This should not* be used for syscall parameters, just declare them* as pointers because the syscall entry code will have* appropriately converted them already.

函数原型:static inline void __user *compat_ptr(compat_uptr_t uptr)

返回类型:void

参数:

类型参数名称
compat_uptr_tuptr
189  返回:uptr
调用者
名称描述
COMPAT_SYSCALL_DEFINE1
ptrace_peek_siginfo
compat_ptrace_request
post_copy_siginfo_from_user32
do_compat_sigaltstack
COMPAT_SYSCALL_DEFINE4
snapshot_compat_ioctl
compat_fetch_robust_entryFetch a robust-list pointer. Bit 0 signals PI futexes:
futex_uaddr
COMPAT_SYSCALL_DEFINE4
compat_ksys_msgsnd
compat_ksys_msgrcv
compat_ksys_semctl
COMPAT_SYSCALL_DEFINE3
COMPAT_SYSCALL_DEFINE2
get_sg_io_hdr
compat_put_ushort
compat_put_int
compat_put_uint
compat_put_long
compat_put_ulong
compat_put_u64
compat_hdio_ioctl
compat_cdrom_read_audio
compat_cdrom_generic_command
compat_blkpg_ioctl
compat_blkdev_driver_ioctl
compat_blkdev_ioctlMost of the generic ioctls are handled in the normal fallback path.This assumes the blkdev's low level compat_ioctl always returnsENOIOCTLCMD for unknown ioctls.
COMPAT_SYSCALL_DEFINE5The key control system call, 32-bit compatibility version for 64-bit archs
compat_keyctl_dh_computePerform the DH computation or DH based key derivation.* If successful, 0 will be returned.
compat_rw_copy_check_uvector
get_user_arg_ptr
do_compat_fcntl64
compat_ptr_ioctlmpat_ptr_ioctl - generic implementation of
COMPAT_SYSCALL_DEFINE1
COMPAT_SYSCALL_DEFINE6
COMPAT_SYSCALL_DEFINE3
COMPAT_SYSCALL_DEFINE6
compat_nfs_string
do_nfs4_super_data_conv
COMPAT_SYSCALL_DEFINE3