From patchwork Thu Mar 7 07:28:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 159797 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7119573jad; Wed, 6 Mar 2019 23:29:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwotcTmzs/6Ucvwx5Fa3gE2tlIAvDFn09sT651zz1kBRNE2wen1MK7qEk8lJdiInfl1IFXZ X-Received: by 2002:a1c:1d15:: with SMTP id d21mr4399289wmd.132.1551943755614; Wed, 06 Mar 2019 23:29:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551943755; cv=none; d=google.com; s=arc-20160816; b=zxz7ZoGqNcA/N0dffvRtDpmeqVa/zev3QRK1MkOoBRzZph4F+gOYZX/xFLCjgbWEwR YY8CnZ7iJJIyItiAETwAdMRgU2xvkw7+idLW7FkOYs+zqz0cN97wmMklu7XvLnT0cVva eJ6ZhqxAqpBp3a8Mwjc6imVujYK9hxX3OM0CFVf7xmi8u8W349dgaRwmWm2ejOKRJ+Hh xZGL+lbeI4bvorpYQo81PeLZP+y6VG+nZ0wuepX2AjLht1SiEHFW5JRQlG+Gwwn+OWaT f6J10z4XLgDs1nHN9NJ+iGRjEl2Ps+Gy7R/GmvVw85eOOgy9gwOdy9t79IXvvyDPOT5/ rsGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:delivered-to; bh=z3oNDuRURZiGea38DdrvMo6Id4hDOWCNBmh5iZ5Y1LA=; b=agM9xhv40NDIvtJlR29Nprta98bWLt1b4zoxM2czmjGs0U5+qnPVRuFRabknBAAO+B dJLbCXasW/u/GHHjvHM5nNN4u7xZ0+HPQD8m14sOn1G4wGCSt7A4iqvoxzUFyNJV0ol0 EeeUyxI3M/3ejjl/0sS0HJpLzwjEpa9rjzCduBcY84Zb5pR+wuoWA1dZDtnqQ41QuUa0 LUkzeegBK604MivqOd6aOVGpQ20fFZ4USHSdkXjJds2608Sd/UMD88RQzjzfU9096nGM Up4xxnv0Tewi0mbFZHF2vUvOYLEvwj1VMdiGeSgQi2PNqVejZd4+OV3g7HU1ecHQvB78 of0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=knuipNKX; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 2001:1418:10:5::2 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from picard.linux.it (picard.linux.it. [2001:1418:10:5::2]) by mx.google.com with ESMTPS id r127si2214932wme.190.2019.03.06.23.29.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 23:29:15 -0800 (PST) Received-SPF: pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 2001:1418:10:5::2 as permitted sender) client-ip=2001:1418:10:5::2; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=knuipNKX; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 2001:1418:10:5::2 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 2E2413EA379 for ; Thu, 7 Mar 2019 08:29:15 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) by picard.linux.it (Postfix) with ESMTP id 3CB123EA19C for ; Thu, 7 Mar 2019 08:29:11 +0100 (CET) Received: from mail-yw1-xc43.google.com (mail-yw1-xc43.google.com [IPv6:2607:f8b0:4864:20::c43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 496E3602224 for ; Thu, 7 Mar 2019 08:29:10 +0100 (CET) Received: by mail-yw1-xc43.google.com with SMTP id s204so12518730ywg.2 for ; Wed, 06 Mar 2019 23:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=vSwx8cayjrqN0TXeJ5eju683dzKkYILsGgkO2vnKkOY=; b=knuipNKXxFdKPayRb9BBf3hG0aN9COQXOg6F0rE5W1un2wq4MbpoBBHGTJh5NZx0de RwfVVLLR1JhZqeW72caoULFpN/dVg+XV6EOLK3xXULDSBNubpLF9xXvdp9Kxee5VHMwK mjwj+zu4V5cbCttozLXgFce78N65CiU+PSgcNEQE/Tq7M1D3kja7XFMlGyRjauy7jY5A z3MSJ/N5f+l5AoZrb2VoIEBhwdf+HUj3zFyAZ4ea70zTp4tbKjtFmLzWEsu8Lq0PZ6AD e3horcXwqm4zblgxWAGrGaLtrMYteIyH0vnLRriEKoTkZ6HTmFDhBOMJTSEqUCZIbEw7 WxLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vSwx8cayjrqN0TXeJ5eju683dzKkYILsGgkO2vnKkOY=; b=kj3GADAYb9OTORwSWW7Nzsseecf6f6Sj4FpXJcmTdHSyrySu6RuH2eWKESkzPa9rb+ ctGFvTRHM0ggXdtycynDGg/7HdyiU2VR+oVw7o/74rV057HrIass5SjwN7fp8+FJ7rAH 8VtVWXYIRqM3ECDqvHEC8vTSCLGxqBRPv4AzOvozNEAMOnguZT/5NGTg0a91yYx69XVZ 99bZ+tNgVJzT0ZSti3XsGJ9dI+f1ijuqcj3gwl7ASbVySsd8y+K+dV2NvCsH6siR/zu0 gnjaixVoEBBHUKGNVZvd7xFbiQzfgARTRrT4919c7KxCgLyo7gj/rkUoABKIqA6yfeNA lyQg== X-Gm-Message-State: APjAAAXICldisTlhCCb7Yc64PUCGhc9a2pB1v9Y3KREbeaZcEf3/qWKU LTn5qQPqdzcFAQQy+r145QhALuuibq0= X-Received: by 2002:a81:3b96:: with SMTP id i144mr8882689ywa.155.1551943748796; Wed, 06 Mar 2019 23:29:08 -0800 (PST) Received: from localhost.localdomain ([117.252.64.200]) by smtp.gmail.com with ESMTPSA id v6sm1464108ywc.107.2019.03.06.23.29.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Mar 2019 23:29:08 -0800 (PST) From: Sumit Garg To: ltp@lists.linux.it Date: Thu, 7 Mar 2019 12:58:45 +0530 Message-Id: <1551943728-16222-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: clamav-milter 0.99.2 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-2.smtp.seeweb.it Cc: daniel.thompson@linaro.org Subject: [LTP] [PATCH 0/3] syscalls: add tgkill test-cases X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+patch=linaro.org@lists.linux.it Sender: "ltp" This patch-set is inherited from Greg which adds test-cases for tgkill syscall. Greg Hackmann (3): syscalls/tgkill01: add new test syscalls/tgkill02: add new test syscalls/tgkill03: add new test runtest/syscalls | 4 + testcases/kernel/syscalls/tgkill/.gitignore | 3 + testcases/kernel/syscalls/tgkill/Makefile | 10 ++ testcases/kernel/syscalls/tgkill/tgkill.h | 22 +++++ testcases/kernel/syscalls/tgkill/tgkill01.c | 138 ++++++++++++++++++++++++++++ testcases/kernel/syscalls/tgkill/tgkill02.c | 80 ++++++++++++++++ testcases/kernel/syscalls/tgkill/tgkill03.c | 122 ++++++++++++++++++++++++ 7 files changed, 379 insertions(+) create mode 100644 testcases/kernel/syscalls/tgkill/.gitignore create mode 100644 testcases/kernel/syscalls/tgkill/Makefile create mode 100644 testcases/kernel/syscalls/tgkill/tgkill.h create mode 100644 testcases/kernel/syscalls/tgkill/tgkill01.c create mode 100644 testcases/kernel/syscalls/tgkill/tgkill02.c create mode 100644 testcases/kernel/syscalls/tgkill/tgkill03.c