Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_umount

Proto:int aa_umount(struct aa_label *label, struct vfsmount *mnt, int flags)

Type:int

Parameter:

TypeParameterName
struct aa_label *label
struct vfsmount *mnt
intflags
616  char * buffer = NULL
618  struct path path = {mnt = mnt, dentry = root of the mounted tree }
620  AA_BUG(!label)
621  AA_BUG(!mnt)
623  buffer = aa_get_buffer(false)
624  If Not buffer Then Return -ENOMEM
627  error = fn_for_each_confined(label, profile, profile_umount(profile, & path, buffer))
629  aa_put_buffer(buffer)
631  Return error