オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.5.x/ccs-patch/fs/sakura_mount.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 214 by kumaneko, Wed May 16 10:04:31 2007 UTC revision 290 by kumaneko, Tue Jul 10 11:52:21 2007 UTC
# Line 5  Line 5 
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.
# Line 97  static void MakeMountOptions(char *buffe Line 97  static void MakeMountOptions(char *buffe
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          }          }
# Line 373  int CheckMountPermission(char *dev_name, Line 373  int CheckMountPermission(char *dev_name,
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  {  {
# Line 404  int ReadMountPolicy(struct io_buffer *he Line 405  int ReadMountPolicy(struct io_buffer *he
405          return ptr ? -ENOMEM : 0;          return ptr ? -ENOMEM : 0;
406  }  }
407    
 EXPORT_SYMBOL(CheckMountPermission);  
   
408  /***** SAKURA Linux end. *****/  /***** SAKURA Linux end. *****/

Legend:
Removed from v.214  
changed lines
  Added in v.290

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26