5 |
* |
* |
6 |
* Copyright (C) 2005-2007 NTT DATA CORPORATION |
* Copyright (C) 2005-2007 NTT DATA CORPORATION |
7 |
* |
* |
8 |
* Version: 1.4 2007/04/01 |
* Version: 1.4.2 2007/07/13 |
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. |
97 |
enabled & MS_NOSUID ? "nosuid " : (disabled & MS_NOSUID ? "suid " : ""), |
enabled & MS_NOSUID ? "nosuid " : (disabled & MS_NOSUID ? "suid " : ""), |
98 |
enabled & MS_NODEV ? "nodev " : (disabled & MS_NODEV ? "dev " : ""), |
enabled & MS_NODEV ? "nodev " : (disabled & MS_NODEV ? "dev " : ""), |
99 |
enabled & MS_NOEXEC ? "noexec " : (disabled & MS_NOEXEC ? "exec " : ""), |
enabled & MS_NOEXEC ? "noexec " : (disabled & MS_NOEXEC ? "exec " : ""), |
100 |
enabled & MS_NOATIME ? "noatime" : (disabled & MS_NOATIME ? "atime" : ""), |
enabled & MS_NOATIME ? "noatime " : (disabled & MS_NOATIME ? "atime " : ""), |
101 |
enabled & MS_NODIRATIME ? "nodiratime " : (disabled & MS_NODIRATIME ? "diratime " : ""), |
enabled & MS_NODIRATIME ? "nodiratime " : (disabled & MS_NODIRATIME ? "diratime " : ""), |
102 |
enabled & MS_REC ? "recurse " : (disabled & MS_REC ? "norecurse " : "")); |
enabled & MS_REC ? "recurse " : (disabled & MS_REC ? "norecurse " : "")); |
103 |
} |
} |
373 |
} |
} |
374 |
return 0; |
return 0; |
375 |
} |
} |
376 |
|
EXPORT_SYMBOL(CheckMountPermission); |
377 |
|
|
378 |
int AddMountPolicy(char *data, const int is_delete) |
int AddMountPolicy(char *data, const int is_delete) |
379 |
{ |
{ |
405 |
return ptr ? -ENOMEM : 0; |
return ptr ? -ENOMEM : 0; |
406 |
} |
} |
407 |
|
|
|
EXPORT_SYMBOL(CheckMountPermission); |
|
|
|
|
408 |
/***** SAKURA Linux end. *****/ |
/***** SAKURA Linux end. *****/ |