[LTP] [PATCH v2] open14: Rewrite to new API

Martin Doucha mdoucha@suse.cz
Tue Jul 22 15:01:05 CEST 2025


On 22. 07. 25 10:32, Petr Vorel wrote:
> Hi Martin,
> 
> ...
> 
> If you don't mind I would amend the code before merge (diff below).
> 
> Kind regards,
> Petr
> 
> +++ testcases/kernel/syscalls/open/open14.c
> @@ -7,6 +7,7 @@
>   
>   /*\
>    * Check the functionality of O_TMPFILE flag for open() syscall:
> + *
>    * 1) Creation and linking (naming) of a single temp file
>    * 2) Creation of multiple unlinked temp files in a hierarchy of directories
>    * 3) Access permissions of linked temp files match creation mode argument
> @@ -53,7 +54,7 @@ static void write_file(int fd)
>   		SAFE_WRITE(1, fd, buf, size);
>   }
>   
> -void test01(void)
> +static void test01(void)
>   {
>   	struct stat st;
>   	char path[PATH_MAX];

Hi,
feel free to amend the patch during merge.

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list