lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <414ed5b1-825c-4d81-8c86-d261716da64c@t-8ch.de>
Date: Thu, 6 Mar 2025 17:56:35 +0100
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Louis Taylor <louis@...gniz.eu>
Cc: Willy Tarreau <w@....eu>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] tools/nolibc: process open() vararg as mode_t

On 2025-03-04 07:58:17+0000, Louis Taylor wrote:
> openat() uses mode_t for this, so also update open() to be consistent.
> 
> Signed-off-by: Louis Taylor <louis@...gniz.eu>

Acked-by: Thomas Weißschuh <linux@...ssschuh.net>

> ---
>  tools/include/nolibc/sys.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h
> index a8dca5ac6542..5d8adc778575 100644
> --- a/tools/include/nolibc/sys.h
> +++ b/tools/include/nolibc/sys.h
> @@ -810,7 +810,7 @@ int open(const char *path, int flags, ...)
>  		va_list args;
>  
>  		va_start(args, flags);
> -		mode = va_arg(args, int);
> +		mode = va_arg(args, mode_t);
>  		va_end(args);
>  	}
>  
> -- 
> 2.45.2
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ