~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to include/ntp_machine.h

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-01-05 21:10:03 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090105211003-mh6zc3um4k1uhsj7
Tags: 1:4.2.4p4+dfsg-8
It did not properly check the return value of EVP_VerifyFinal
which results in an malformed DSA signature being treated as
a good signature rather than as an error.  (CVE-2009-0021)

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  the stream in an I_STR ioctl. This ususally also implies
55
55
  USE_STREAMS_DEVICE FOR IF_CONFIG. Dell UNIX is a notable exception.
56
56
 
57
 
  STREAMS_TLI - use ioctl(I_STR) to implement ioctl(SIOCGIFCONF)
58
 
 
59
57
WHAT DOES IOCTL(SIOCGIFCONF) RETURN IN THE BUFFER
60
58
 
61
59
  UNIX V.4 machines implement a sockets library on top of streams.
81
79
  RETSIGTYPE            - Define signal function type.
82
80
  NO_SIGNED_CHAR_DECL - No "signed char" see include/ntp.h
83
81
  LOCK_PROCESS          - Have plock.
84
 
  UDP_WILDCARD_DELIVERY
85
 
                        - these systems deliver broadcast packets to the wildcard
86
 
                          port instead to a port bound to the interface bound
87
 
                          to the correct broadcast address - are these
88
 
                          implementations broken or did the spec change ?
89
82
*/
90
83
 
91
84
/*
99
92
#endif /* not __STDC__ and not HAVE_PROTOTYPES */
100
93
#endif /* P */
101
94
 
 
95
#if !defined(HAVE_NTP_ADJTIME) && defined(HAVE___ADJTIMEX)
 
96
# define ntp_adjtime __adjtimex
 
97
#endif
 
98
 
102
99
#if 0
103
100
 
104
101
/*
244
241
#ifndef SYS_WINNT
245
242
# define SOCKET int
246
243
# define INVALID_SOCKET -1
 
244
# define SOCKET_ERROR   -1
247
245
# define closesocket close
248
246
#endif
249
247
/*
272
270
# define unlink _unlink
273
271
# define fileno _fileno
274
272
# define write _write
275
 
# define vsnprintf _vsnprintf
276
 
# define snprintf _snprintf
277
273
#ifndef close
278
274
# define close _close
279
275
#endif
355
351
#define getclock        clock_gettime
356
352
#define fcntl           ioctl
357
353
#define _getch          getchar
358
 
#define random          rand
359
 
#define srandom         srand
360
354
 
361
355
/* define this away for vxWorks */
362
356
#define openlog(x,y)