~ubuntu-branches/ubuntu/lucid/bind9/lucid

« back to all changes in this revision

Viewing changes to lib/bind/include/isc/memcluster.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Internet Software Consortium, Inc, InterNIC, LaMont Jones
  • Date: 2009-07-28 22:03:14 UTC
  • mfrom: (1.6.1 upstream) (10.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090728220314-9wztcj047dxvvhdh
Tags: 1:9.6.1.dfsg.P1-1
[Internet Software Consortium, Inc]

* A specially crafted update packet will cause named to exit. 
  CVE-2009-0696, CERT VU#725188.  Closes: #538975

[InterNIC]

* Update db.root hints file.

[LaMont Jones]

* Move default zone definitions from named.conf to named.conf.default-zones.
   Closes: #492308
* use start-stop-daemon if rndc stop fails.  Closes: #536487
* lwresd: pidfile name was wrong in init script.  Closes: #527137

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
3
 
 * Copyright (c) 1997,1999 by Internet Software Consortium.
4
 
 *
5
 
 * Permission to use, copy, modify, and distribute this software for any
6
 
 * purpose with or without fee is hereby granted, provided that the above
7
 
 * copyright notice and this permission notice appear in all copies.
8
 
 *
9
 
 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
10
 
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
 
 * MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
12
 
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
 
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
 
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15
 
 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
 
 */
17
 
 
18
 
#ifndef MEMCLUSTER_H
19
 
#define MEMCLUSTER_H
20
 
 
21
 
#include <stdio.h>
22
 
 
23
 
#define meminit         __meminit
24
 
#ifdef MEMCLUSTER_DEBUG
25
 
#define memget(s)       __memget_debug(s, __FILE__, __LINE__)
26
 
#define memput(p, s)    __memput_debug(p, s, __FILE__, __LINE__)
27
 
#else /*MEMCLUSTER_DEBUG*/
28
 
#ifdef MEMCLUSTER_RECORD
29
 
#define memget(s)       __memget_record(s, __FILE__, __LINE__)
30
 
#define memput(p, s)    __memput_record(p, s, __FILE__, __LINE__)
31
 
#else /*MEMCLUSTER_RECORD*/
32
 
#define memget          __memget
33
 
#define memput          __memput
34
 
#endif /*MEMCLUSTER_RECORD*/
35
 
#endif /*MEMCLUSTER_DEBUG*/
36
 
#define memstats        __memstats
37
 
#define memactive       __memactive
38
 
 
39
 
int     meminit(size_t, size_t);
40
 
void *  __memget(size_t);
41
 
void    __memput(void *, size_t);
42
 
void *  __memget_debug(size_t, const char *, int);
43
 
void    __memput_debug(void *, size_t, const char *, int);
44
 
void *  __memget_record(size_t, const char *, int);
45
 
void    __memput_record(void *, size_t, const char *, int);
46
 
void    memstats(FILE *);
47
 
int     memactive(void);
48
 
 
49
 
#endif /* MEMCLUSTER_H */
50
 
/*! \file */