函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\devpts\inode.c Create Date:2022-07-29 11:10:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:devpts_show_options

函数原型:static int devpts_show_options(struct seq_file *seq, struct dentry *root)

返回类型:int

参数:

类型参数名称
struct seq_file *seq
struct dentry *root
405  fsi等于DEVPTS_SB( The root of the dentry tree )
406  opts等于mount_opts
408  如果setuidseq_printf(seq, ",uid=%u", m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.)
411  如果setgidseq_printf(seq, ",gid=%u", m_kgid_munged - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid.)
414  seq_printf(seq, ",mode=%03o", mode)
415  seq_printf(seq, ",ptmxmode=%03o", ptmxmode)
416  如果max小于Absolute limit seq_printf(seq, ",max=%d", max)
419  返回:0