From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13064 invoked from network); 2 Aug 2021 00:54:42 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 2 Aug 2021 00:54:42 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id A0CFA9CA99; Mon, 2 Aug 2021 10:54:40 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 7F3B69CA63; Mon, 2 Aug 2021 10:54:21 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oOMVlAF2"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id DED909CA63; Mon, 2 Aug 2021 10:54:19 +1000 (AEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by minnie.tuhs.org (Postfix) with ESMTPS id 2E69D9CA60 for ; Mon, 2 Aug 2021 10:54:19 +1000 (AEST) Received: by mail-lf1-f48.google.com with SMTP id y34so30641553lfa.8 for ; Sun, 01 Aug 2021 17:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jeI+sqnEmFL+zbOtcF+wRYawaDt+AHGL6D32b9BbzZg=; b=oOMVlAF26EO3C9f5LLRgjWlMid9LtYfyY+bbENKEQDKZSmQHuYua+m0HTX6zziL0/1 Fr9okzw5ra3ADiLwLUCFnG4DKRUb/F8nak0s3Tp2GLPKBCNYU6DI6PnIwkQn2UDwngem S/OmyfJEvewZLhstOJWBEHJmSueC3K2fx4wggtZYPziNycWyPf9FEsz4GCa/J/cZIa7w vZx2PrkNBui8b0Osg6ypFTlW5ZhCRff89Rc8Nj5r7SCg0KggTQ2rC0XAl7Lv9IoZIx8j uGKOe8tDXlJx44Wu02IC1iriSMaiGSj3zALwWhvIpTEcBhVSmhvE8fKnh+Ftbq2DmA4L jTdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jeI+sqnEmFL+zbOtcF+wRYawaDt+AHGL6D32b9BbzZg=; b=RL0UjvmZOWKTsAH0v9vk8+SdmnCjYK/+6LENQ+SPciyXxjNj51fMQBBclbEndQ5uhm XxfCwyP96feL5GvWmP6EdvWFACc9WUEKdzIcnk+VbJk3W/n5i6WmMkT54+HBWMLzrpfb YCQWm74zvXhaLNQsxJUcyc+/wQPPiZGt07+uEAqdsCtgYFVdzIAC32QzR+DkOWoiCgBO EivK35/98qcolZQ9IXELEILBsH+/GI5KYVcFm7d8tZn8ROouHR2l5Y2RXmLfRd68hrch maOJ/v4RO/Tjmym6QAyTKNEg7EyD2eF0+ZuDBy0VZ2WnW2RSKyDjphgMLK7BaG3iwmub /wKw== X-Gm-Message-State: AOAM532CBS0dpU3zZF6UlRUT/lHRexLOVtdWUurSgPAvBSKFLCvS4hed dCW9WIjUCNh5sV+pX99ceUlg8Wr4wsgJiNktEPM= X-Google-Smtp-Source: ABdhPJwTXK4QUg75rWdhBlrTPq39YvzGxxdM0tY83rpwrDN/BGFPx7sj6RVyzsQwlReOtcBj+NbQoRx21u1LppVesTk= X-Received: by 2002:ac2:44c4:: with SMTP id d4mr2356294lfm.281.1627865657561; Sun, 01 Aug 2021 17:54:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:a288:0:0:0:0:0 with HTTP; Sun, 1 Aug 2021 17:54:17 -0700 (PDT) In-Reply-To: References: <20210731142533.69caf929@moon> <40763c2d-52ad-eb01-8bf8-85acf6fee700@case.edu> From: Andrew Warkentin Date: Sun, 1 Aug 2021 18:54:17 -0600 Message-ID: To: John Cowan Content-Type: text/plain; charset="UTF-8" Subject: Re: [TUHS] Systematic approach to command-line interfaces X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 8/1/21, John Cowan wrote: > > In that case you don't need *any* primitive except create_empty_process(): > you can do exec() by opening the file, writing to /proc//mem and > then to /pc-and-go. > Yes, although that would break if the permissions for the program are execute-only (which admittedly is of limited security value in most cases).