Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:securityfs_init

Proto:static int __init securityfs_init(void)

Type:int

Parameter:Nothing

335  retval = sysfs_create_mount_point(kernel_kobj, "security")
336  If retval Then Return retval
339  retval = register_filesystem( & fs_type)
340  If retval Then
341  sysfs_remove_mount_point(kernel_kobj, "security")
342  Return retval
345  lsm_dentry = securityfs_create_file - create a file in the securityfs filesystem*@name: a pointer to a string containing the name of the file to create.*@mode: the permission that the file should have*@parent: a pointer to the parent dentry for this file
348  Return 0