Function report |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-28 19:29:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_write_revoke_subj - write() for /smack/revoke-subject*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 0
Proto:static ssize_t smk_write_revoke_subj(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
const char __user * | buf | |
size_t | count | |
loff_t * | ppos |
2502 | If count == 0 || count > SMK_LONGLABEL Then Return -EINVAL |
2519 | rule_list = access rules |
2520 | rule_lock = lock for rules |
2522 | mutex_lock(rule_lock) |
2525 | smk_access = 0 |
2529 | out_cp : |
2531 | out_data : |
2534 | Return rc |
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 |