Subversion リポジトリの参照
Diff of /trunk/2.4.x/tomoyo-tools/kernel_test/tomoyo_new_file_test.c
Parent Directory
| Revision Log
| Patch
1 |
/* |
/* |
2 |
* tomoyo_file_test.c |
* ccs_new_file_test.c |
|
* |
|
|
* Testing program for fs/tomoyo_file.c |
|
3 |
* |
* |
4 |
* Copyright (C) 2005-2009 NTT DATA CORPORATION |
* Copyright (C) 2005-2009 NTT DATA CORPORATION |
5 |
* |
* |
6 |
* Version: 1.7.0-pre 2009/08/24 |
* Version: 1.7.1 2009/11/11 |
7 |
* |
* |
8 |
*/ |
*/ |
9 |
#include "include.h" |
#include "include.h" |
669 |
fprintf(domain_fp, "%s /bin/true\n", self_domain); |
fprintf(domain_fp, "%s /bin/true\n", self_domain); |
670 |
fprintf(domain_fp, "use_profile 255\n"); |
fprintf(domain_fp, "use_profile 255\n"); |
671 |
fprintf(domain_fp, "select pid=%u\n", pid); |
fprintf(domain_fp, "select pid=%u\n", pid); |
672 |
fprintf(profile_fp, "255-MAX_REJECT_LOG=1024\n"); |
fprintf(profile_fp, "255-PREFERENCE::audit={ max_reject_log=1024 }\n"); |
673 |
stage_file_test(); |
stage_file_test(); |
674 |
fprintf(domain_fp, "use_profile 0\n"); |
fprintf(domain_fp, "use_profile 0\n"); |
675 |
clear_status(); |
clear_status(); |
|
Legend:
Removed from v.2984 |
|
changed lines |
|
Added in v.3751 |
|
|
| |