From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6GemJylKM2BxbwAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 06:07:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yDR7IylKM2B3egAA1q6Kng (envelope-from ) for ; Mon, 22 Feb 2021 06:07:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4C89F14E68 for ; Mon, 22 Feb 2021 07:07:37 +0100 (CET) Received: from localhost ([::1]:33128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE4Nc-0007zN-ET for larch@yhetil.org; Mon, 22 Feb 2021 01:07:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE18l-0001XB-KW for guix-patches@gnu.org; Sun, 21 Feb 2021 21:40:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE18l-0008Ru-Ci for guix-patches@gnu.org; Sun, 21 Feb 2021 21:40:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lE18l-0001tP-Af for guix-patches@gnu.org; Sun, 21 Feb 2021 21:40:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46698] [PATCH] Added syscall_intercept. Resent-From: Gerd Heber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Feb 2021 02:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46698 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46698@debbugs.gnu.org Cc: Gerd Heber X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16139615937228 (code B ref -1); Mon, 22 Feb 2021 02:40:03 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2021 02:39:53 +0000 Received: from localhost ([127.0.0.1]:55315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE18a-0001sQ-Fy for submit@debbugs.gnu.org; Sun, 21 Feb 2021 21:39:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:46532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDxQf-0004kH-O1 for submit@debbugs.gnu.org; Sun, 21 Feb 2021 17:42:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDxQf-00057s-Gm for guix-patches@gnu.org; Sun, 21 Feb 2021 17:42:17 -0500 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:43919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDxQd-0002ps-Nx for guix-patches@gnu.org; Sun, 21 Feb 2021 17:42:17 -0500 Received: by mail-io1-xd2e.google.com with SMTP id f20so11314566ioo.10 for ; Sun, 21 Feb 2021 14:42:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jj2+fotM+OCvk93SvcXRGzdiOvkkMlapOtsbRbh1c9M=; b=BLQ90SmppUtqLtG25QBWxMsYfrJBRJvOOEZnFiBez+NlwQH3BrX2nBPbJC9cEzkE/4 kRU+eNzv656vkXkIV8MCC5+gXT8f7Q9UEdelZUY2D8VMXM+VHA79sIRA1xNiBh5JJD13 8ZOqbCY00DO2WJezdqeI5AtkKFf/AKeGkMjqnhzJIwIkICGzlGYsWU4jtt+TM695o6iX LC0KrtvAo7ztCqY63+Tor89Yt9wEs1RuUoB4W2JuGRQU5Bpjfqk2o2C8d2/zd0s2ocXi OznXJzdwuaib44P6DHZJ7FVxZrV1ssMVKvrMjpG/+imEdUJjGWvuzpeselZquVJKwaW0 sGEQ== 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:mime-version :content-transfer-encoding; bh=Jj2+fotM+OCvk93SvcXRGzdiOvkkMlapOtsbRbh1c9M=; b=AjpLrl6Nr7pJjFyroFFA4gdSSQZXBw5NQd1AGCGDjcDabh47QKjyScx+JXniUpHpPr bL6ZybeS0jnJ4wHmmlh3EjVcZihJ5Pg/siLRyDHRNgFMRddvoZrFglu6xqPe9eymcTu/ 7VIbhQc5Dygoc5glH4fcgS4WR9ef8GxfVT3cIxRFWlmvrQOX1Bou4HxKd9YvInAsK2ly RhN+4Gnt9EJ51gsKtq7djRg+c3CRlOK+pKpsSWECYrsofDoU7Bcx8T6TxJHIkFX6jn28 +z8vsF9DWn9QEGG9Nx0/XPQsUN2VKS7IwMf3fSyY6CBinLX3g3w1BitedL8P2lxTJjJk +ClA== X-Gm-Message-State: AOAM532v4cyK4bwzju+OVGZVx0pCXCUHTfQ/FB+BVkWx/UzoLmkHIBWG KH6TMFhLtME4hk0zpYJPNeQJQkuVFMWlTg== X-Google-Smtp-Source: ABdhPJznLT5X7XQ7p0FOxvahYuNrRp9d3yfkiXo8znCENJ4hLzRnLxFSEXEMfPqbZwtv0ox2h3K/NA== X-Received: by 2002:a05:6602:200d:: with SMTP id y13mr12480813iod.3.1613947334109; Sun, 21 Feb 2021 14:42:14 -0800 (PST) Received: from guix.attlocal.net ([2600:1702:30b0:1f50:c567:9d5f:23a4:7f67]) by smtp.gmail.com with ESMTPSA id w9sm12066105ioj.0.2021.02.21.14.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 14:42:13 -0800 (PST) From: Gerd Heber X-Google-Original-From: Gerd Heber Date: Sun, 21 Feb 2021 16:42:10 -0600 Message-Id: <20210221224210.6557-1-gheber@hdfgroup.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d2e; envelope-from=gerd.heber@gmail.com; helo=mail-io1-xd2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 Feb 2021 21:39:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 22 Feb 2021 01:07:03 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=BLQ90Smp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4C89F14E68 X-Spam-Score: 2.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: HMXJo6I0sXwH --- gnu/packages/engineering.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 034dabc3f9..626338b868 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2996,3 +2996,35 @@ and drilling of PCBs. It takes Gerber files as input and outputs G-code files for the milling of PCBs. It also includes an autoleveller for the automatic dynamic calibration of the milling depth.") (license license:gpl3+))) + +(define-public syscall_intercept + (package + (name "syscall_intercept") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/pmem/syscall_intercept/") + (commit "304404581c57d43478438d175099d20260bae74e"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17sw78xp5wjzv25adpbq3khl8fi0avj7bgpi57q3jnvl3c68xy5z")))) + (inputs + `(("capstone" ,capstone))) + (native-inputs + `(("perl" ,perl) + ("pkg-config" ,pkg-config))) + (build-system cmake-build-system) + (arguments + `(#:build-type "Release" + #:tests? #f)) + (synopsis "The system call intercepting library") + (description "The system call intercepting library provides a low-level +interface for hooking Linux system calls in user space. This is achieved by +hotpatching the machine code of the standard C library in the memory of a +process.") + (home-page "https://github.com/pmem/syscall_intercept") + (license license:bsd-2))) -- 2.30.1