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

Subversion リポジトリの参照

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

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

revision 2896 by kumaneko, Tue Aug 11 04:11:19 2009 UTC revision 2897 by kumaneko, Wed Aug 12 06:16:57 2009 UTC
# Line 230  static size_t ccs_del_acl(struct ccs_acl Line 230  static size_t ccs_del_acl(struct ccs_acl
230                          struct ccs_mount_acl_record *entry;                          struct ccs_mount_acl_record *entry;
231                          size = sizeof(*entry);                          size = sizeof(*entry);
232                          entry = container_of(acl, typeof(*entry), head);                          entry = container_of(acl, typeof(*entry), head);
233                          ccs_put_name(entry->dev_name);                          ccs_put_name_union(&entry->dev_name);
234                          ccs_put_name(entry->dir_name);                          ccs_put_name_union(&entry->dir_name);
235                          ccs_put_name(entry->fs_type);                          ccs_put_name_union(&entry->fs_type);
236                            ccs_put_number_union(&entry->flags);
237                  }                  }
238                  break;                  break;
239          case CCS_TYPE_UMOUNT_ACL:          case CCS_TYPE_UMOUNT_ACL:
# Line 240  static size_t ccs_del_acl(struct ccs_acl Line 241  static size_t ccs_del_acl(struct ccs_acl
241                          struct ccs_umount_acl_record *entry;                          struct ccs_umount_acl_record *entry;
242                          size = sizeof(*entry);                          size = sizeof(*entry);
243                          entry = container_of(acl, typeof(*entry), head);                          entry = container_of(acl, typeof(*entry), head);
244                          ccs_put_name(entry->dir);                          ccs_put_name_union(&entry->dir);
245                  }                  }
246                  break;                  break;
247          case CCS_TYPE_CHROOT_ACL:          case CCS_TYPE_CHROOT_ACL:
# Line 248  static size_t ccs_del_acl(struct ccs_acl Line 249  static size_t ccs_del_acl(struct ccs_acl
249                          struct ccs_chroot_acl_record *entry;                          struct ccs_chroot_acl_record *entry;
250                          size = sizeof(*entry);                          size = sizeof(*entry);
251                          entry = container_of(acl, typeof(*entry), head);                          entry = container_of(acl, typeof(*entry), head);
252                          ccs_put_name(entry->dir);                          ccs_put_name_union(&entry->dir);
253                  }                  }
254                  break;                  break;
255          case CCS_TYPE_PIVOT_ROOT_ACL:          case CCS_TYPE_PIVOT_ROOT_ACL:
# Line 256  static size_t ccs_del_acl(struct ccs_acl Line 257  static size_t ccs_del_acl(struct ccs_acl
257                          struct ccs_pivot_root_acl_record *entry;                          struct ccs_pivot_root_acl_record *entry;
258                          size = sizeof(*entry);                          size = sizeof(*entry);
259                          entry = container_of(acl, typeof(*entry), head);                          entry = container_of(acl, typeof(*entry), head);
260                          ccs_put_name(entry->old_root);                          ccs_put_name_union(&entry->old_root);
261                          ccs_put_name(entry->new_root);                          ccs_put_name_union(&entry->new_root);
262                  }                  }
263                  break;                  break;
264          default:          default:

Legend:
Removed from v.2896  
changed lines
  Added in v.2897

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