Re: Unmark gen_random_uuid() function leakproof

2024-12-11 Thread Masahiko Sawada
On Tue, Dec 10, 2024 at 1:52 PM Masahiko Sawada wrote: > > On Mon, Dec 9, 2024 at 2:48 PM Masahiko Sawada wrote: > > > > On Mon, Dec 9, 2024 at 2:23 PM Andres Freund wrote: > > > > > > Hi, > > > > > > On 2024-12-09 14:10:30 -0800, Masahiko Sawada wrote: > > > > While reviewing UUIDv7 patch[1], I

Re: Unmark gen_random_uuid() function leakproof

2024-12-10 Thread Masahiko Sawada
On Mon, Dec 9, 2024 at 2:48 PM Masahiko Sawada wrote: > > On Mon, Dec 9, 2024 at 2:23 PM Andres Freund wrote: > > > > Hi, > > > > On 2024-12-09 14:10:30 -0800, Masahiko Sawada wrote: > > > While reviewing UUIDv7 patch[1], I realized gen_random_uuid() is > > > marked leakproof even though it doesn

Re: Unmark gen_random_uuid() function leakproof

2024-12-09 Thread Masahiko Sawada
On Mon, Dec 9, 2024 at 2:23 PM Andres Freund wrote: > > Hi, > > On 2024-12-09 14:10:30 -0800, Masahiko Sawada wrote: > > While reviewing UUIDv7 patch[1], I realized gen_random_uuid() is > > marked leakproof even though it doesn't take arguments. The functions > > without arguments don't need to be

Re: Unmark gen_random_uuid() function leakproof

2024-12-09 Thread Andres Freund
Hi, On 2024-12-09 14:10:30 -0800, Masahiko Sawada wrote: > While reviewing UUIDv7 patch[1], I realized gen_random_uuid() is > marked leakproof even though it doesn't take arguments. The functions > without arguments don't need to be marked leakproof in principle. This > is the sole function that h

Unmark gen_random_uuid() function leakproof

2024-12-09 Thread Masahiko Sawada
Hi, While reviewing UUIDv7 patch[1], I realized gen_random_uuid() is marked leakproof even though it doesn't take arguments. The functions without arguments don't need to be marked leakproof in principle. This is the sole function that has no arguments and is listed in the "List of built-in leakpr