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

Subversion リポジトリの参照

Diff of /branches/ccs-patch/security/ccsecurity/policy_io.c

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

revision 3484 by kumaneko, Tue Mar 2 01:22:31 2010 UTC revision 3494 by kumaneko, Wed Mar 3 11:44:18 2010 UTC
# Line 2145  static atomic_t ccs_query_observers = AT Line 2145  static atomic_t ccs_query_observers = AT
2145   * @fmt:     The printf()'s format string, followed by parameters.   * @fmt:     The printf()'s format string, followed by parameters.
2146   *   *
2147   * Returns 0 if the supervisor decided to permit the access request which   * Returns 0 if the supervisor decided to permit the access request which
2148   * violated the policy in enforcing mode, 1 if the supervisor decided to   * violated the policy in enforcing mode, CCS_RETRY_REQUEST if the supervisor
2149   * retry the access request which violated the policy in enforcing mode,   * decided to retry the access request which violated the policy in enforcing
2150   * 0 if it is not in enforcing mode, -EPERM otherwise.   * mode, 0 if it is not in enforcing mode, -EPERM otherwise.
2151   */   */
2152  int ccs_supervisor(struct ccs_request_info *r, const char *fmt, ...)  int ccs_supervisor(struct ccs_request_info *r, const char *fmt, ...)
2153  {  {
# Line 2256  int ccs_supervisor(struct ccs_request_in Line 2256  int ccs_supervisor(struct ccs_request_in
2256          spin_unlock(&ccs_query_list_lock);          spin_unlock(&ccs_query_list_lock);
2257          switch (ccs_query_entry->answer) {          switch (ccs_query_entry->answer) {
2258          case 3: /* Asked to retry by administrator. */          case 3: /* Asked to retry by administrator. */
2259                  error = 1;                  error = CCS_RETRY_REQUEST;
2260                  r->retry++;                  r->retry++;
2261                  break;                  break;
2262          case 1:          case 1:

Legend:
Removed from v.3484  
changed lines
  Added in v.3494

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