オープンソース・ソフトウェアの開発とダウンロード
ログイン
アカウント作成
ヘルプ
MY OSDN
ソフトウェアを探す
Magazine
開発
コピペ
ソフトウェア
人物
PersonalForge
Magazine
Wiki
OSDN
>
ソフトウェアを探す
>
TOMOYO
TOMOYO
概要
プロジェクト概要
開発ダッシュボード
プロジェクトレビュー
Webページ
開発メンバー
公開フィード一覧
統計情報
活動履歴
画像ギャラリー
検索キーワード
ニュース
ニュース一覧
ヘルプ
ダウンロード
リリース一覧
ヘルプ
ソースコード
ガイド
SVNリポジトリ閲覧
Gitリポジトリ閲覧: tomoyo-test1
ヘルプ
Wiki
FrontPageの表示
ページ一覧
最近の更新
Wiki 検索
ヘルプ
文書
文書一覧
ヘルプ
フォーラム
フォーラム一覧
Open Discussion (112)
ヘルプ
メーリングリスト
MLの一覧
tomoyo-dev
tomoyo-dev-en
tomoyo-users
tomoyo-users-en
ヘルプ
チケット
チケット一覧
マイルストーン一覧
チケットの種類一覧
コンポーネント一覧
よく使われるチケット一覧のリスト/RSS
新規チケット登録
ヘルプ
Subversion リポジトリの参照
/
[tomoyo]
/
trunk
/
1.7.x
/
ccs-patch
/
security
/
ccsecurity
/
domain.c
Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/domain.c
Parent Directory
|
Revision Log
|
Patch
revision
2282
by
kumaneko
, Thu Mar 19 04:46:42 2009 UTC
revision
2308
by
kumaneko
, Tue Mar 24 09:08:56 2009 UTC
#
Line 5
Line 5
5
*
*
6
* Copyright (C) 2005-2009 NTT DATA CORPORATION
* Copyright (C) 2005-2009 NTT DATA CORPORATION
7
*
*
8
* Version: 1.6.7-rc 2009/03/18
* Version: 1.6.7-rc 2009/03/24
9
*
*
10
* This file is applicable to both 2.4.30 and 2.6.11 and later.
* This file is applicable to both 2.4.30 and 2.6.11 and later.
11
* See README.ccs for ChangeLog.
* See README.ccs for ChangeLog.
#
Line 937
static bool ccs_get_argv0(struct ccs_exe
Line 937
static bool ccs_get_argv0(struct ccs_exe
937
out:
out:
938
return false;
return false;
939
}
}
940
941
/**
/**
942
* ccs_find_next_domain - Find a domain.
* ccs_find_next_domain - Find a domain.
943
*
*
#
Line 960
static int ccs_find_next_domain(struct c
Line 960
static int ccs_find_next_domain(struct c
960
struct ccs_path_info sn; /* symlink name */
struct ccs_path_info sn; /* symlink name */
961
struct ccs_path_info ln; /* last name */
struct ccs_path_info ln; /* last name */
962
int retval;
int retval;
{
/*
* Built-in initializers. This is needed because policies are
* not loaded until starting /sbin/init.
*/
static bool first = true;
if (first) {
ccs_update_domain_initializer_entry(NULL,
"/sbin/hotplug",
false, false);
ccs_update_domain_initializer_entry(NULL,
"/sbin/modprobe",
false, false);
first = false;
}
}
963
retry:
retry:
964
current->ccs_flags = ccs_flags;
current->ccs_flags = ccs_flags;
965
r->cond = NULL;
r->cond = NULL;
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.2282
changed lines
Added in v.2308
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26