From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yang Xu Date: Fri, 13 Nov 2020 09:33:06 +0800 Subject: [LTP] [PATCH v2 2/2] syscalls/ptrace11: Add test for tracing init process In-Reply-To: <20201112120505.GA15765@yuki.lan> References: <20201111150926.GA21539@yuki.lan> <1605163724-20306-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> <1605163724-20306-2-git-send-email-xuyang2018.jy@cn.fujitsu.com> <20201112103217.GD11365@yuki.lan> <20201112120505.GA15765@yuki.lan> Message-ID: <5FADE252.5020702@cn.fujitsu.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Cyril > Hi! >>> +// SPDX-License-Identifier: GPL-2.0-or-later >>> +/* >>> + * Copyright (c) 2020 FUJITSU LIMITED. All rights reserved. >>> + * Author: Yang Xu>> + * >>> + * This case just check whether we can trace init(1) process and >>> + * doesn't trigger error. >>> + */ >> >> Why is init(1) special here? Is this a regression test? > > Looking into the manual page this wasn't supported until 2.6.26. I guess > that we should mention that here in the test description. Yes, it should be added into the test description. Sorry for not explaining why testing init process. Will add it in v2. >