函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\mount.c Create Date:2022-07-27 21:47:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:aa_umount

函数原型:int aa_umount(struct aa_label *label, struct vfsmount *mnt, int flags)

返回类型:int

参数:

类型参数名称
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  如果非buffer则返回:负ENOMEM
627  error等于fn_for_each_confined(label, profile, profile_umount(profile, & path, buffer))
629  aa_put_buffer(buffer)
631  返回:error