blob: 3e67de55c4f48a13d41ab25a1073c5c0e6a9494c [file] [log] [blame]
Theodore Ts'o9c5534d2004-01-30 02:07:13 -050012004-01-30 Theodore Ts'o <tytso@mit.edu>
2
3 * gen_uuid.c (uuid_generate_time): Fix bug pointed out by Ralf
4 S. Engelshall; when generating a random ethernet address
5 because one is not available, set the least significant
6 bit of the first byte of the MAC address, since it is the
7 first bit to be transmitted, and is therefore the
8 multicast bit.
9
Theodore Ts'o9c7ec172003-07-26 01:03:34 -0400102003-07-25 Theodore Ts'o <tytso@mit.edu>
11
12 * Release of E2fsprogs 1.34
13
Theodore Ts'oafb6d702003-04-21 16:12:34 -0400142003-04-21 Theodore Ts'o <tytso@mit.edu>
15
Theodore Ts'o71df0dc2003-04-21 16:17:09 -040016 * Release of E2fsprogs 1.33
17
182003-04-21 Theodore Ts'o <tytso@mit.edu>
19
Theodore Ts'oafb6d702003-04-21 16:12:34 -040020 * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on
21 Darwin systems when building with shared libraries.
22
Theodore Ts'offf45482003-04-13 00:44:19 -0400232003-04-12 Theodore Ts'o <tytso@mit.edu>
24
25 * gen_uuid.c: Add #ifdef checks around #include <sys/ioctl.h> and
26 <sys/socket.h>.
27
Theodore Ts'oedab2942003-04-03 08:25:15 -0500282003-04-03 Theodore Ts'o <tytso@mit.edu>
29
30 * gen_uuid.c (get_random_bytes): Always xor in a stream of bytes
31 from the system PRNG (i.e., random/srandom, seeded from
32 the time, pid, and uid) in case /dev/random isn't doing
33 the right thing on a particular system. It doesn't hurt,
34 and it can help, in the case of a buggy /dev/random.
35
Theodore Ts'oe71d8732003-03-14 02:13:48 -0500362003-03-14 Theodore Ts'o <tytso@mit.edu>
37
38 * Makefile.in: Add support for Apple Darwin
39
Theodore Ts'oed78c022003-03-06 11:09:18 -0500402003-03-06 Theodore Tso <tytso@mit.edu>
41
42 * uuid_types.h.in: Don't redefine types if other e2fsprogs
43 *_types.h files have been included already.
44
45 * Makefile.in (tst_uuid): Link against the static library instead
46 of all of the object files, so that we automatically pick
47 up -lsocket under Solaris.
48
Theodore Ts'o94ba8c72003-03-02 02:07:14 -0500492003-03-02 Theodore Ts'o <tytso@mit.edu>
50
51 * Makefile.in, uuidP.h, uuid_types.h.in: Use uuid_types.h instead
52 of ext2_types.h
53
Theodore Ts'o38513012002-11-09 15:00:56 -0500542002-11-09 Theodore Ts'o <tytso@mit.edu>
55
56 * Release of E2fsprogs 1.32
57
Theodore Ts'oae65b292002-11-08 20:08:48 -0500582002-11-08 Theodore Ts'o <tytso@mit.edu>
59
60 * Release of E2fsprogs 1.31
61
Theodore Ts'o61bee882002-10-31 15:17:16 -0500622002-10-31 Theodore Ts'o <tytso@mit.edu>
63
Theodore Ts'o5d823a42002-11-01 02:13:53 -050064 * Release of E2fsprogs 1.30
65
662002-10-31 Theodore Ts'o <tytso@mit.edu>
67
Theodore Ts'o61bee882002-10-31 15:17:16 -050068 * gen_uuid.c (get_random_bytes): Don't spin forever if read()
69 returns EINTR or EAGAIN, so that when /dev/random is
70 opened O_NONBLOCK, we don't end up spinning forever.
71
Theodore Ts'oc6633052002-09-24 01:26:50 -0400722001-09-24 Theodore Tso <tytso@mit.edu>
73
74 * Release of E2fsprogs 1.29
75
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -0400762001-08-31 Theodore Tso <tytso@thunk.org>
77
78 * Release of E2fsprogs 1.28
79
Theodore Ts'o8d7f4582002-07-15 23:49:57 -0400802002-07-15 Theodore Ts'o <tytso@mit.edu>
81
82 * parse.c (uuid_parse): Fix uuid parsing bug which didn't complain
83 for certain types of invalid input text. (Addresses
84 Debian bug #152891).
85
86 * tst_uuid.c: Add test cases for invalid text strings passed to
87 uuid_parse.
88
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500892002-03-08 Theodore Tso <tytso@mit.edu>
90
91 * Release of E2fsprogs 1.27
92
Theodore Ts'o57173d02002-02-26 14:59:39 -0500932002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050094
95 * Makefile.in (install): Install hard links to man pages for
96 uuid_generate_random and uuid_generate_time. Remove
97 any compressed man pages before installing the man pages.
98
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500992002-02-03 Theodore Tso <tytso@thunk.org>
100
101 * Release of E2fsprogs 1.26
102
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001032001-09-20 Theodore Tso <tytso@thunk.org>
104
105 * Release of E2fsprogs 1.25
106
Theodore Ts'o57173d02002-02-26 14:59:39 -05001072001-09-10 Theodore Tso <tytso@mit.edu>
Theodore Ts'oce2722f2001-09-10 20:30:09 -0400108
109 * compare.c (uuid_compare), copy.c (uuid_copy),
110 isnull.c (uuid_is_null), pack.c (uuid_pack),
111 parse.c (uuid_parse), unpack.c (uuid_unpack),
112 unparse.c (uuid_unparse), uuid.h, uuidP.h,
113 uuid_time.c (uuid_time, uuid_type, uuid_variant):
114 Use const for pointer variables that we don't modify. Add
115 the appropriate ifdef's in uuid.h to make it be C++ friendly.
116
Theodore Ts'ofb707752001-09-04 15:00:37 -04001172001-09-02 Theodore Tso <tytso@thunk.org>
118
119 * Release of E2fsprogs 1.24a
120
Theodore Ts'o109624a2001-08-31 00:59:55 -04001212001-08-30 Theodore Tso <tytso@thunk.org>
122
123 * Release of E2fsprogs 1.24
124
Theodore Ts'o943ed872001-08-27 12:29:22 -04001252001-08-15 Theodore Tso <tytso@valinux.com>
126
127 * Release of E2fsprogs 1.23
128
Theodore Ts'o67960132001-06-23 00:16:37 -04001292001-06-23 Theodore Tso <tytso@valinux.com>
130
131 * Release of E2fsprogs 1.22
132
Theodore Ts'o163337b2001-06-22 20:51:42 -04001332001-06-21 Theodore Tso <tytso@valinux.com>
134
135 * uuid.h: Add protection against multiple inclusion
136
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001372001-06-15 Theodore Tso <tytso@valinux.com>
138
139 * Release of E2fsprogs 1.21
140
Theodore Ts'o0923fc62001-06-01 15:03:25 +00001412001-06-01 Theodore Tso <tytso@valinux.com>
142
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000143 * Makefile.in, uuidP.h: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000144 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000145
1462001-06-01 Theodore Tso <tytso@valinux.com>
147
Theodore Ts'o0923fc62001-06-01 15:03:25 +0000148 * unpack.c, unparse.c, uuid_time.c: Update files to be under the
149 LGPL (that somehow were missed when libuuid was converted
150 to use the LGPL). Whoops.
151
Theodore Ts'obb185862001-05-25 17:35:00 +00001522001-05-25 Theodore Tso <tytso@valinux.com>
153
154 * Release of E2fsprogs 1.20
155
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001562001-05-14 Theodore Tso <tytso@valinux.com>
157
158 * tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
159
Theodore Ts'o14fc5a32001-05-12 15:32:46 +00001602001-05-12 Theodore Tso <tytso@valinux.com>
161
162 * libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in,
163 uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in,
164 uuid_time.3.in, uuid_unparse.3.in: Update URL location of
165 e2fsprogs package.
166
Theodore Ts'ob1416db2001-05-01 15:32:44 +00001672001-05-01 Theodore Tso <tytso@valinux.com>
168
169 * parse.c, compare.c: Include string.h to fix gcc -Wall
170 complaints.
171
172 * gen_uuid.c: Define _SVID_SOURCE to avoid gcc -Wall errors
173 because some required structures wouldn't be otherwise
174 defined. Fix a minor gcc -Wall nit in the declaration of
175 get_random_fd().
176
Theodore Ts'o96394d12001-01-12 18:30:54 +00001772001-01-12 Theodore Ts'o <tytso@valinux.com>
178
179 * uuid_time.c (main), tst_uuid.c (main): Fix gcc -Wall complaints.
180
Theodore Ts'o4055ef72001-01-14 16:11:14 +0000181 * uuid.h, copy.c (uuid_copy): Change arguments to make it
182 clear which argument is the source and which is the
183 destination.
Theodore Ts'o96394d12001-01-12 18:30:54 +0000184
185 * gen_uuid.c (get_random_fd): Use gettimeofday to seed the PRNG,
186 so we can take advantage of tv_usec to do (slightly)
187 better at seeding it.
188
Theodore Ts'of9e67062000-07-13 23:25:54 +00001892000-07-13 <tytso@valinux.com>
190
191 * Release of E2fsprogs 1.19
192
Theodore Ts'oec478572000-07-07 04:31:55 +00001932000-07-07 Theodore Ts'o <tytso@valinux.com>
194
195 * Makefile.in (uuid_time): Fix compilation rule so that
196 uuid_time.o doesn't get bashed in order to build the
197 command-line version of uuid_time.
198
Theodore Ts'ob2420d42000-07-04 18:51:20 +00001992000-07-04 Theodore Ts'o <tytso@valinux.com>
200
201 * Makefile.in: Remove explicit link of -lc in the shared library.
202 (It shouldn't be necessary, and is harmful in some cases).
203
Theodore Ts'o5dd7ff02000-06-12 17:35:13 +00002042000-06-12 Theodore Ts'o <tytso@valinux.com>
205
206 * gen_uuid.c (get_random_bytes): Use O_NONBLOCK when trying to
207 open /dev/random. Break out the /dev/random
208 initialization code into a get_random_fd() function, and
209 use that function in uuid_generate() to determine whether
210 to use uuid_generate_random() or uuid_generate_time().
211
Theodore Ts'of0f4acb2000-05-25 23:22:11 +00002122000-05-25 <tytso@snap.thunk.org>
213
214 * Makefile: Add hack dependency rule so that parallel makes work
215 correctly.
216
Theodore Ts'o3030daa2000-04-07 20:06:04 +00002172000-04-07 Theodore Ts'o <tytso@valinux.com>
218
219 * clear.c, compare.c, copy.c, gen_uuid.c, isnull.c, pack.c,
220 parse.c, uuid.h, uuidP.h: Changed copyright to be the
221 LGPL.
222
Theodore Ts'oe2207ce2000-04-06 21:51:18 +0000223Thu Apr 6 17:38:58 2000 Theodore Y. Ts'o <tytso@signal.thunk.org>
224
225 * Makefile.in (uuid_time): Compile uuid_time in two steps (first
226 create .o, then link it against the libraries) to work
227 around bug in a.out linker.
228
229 * dll/jump.funcs, dll/jump.import, dll/jump.params: Update a.out
230 shared library control files to reflect new added files.
231
Theodore Ts'ofa7cc282000-04-03 16:51:06 +00002322000-04-03 Theodore Ts'o <tytso@valinux.com>
233
234 * gen_uuid.c (get_clock): Fix bug where the last timeval wasn't
235 getting set, causing potentially duplicate UUID's to be
236 generated.
237
Theodore Ts'oe589f672000-04-03 13:45:40 +00002382000-03-12 Theodore Ts'o <tytso@valinux.com>
239
240 * gen_uuid.c (get_random_bytes): Make more paranoid about
241 misbehaving /dev/urandom. If we get a return of zero
242 without an error more than 8 times in a row, we break out
243 and return an error. Also, if /dev/urandom doesn't exist,
244 try /dev/random.
245
Theodore Ts'o77200f42000-01-18 17:53:27 +00002462000-01-18 Theodore Ts'o <tytso@valinux.com>
247
248 * Makefile.in: Since LIBUUID can sometimes include
249 "-lsocket" we need a separate DEPLIBUUID that can be used
250 in Makefile's dependency rules.
251
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00002521999-11-19 <tytso@valinux.com>
253
254 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
255 the source directory.
256
Theodore Ts'ocd086361999-11-10 16:00:39 +00002571999-11-10 <tytso@valinux.com>
258
259 * Release of E2fsprogs 1.18
260
Theodore Ts'o36caf251999-10-26 14:29:22 +00002611999-10-26 <tytso@valinux.com>
262
Theodore Ts'o28e11941999-10-26 18:17:20 +0000263 * Release of E2fsprogs 1.17
264
2651999-10-26 <tytso@valinux.com>
266
Theodore Ts'o36caf251999-10-26 14:29:22 +0000267 * uuid_time.c (variant_string): Declare to be static to avoid gcc
268 warnings.
269
270 * uuid.h: Add function prototypes for uuid_generate_random() and
271 uuid_generate_time().
272
Theodore Ts'o6c979d51999-10-26 02:50:36 +00002731999-10-25 <tytso@valinux.com>
274
275 * gen_uuid_nt.c (uuid_generate): W2K strikes again! An
276 incompatible interface change means we need to detect
277 whether the code is running on an NT4 or NT5 system.
278
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002791999-10-22 <tytso@valinux.com>
280
281 * Release of E2fsprogs 1.16
282
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +00002831999-10-21 <tytso@valinux.com>
284
285 * uuid_generate.8.in: Update man page to use a more standard
286 format (bold option flags and italicized variables), as
287 suggested by Andreas Dilger (adilger@enel.ucalgary.ca)
288
Theodore Ts'oaa4115a1999-10-21 19:33:18 +00002891999-09-24 <tytso@valinux.com>
290
291 * gen_uuid_nt.c: New file which creates a UUID under Windows NT.
292
Theodore Ts'o657cb971999-07-30 23:19:10 +00002931999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
294
295 * Release of E2fsprogs 1.15
296
Theodore Ts'ob19d1a91999-06-18 00:32:03 +00002971999-05-17 <tytso@rsts-11.mit.edu>
298
299 * gen_uuid.c (get_random_bytes): Use a while loop when reading
300 from /dev/urandom so that if we get interrupted while
301 reading the right thing happens.
302 (uuid_generate_random): Add new function which uses the
303 new UUID format which uses 122 random bits to form the
304 128-bit UUID.
305 (uuid_generate): Rename the old uuid_generate to be
306 uuid_generate_time, and create a new uuid_generate
307 function which calls either uuid_generate_random or
308 uuid_genereate_time depending on whether /dev/urandom is
309 present.
310
311 * uuid_generate.3.in: Update to reflect changesin uuid_generate
312 and its two new variants.
313
314 * tst_uuid.c: Updated to test new uuid_generate functions, and to
315 reflect new semantics of uuid_compare. Added tests to
316 make sure the UUID type and variant created by UUID
317 generate is correct.
318
319 * uuid_time.c (uuid_variant, uuid_type): Added new functions to
320 return the UUID variant and type information. The
321 debugging program now prints the UUID variant and type,
322 and warns if the unparsed time information is likely to be
323 incorrect.
324
325 * uuid_parse.3.in, libuuid.3.in: Miscellaneous text cleanups.
326
Theodore Ts'offd3af51999-06-17 22:49:23 +00003271999-05-03 <tytso@rsts-11.mit.edu>
328
329 * compare.c (uuid_compare): Change sense of uuid_compare so that
330 its return values match that of memcpy and the
331 uuid_compare() found in Paul Leach's internet-draft.
332
Theodore Ts'o4eca93b1999-03-16 20:31:56 +00003331999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca>
334
335 * Created man pages for libuuid functions.
336
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00003371999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
338
339 * Release of E2fsprogs 1.14
340
Theodore Ts'o556ad131998-12-19 08:10:58 +00003411998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
342
343 * Release of E2fsprogs 1.13
344
Theodore Ts'o1e0a2211998-12-04 08:13:52 +00003451998-12-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
346
347 * Makefile.in: Update version numbers of the UUID shared library,
348 since we've added a new function (uuid_time()).
349
350 * uuid_time.c: New file which returns the time field of a UUID.
351 (Good for debugging purposes)
352
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00003531998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
354
355 * Release of E2fsprogs 1.12
356
Theodore Ts'o818180c1998-06-27 05:11:14 +00003571998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu>
358
359 * tst_uuid.c (main): Fixed bogus declaration of the main's argv
360 parameter.
361
Theodore Ts'o91b2c421998-04-27 01:28:13 +00003621998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
363
364 * uuidP.h: Use asm/types.h instead of linux/types.h to avoid a
365 problem caused by glibc hack to prevent linux/types.h from
366 being included.
367
Theodore Ts'oe5fa0e31998-04-01 02:18:45 +00003681998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
369
370 * Makefile.in: Change to use new installation directory variables
371 convention. Fix uninstall rules to take $(DESTDIR) into
372 account.
373
Theodore Ts'odc3710e1998-03-09 03:34:48 +0000374Sun Mar 8 22:17:59 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
375
376 * gen_uuid.c (get_node_id): Use char * instead of caddr_t, which
377 doesn't always exist for glibc.
378
Theodore Ts'od5464471997-10-15 01:52:44 +0000379Tue Oct 14 21:48:16 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
380
381 * gen_uuid.c: Use clock_reg instead of clock, since clock
382 conflicts with a header file declaration.
383
Theodore Ts'o024996c1997-06-17 05:38:35 +0000384Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
385
386 * Release of E2fsprogs 1.11
387
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000388Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
389
390 * Release of E2fsprogs version 1.10
391
392Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
393
394 * Release of E2fsprogs version 1.09
395
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000396Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
397
398 * Release of E2fsprogs version 1.08
399
Theodore Ts'o19c78dc1997-04-29 16:17:09 +0000400Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
401
402 * Release of E2fsprogs version 1.07
403
404Sun Mar 2 16:45:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
405
406 * Makefile.in (ELF_VERSION): Change version to be 1.1
407
408Thu Feb 6 23:08:07 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
409
410 * gen_uuid.c (uuid_generate): Set Multicast bit when picking a
411 random node_id, to prevent conflicts with IEEE 802
412 addresses obtained from network cards.
413
414Wed Jan 1 23:51:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
415
416 * unpack.c, pack.c: Include string.h, since we use memcpy().
417
418Tue Dec 3 13:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
419
420 * parse.c: Add #include of ctype.h and stdlib.h, to pull in the
421 required prototypes.
422
423Fri Oct 11 17:15:10 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
424
425 * Makefile.in (DLL_ADDRESS): Updated DLL address for libuuid.
426
427Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
428
429 * Release of E2fsprogs version 1.06
430
Theodore Ts'o5c576471997-04-29 15:29:49 +0000431Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
432
433 * Release of E2fsprogs version 1.05
434
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000435Tue Aug 27 16:50:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
436
437 * uuid/gen_uuid.c [HAVE_NET_IF_H] <net/if.h>: Include guarded.
438 [HAVE_NETINET_IN_H] <netinet/in.h>: Include guarded.
439 (get_node_id): Surround bulk of function with #ifdef HAVE_NET_IF_H.
440
441Tue Aug 27 16:50:16 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
442
443 * gen_uuid.c (get_node_id): Add a specific ifdef for the HURD,
444 since it is broken w.r.t getting hardware addresses.