Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\safesetid\securityfs.c Create Date:2022-07-28 19:55:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:safesetid_file_write

Proto:static ssize_t safesetid_file_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
const char __user *buf
size_tlen
loff_t *ppos
200  If Not le_ns_capable - Determine if the file's opener had a capability in effect*@file: The file we want to check*@ns: The usernamespace we want the capability in*@cap: The capability to be tested for* Return true if task that opened the file had a capability in Then Return -EPERM
203  If ppos != 0 Then Return -EINVAL
206  Return handle_policy_update(file, buf, len)