函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_remount

函数原型:int aa_remount(struct aa_label *label, const struct path *path, unsigned long flags, void *data)

返回类型:int

参数:

类型参数名称
struct aa_label *label
const struct path *path
unsigned longflags
void *data
402  char * buffer = NULL
406  AA_BUG(!label)
407  AA_BUG(!path)
409  binary等于fs_flags按位与FS_BINARY_MOUNTDATA
411  buffer等于aa_get_buffer(false)
412  如果非buffer则返回:负ENOMEM
414  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 )
417  aa_put_buffer(buffer)
419  返回:error