Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:54:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:show_sid
Proto:static int show_sid(struct seq_file *m, unsigned int sid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
unsigned int | sid |
1078 | char * context = NULL |
1082 | rc = security_sid_to_context( & selinux_state, sid, & context, & len) |
1084 | If Not rc Then |
1085 | has_comma = context && strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
1090 | seq_escape(m, context, "\"\n\\") |
1095 | Return rc |
Name | Describe |
---|---|
selinux_sb_show_options |
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 |