Subversion リポジトリの参照
Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/util.c
Parent Directory
| Revision Log
| Patch
2454 |
static unsigned int serial; |
static unsigned int serial; |
2455 |
struct query_entry *query_entry = NULL; |
struct query_entry *query_entry = NULL; |
2456 |
char *header; |
char *header; |
2457 |
if (!ccs_check_flags(CCS_ALLOW_ENFORCE_GRACE) |
if (!atomic_read(&queryd_watcher)) { |
|
|| !atomic_read(&queryd_watcher)) { |
|
2458 |
int i; |
int i; |
2459 |
if (current->tomoyo_flags & CCS_DONT_SLEEP_ON_ENFORCE_ERROR) |
if (current->tomoyo_flags & CCS_DONT_SLEEP_ON_ENFORCE_ERROR) |
2460 |
return -EPERM; |
return -EPERM; |
2649 |
struct list_head *tmp; |
struct list_head *tmp; |
2650 |
unsigned int serial; |
unsigned int serial; |
2651 |
unsigned int answer; |
unsigned int answer; |
2652 |
|
if (!ccs_check_flags(CCS_ALLOW_ENFORCE_GRACE)) |
2653 |
|
return -EPERM; |
2654 |
/***** CRITICAL SECTION START *****/ |
/***** CRITICAL SECTION START *****/ |
2655 |
spin_lock(&query_lock); |
spin_lock(&query_lock); |
2656 |
list_for_each(tmp, &query_list) { |
list_for_each(tmp, &query_list) { |
|
Legend:
Removed from v.1278 |
|
changed lines |
|
Added in v.1279 |
|
|
|