函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-27 12:22:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:proc_projid_map_write

函数原型:ssize_t proc_projid_map_write(struct file *file, const char __user *buf, size_t size, loff_t *ppos)

返回类型:ssize_t

参数:

类型参数名称
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  如果非parent则返回:负EPERM
1076  如果seq_ns不等于nsseq_ns不等于parent则返回:负EPERM
1080  返回:map_write(file, buf, size, ppos, - 1, & projid_map, & projid_map)