Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gid_m_show

Proto:static int gid_m_show(struct seq_file *seq, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *seq
void *v
600  ns = private
601  extent = v
605  lower_ns = seq_user_ns(seq)
606  If lower_ns == ns && parent Then lower_ns = parent
609  lower = m_kgid - 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.
611  seq_printf(seq, "%10u %10u %10u\n", first, lower, count)
616  Return 0