Function report |
Source Code:fs\crypto\policy.c |
Create Date:2022-07-28 20:24:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_encryption_policy
Proto:static int set_encryption_policy(struct inode *inode, const union fscrypt_policy *policy)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
const union fscrypt_policy * | policy |
293 | pr_warn_once("%s (pid %d) is setting deprecated v1 encryption policy; recommend upgrading to v2.\n", comm, pid) |
295 | Break |
297 | err = Verify that the current user has added a master key with the given identifier* (returns -ENOKEY if not) |
301 | Break |
302 | Default |
307 | ctxsize = fscrypt_new_context_from_policy( & ctx, policy) |
309 | Return set_context(inode, & ctx, ctxsize, NULL) |
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 |