函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:proc_gid_map_write

函数原型:ssize_t proc_gid_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
1052  seq等于 needed for tty driver, and maybe others
1053  ns等于private
1054  seq_ns等于seq_user_ns(seq)
1056  如果非parent则返回:负EPERM
1059  如果seq_ns不等于nsseq_ns不等于parent则返回:负EPERM
1062  返回:map_write(file, buf, size, ppos, Allows forged gids on socket credentials passing. , & gid_map, & gid_map)