From: Shuah Khan <skhan@linuxfoundation.org>
To: Shivam Chaudhary <cvam0000@gmail.com>, selftests@ellerman.id.au
Cc: linux-kselftest@vger.kernel.org, Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] Add Selftest to test fork() syscall
Date: Wed, 23 Oct 2024 14:45:29 -0600 [thread overview]
Message-ID: <237ef4e1-786a-41d4-919d-9907bc76263f@linuxfoundation.org> (raw)
In-Reply-To: <20241022204215.61256-1-cvam0000@gmail.com>
On 10/22/24 14:42, Shivam Chaudhary wrote:
> This test verifies the correct behavior of the fork() system call,
> which creates a child process by duplicating the parent process.
>
> The test checks the following:
> - The child PID returned by fork() is present in /proc.
> - The child PID is different from the parent PID.
> - The memory allocated to a variable in the child process is independent
> of the parent process.
Short log should incude the subsystem:
e.g: selftests: add test for fork() syscall
In anycase, I don't see any value to adding this test.
fork() is a heavily used system call.
thanks,
-- Shuah
next prev parent reply other threads:[~2024-10-23 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 20:42 [PATCH] Add Selftest to test fork() syscall Shivam Chaudhary
2024-10-23 20:45 ` Shuah Khan [this message]
2024-10-23 21:11 ` Shivam Chaudhary
2024-10-23 22:06 ` Shuah Khan
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=237ef4e1-786a-41d4-919d-9907bc76263f@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=cvam0000@gmail.com \
--cc=linux-kselftest@vger.kernel.org \
--cc=selftests@ellerman.id.au \
/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