Function report |
Source Code:security\smack\smack.h |
Create Date:2022-07-28 19:19:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Present a pointer to the smack label in the current task blob.
Proto:static inline struct smack_known *smk_of_current(void)
Type:struct smack_known
Parameter:Nothing
Name | Describe |
---|---|
smack_syslog | smack_syslog - Smack approval on syslog*@typefrom_file: unused* Returns 0 on success, error code otherwise. |
smack_set_mnt_opts | smack_set_mnt_opts - set Smack specific mount options*@sb: the file system superblock*@mnt_opts: Smack mount options*@kern_flags: mount option from kernel space or user space*@set_kern_flags: where to store converted mount opts* Returns 0 on success, an |
smack_inode_alloc_security | smack_inode_alloc_security - allocate an inode blob*@inode: the inode in need of a blob* Returns 0 |
smack_inode_init_security | smack_inode_init_security - copy out the smack from an inode*@inode: the newly created inode*@dir: containing directory object*@qstr: unused*@name: where to put the attribute name*@value: where to put the attribute value*@len: where to put the length of |
smack_file_alloc_security | smack_file_alloc_security - assign a file security blob*@file: the object* The security blob for a file is a pointer to the master* label list, so no allocation is done.* f_security is the owner security information. It |
smack_mmap_file | smack_mmap_file :* Check permissions for a mmap operation. The @file may be NULL, e.g.* if mapping anonymous memory.*@file contains the file structure for file to map (may be NULL).*@reqprot contains the protection requested by the application. |
smack_file_set_fowner | smack_file_set_fowner - set the file security blob value*@file: object in question |
smack_sk_alloc_security | smack_sk_alloc_security - Allocate a socket blob*@sk: the socket*@family: unused*@gfp_flags: memory allocation flags* Assign Smack pointers to current* Returns 0 on success, -ENOMEM is there's no memory |
smack_msg_msg_alloc_security | smack_msg_msg_alloc_security - Set the security blob for msg_msg*@msg: the object* Returns 0 |
smack_ipc_alloc_security | smack_ipc_alloc_security - Set the security blob for ipc*@isp: the object* Returns 0 |
smack_d_instantiate | smack_d_instantiate - Make sure the blob is correct on an inode*@opt_dentry: dentry where inode will be attached*@inode: the object* Set the inode's security blob if it hasn't been done already. |
smack_sock_graft | smack_sock_graft - Initialize a newly created socket with an existing sock*@sk: child sock*@parent: parent socket* Set the smk_{in,out} state of an existing sock based on the process that* is creating the new socket. |
smk_netlabel_audit_set | smk_netlabel_audit_set - fill a netlbl_audit struct*@nap: structure to fill |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |