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_remount

Proto:int aa_remount(struct aa_label *label, const struct path *path, unsigned long flags, void *data)

Type:int

Parameter:

TypeParameterName
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  If Not buffer Then Return -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  Return error