Function report |
Source Code:fs\crypto\keyring.c |
Create Date:2022-07-28 20:23:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Retrieve the status of an fscrypt master encryption key
Proto:int fscrypt_ioctl_get_key_status(struct file *filp, void __user *uarg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
void __user * | uarg |
902 | If copy_from_user( & arg, uarg, size of arg ) Then Return -EFAULT |
905 | If Not valid_key_spec( & put ) Then Return -EINVAL |
911 | status_flags = 0 |
912 | user_count = 0 |
913 | memset(__out_reserved, 0, size of __out_reserved ) |
924 | lock for reading |
936 | user_count = nr_leaves_on_tree |
937 | mk_user = Find the current user's "key" in the master key's ->mk_users.* Returns ERR_PTR(-ENOKEY) if not found. |
944 | Go to out_release_key |
947 | err = 0 |
948 | out_release_key : |
951 | out : |
954 | Return err |
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 |