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

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/memory.c

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

revision 3095 by kumaneko, Thu Oct 8 14:09:45 2009 UTC revision 3104 by kumaneko, Tue Oct 13 08:33:20 2009 UTC
# Line 35  static unsigned int ccs_quota_for_policy Line 35  static unsigned int ccs_quota_for_policy
35   * @ptr:  Pointer to allocated memory.   * @ptr:  Pointer to allocated memory.
36   * @size: Size in byte.   * @size: Size in byte.
37   *   *
38   * Returns true if @ptr is not NULL and quota not exceeded, false otehrwise.   * Returns true if @ptr is not NULL and quota not exceeded, false otherwise.
39   */   */
40  bool ccs_memory_ok(const void *ptr, const unsigned int size)  bool ccs_memory_ok(const void *ptr, const unsigned int size)
41  {  {
# Line 57  bool ccs_memory_ok(const void *ptr, cons Line 57  bool ccs_memory_ok(const void *ptr, cons
57   * @data:   Data to copy from.   * @data:   Data to copy from.
58   * @size:   Size in byte.   * @size:   Size in byte.
59   *   *
60   * Returns true if @ptr is not NULL and quota not exceeded, false otehrwise.   * Returns true if @ptr is not NULL and quota not exceeded, false otherwise.
61   */   */
62  bool ccs_commit_ok(void *ptr, void *data, const unsigned int size)  bool ccs_commit_ok(void *ptr, void *data, const unsigned int size)
63  {  {

Legend:
Removed from v.3095  
changed lines
  Added in v.3104

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