Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:proc_projid_map_write

Proto:ssize_t proc_projid_map_write(struct file *file, const char __user *buf, size_t size, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
const char __user *buf
size_tsize
loff_t *ppos
1069  seq = needed for tty driver, and maybe others
1070  ns = private
1071  seq_ns = seq_user_ns(seq)
1073  If Not parent Then Return -EPERM
1076  If seq_ns != ns && seq_ns != parent Then Return -EPERM
1080  Return map_write(file, buf, size, ppos, - 1, & projid_map, & projid_map)