オープンソース・ソフトウェアの開発とダウンロード
ログイン
アカウント作成
ヘルプ
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
/
realpath.c
Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/realpath.c
Parent Directory
|
Revision Log
|
Patch
revision
2701
by
kumaneko
, Tue Jun 30 02:03:03 2009 UTC
revision
2702
by
kumaneko
, Tue Jun 30 03:49:41 2009 UTC
#
Line 792
static struct kmem_cache *ccs_cachep;
Line 792
static struct kmem_cache *ccs_cachep;
792
static kmem_cache_t *ccs_cachep;
static kmem_cache_t *ccs_cachep;
793
#endif
#endif
794
795
struct srcu_struct ccs_ss;
796
797
/**
/**
798
* ccs_realpath_init - Initialize realpath related code.
* ccs_realpath_init - Initialize realpath related code.
799
*
*
#
Line 806
static int __init ccs_realpath_init(void
Line 808
static int __init ccs_realpath_init(void
808
/* Constraint for "struct ccs_execve_entry"->tmp users. */
/* Constraint for "struct ccs_execve_entry"->tmp users. */
809
if (CCS_MAX_PATHNAME_LEN > CCS_EXEC_TMPSIZE)
if (CCS_MAX_PATHNAME_LEN > CCS_EXEC_TMPSIZE)
810
panic("Bad size.");
panic("Bad size.");
811
if (init_srcu_struct(&ccs_ss))
812
panic("Out of memory.");
813
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
814
ccs_cachep = kmem_cache_create("ccs_cache",
ccs_cachep = kmem_cache_create("ccs_cache",
815
sizeof(struct ccs_cache_entry),
sizeof(struct ccs_cache_entry),
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.2701
changed lines
Added in v.2702
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26