Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memfd.c Create Date:2022-07-28 16:38:02
Last Modify:2022-05-20 10:27:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:memfd_fcntl

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

Type:long

Parameter:

TypeParameterName
struct file *file
unsigned intcmd
unsigned longarg
226  Case cmd == Set/Get seals
228  If arg > UINT_MAX Then Return -EINVAL
231  error = memfd_add_seals(file, arg)
232  Break
233  Case cmd == F_GET_SEALS
234  error = memfd_get_seals(file)
235  Break
236  Default
237  error = -EINVAL
238  Break
241  Return error