Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\compat.h Create Date:2022-07-28 05:47:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline void __user *compat_ptr(compat_uptr_t uptr)

Type:void

Parameter:

TypeParameterName
compat_uptr_tuptr
189  Return uptr
Caller
NameDescribe
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