Re: [RFC PATCH] libuuid: introduce safe variant of uuid_generate_time()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 28, 2011 at 03:39:02PM +0100, Karel Zak wrote:
> On Fri, Jan 28, 2011 at 03:12:23PM +0100, Petr Uzel wrote:
> > The problem with libuuid interface is that it is impossible to
> > inform the caller of uuid_generate_time() that unsafe fallback has
> > been used (the function returns void).
> > 
> > This patch introduces new function,
> > 
> > int uuid_generate_time_nf(uuid_t out)     /* nf = "no fallback" */
> 
>  what about uuid_generate_safe_time(uuid_t out) ?

Much better than *_time_nf(), indeed.


Petr

--
Petr Uzel
IRC: ptr_uzl @ freenode

Attachment: pgpcykEIgkuss.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux