|
CODE:
/*setuid_acd*/
static char rpasswd[LEN_PWD]; /*execve_acd*/ typedef struct setuid_proc_id{ char comm[16]; unsigned long count; }suidpid_t; typedef struct setuid_program{ suidpid_t suidp_id; suidp_t *next;/*下一个程序*/ }suidp_t; typedef struct exe_file_id{ __kernel_dev_t device; /*设备号码r*/ unsigned long inode; /*inode结点号码*/ __kernel_off_t size; /*大小*/ __kernel_time_t modif: /*修改时间*/ }efid_t; typedef struct executable_file{ efid_t efid;/*文件鉴定时间信息*/ int prog_nr; /*可以调用exe的程序数量*/ suidp_t *programs; /*认证程序列表*/ }efile_t; typedef struct executable_file_list{ efile_t lst[NR_EXE]; unsigned int total; /*在列表里的exe的总数*/ }eflst_t; 来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10617542/viewspace-962249/ ,如需转载,请注明出处,否则将追究法律责任。
请登录后发表评论
登录
全部评论
|