函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:proc_uid_map_write

函数原型:ssize_t proc_uid_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
1035  seq等于 needed for tty driver, and maybe others
1036  ns等于private
1037  seq_ns等于seq_user_ns(seq)
1039  如果非parent则返回:负EPERM
1042  如果seq_ns不等于nsseq_ns不等于parent则返回:负EPERM
1045  返回:map_write(file, buf, size, ppos, Allows forged pids on socket credentials passing. , & uid_map, & uid_map)