From: Petr Vorel <pvorel@suse.cz>
To: Yang Xu <xuyang2018.jy@fujitsu.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/2] syscalls/geteuid01: Convert into new api
Date: Mon, 3 Jul 2023 06:31:14 +0200 [thread overview]
Message-ID: <20230703043114.GA363557@pevik> (raw)
In-Reply-To: <1688352041-4945-1-git-send-email-xuyang2018.jy@fujitsu.com>
Hi Xu,
make check-geteuid01 reports a lot of errors.
Some of them are to compat_tst_16.h (missing static would be easy to add),
others are related to this file.
> testcases/kernel/syscalls/geteuid/geteuid01.c | 88 ++++-----------------------
> +//SPDX-License-Identifier: GPL-2.0-only
geteuid01.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
// SPDX-License-Identifier: GPL-2.0-only
> /*
> * Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
Maybe adding your or LTP license?
...
> + * AUTHOR : William Roske
> + * CO-PILOT : Dave Fenner
Maybe just:
* Author: William Roske, Dave Fenner
> */
> /*
This must be /*\, otherwise it will to be taken by our parser.
> + * [Description]
> + *
> + * Check the basic functionality of the geteuid() system call.
> */
...
> + TST_EXP_POSITIVE(GETEUID(),"geteuid");
geteuid01.c:20: ERROR: space required after that ',' (ctx:VxV)
TST_EXP_POSITIVE(GETEUID(), "geteuid");
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2023-07-03 4:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-03 2:40 [LTP] [PATCH 1/2] syscalls/geteuid01: Convert into new api Yang Xu
2023-07-03 2:40 ` [LTP] [PATCH 2/2] syscalls/geteuid02: " Yang Xu
2023-07-03 4:57 ` Petr Vorel
2023-07-04 10:40 ` Yang Xu (Fujitsu)
2023-07-03 4:31 ` Petr Vorel [this message]
2023-07-04 10:39 ` [LTP] [PATCH 1/2] syscalls/geteuid01: " Yang Xu (Fujitsu)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230703043114.GA363557@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=xuyang2018.jy@fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox