Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_mount_change_type

Proto:int aa_mount_change_type(struct aa_label *label, const struct path *path, unsigned long flags)

Type:int

Parameter:

TypeParameterName
struct aa_label *label
const struct path *path
unsigned longflags
463  char * buffer = NULL
466  AA_BUG(!label)
467  AA_BUG(!path)
470  flags &= MS_REC | MS_SILENT | change to shared | change to private | change to slave | change to unbindable
473  buffer = aa_get_buffer(false)
474  If Not buffer Then Return -ENOMEM
476  error = fn_for_each_confined(label, profile, match_mnt - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devpath: path devname/src_name (MAYBE NULL)*@devbuffer: buffer to be used to lookup )
479  aa_put_buffer(buffer)
481  Return error