Subversion リポジトリの参照
Diff of /trunk/1.5.x/ccs-patch/fs/tomoyo_signal.c
Parent Directory
| Revision Log
| Patch
26 |
|
|
27 |
/************************* AUDIT FUNCTIONS *************************/ |
/************************* AUDIT FUNCTIONS *************************/ |
28 |
|
|
|
#ifdef CONFIG_TOMOYO_AUDIT |
|
29 |
static int AuditSignalLog(const int signal, const struct path_info *dest_domain, const int is_granted) |
static int AuditSignalLog(const int signal, const struct path_info *dest_domain, const int is_granted) |
30 |
{ |
{ |
31 |
char *buf; |
char *buf; |
36 |
snprintf(buf + strlen(buf), len - strlen(buf) - 1, KEYWORD_ALLOW_SIGNAL "%d %s\n", signal, dest_domain->name); |
snprintf(buf + strlen(buf), len - strlen(buf) - 1, KEYWORD_ALLOW_SIGNAL "%d %s\n", signal, dest_domain->name); |
37 |
return WriteAuditLog(buf, is_granted); |
return WriteAuditLog(buf, is_granted); |
38 |
} |
} |
|
#else |
|
|
static inline void AuditSignalLog(const int signal, const struct path_info *dest_domain, const int is_granted) {} |
|
|
#endif |
|
39 |
|
|
40 |
/************************* SIGNAL ACL HANDLER *************************/ |
/************************* SIGNAL ACL HANDLER *************************/ |
41 |
|
|
|
Legend:
Removed from v.328 |
|
changed lines |
|
Added in v.329 |
|
|
| |