Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\compat_ioctl.c Create Date:2022-07-28 20:26:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Convert common ioctl arguments based on their command number* Please do not add any code in here. Instead, implement* a compat_ioctl operation in the place that handleѕ the* ioctl for the native case.

Proto:static long do_ioctl_trans(unsigned int cmd, unsigned long arg, struct file *file)

Type:long

Parameter:

TypeParameterName
unsigned intcmd
unsigned longarg
struct file *file
113  Return -No ioctl command
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE3