Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:devpts_show_options

Proto:static int devpts_show_options(struct seq_file *seq, struct dentry *root)

Type:int

Parameter:

TypeParameterName
struct seq_file *seq
struct dentry *root
405  fsi = DEVPTS_SB( The root of the dentry tree )
406  opts = mount_opts
408  If setuid Then seq_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  If setgid Then seq_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  If max < Absolute limit Then seq_printf(seq, ",max=%d", max)
419  Return 0