Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SYSCALL_DEFINE5

Proto:SYSCALL_DEFINE5(fsetxattr, int, fd, const char __user *, name, const void __user *, value, size_t, size, int, flags)

Type:

Parameter:Nothing

498  f = fdget(fd)
499  error = -EBADF
501  If Not file Then Return error
503  audit_file(file)
504  error = mnt_want_write_file - get write access to a file's mount*@file: the file who's mount on which to take a write* This is like mnt_want_write, but it takes a file and can* do some optimisations if the file is open for write already
505  If Not error Then
506  error = Extended attribute SET operations
507  mnt_drop_write_file(file)
509  fdput(f)
510  Return error