From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 28814 invoked from network); 28 Mar 2020 16:16:58 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from unknown (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTP; 28 Mar 2020 16:16:58 -0000 Received: (qmail 13556 invoked by alias); 28 Mar 2020 16:16:52 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24728 Received: (qmail 23772 invoked by uid 1010); 28 Mar 2020 16:16:52 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f43.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25758. spamassassin: 3.4.2. Clear:RC:0(209.85.166.43):SA:0(-2.0/5.0):. Processed in 0.731351 secs); 28 Mar 2020 16:16:52 -0000 X-Envelope-From: roman.perepelitsa@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.43 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nhHEWphsZyMksp3z+DK8q6pcc9PzAN/HAgjsJVbEyq4=; b=OcMW4e0jfYjVM9ImZcn8ylu3nYu3Q1y7JBW7u5RGJcN5O5AspMMerg1OcxHX/pwInU 2ybAyKdqXXLlctlvdiNYrTQzQ3f5IqfO0HSqzbPK/xSLBVJkNP3VibepjSKLFvopdWqr Y8Pxh05g9Z33id5DF9pSYEoydneO0WhLi4QCDh+KYmr7SybLR9gaCDYgJ20eff7vPsTE ddxES6ufYOQ84tOd/06HuSjaSxW6Ky9FclcRBVDGKBWm49OQF9DuPZ/VTdvp+rqgFSVi w4Rq7jvdG6eiYE3MMInoS6kW9ECAgJ/r/6012gxKYX5Af3Dqc7Q2/oCikDF7oN6dAEpq IrPw== X-Gm-Message-State: ANhLgQ0aQ4D8cjcv2VJq+eNZZTvUGA89i130CmIUeT0XP9i0abhqHatc k7JHlD7gs2Rec8Uc/nGjPYzvLngwa5jRfuz/OSg= X-Google-Smtp-Source: ADFU+vu+6r7ONnEtSiaecM9hvx6bsfqt/b0MZ9m4gGW1lTmitxy9CrI6O9JPokje5LJNJ96kFeBCR4sVYbRjvIha4Us= X-Received: by 2002:a02:c85b:: with SMTP id r27mr3844764jao.83.1585412177799; Sat, 28 Mar 2020 09:16:17 -0700 (PDT) MIME-Version: 1.0 References: <7f096755-d34e-e522-52b3-f480eae3b3bb@eastlink.ca> In-Reply-To: <7f096755-d34e-e522-52b3-f480eae3b3bb@eastlink.ca> From: Roman Perepelitsa Date: Sat, 28 Mar 2020 17:16:06 +0100 Message-ID: Subject: Re: [ANN] zsh-bin: statically-linked, hermetic, relocatable zsh To: Ray Andrews Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" On Sat, Mar 28, 2020 at 5:07 PM Ray Andrews wrote: > > On 2020-03-28 7:02 a.m., Roman Perepelitsa wrote: > > Zsh from zsh-bin cannot load user-defined compiled modules. There > > no way to guarantee that user-defined modules have been linked > > with the same libc as `zsh`, so it's unsafe to load them. This > > limitation likely cannot be removed. > > What are the consequences of this for an ordinary user? If an ordinary user compiles a zsh module (*.so file) on their machine, modifies module_path special parameter and attempts to load the module with zmodload, they'll get an error. The inability of zsh-bin to load user-defined modules will likely have little to no practical consequences. Very few users use custom compiled zsh modules in the first place. Those who do, virtually always compile modules on the same machine where they use them. If they can compile modules on a local machine, they likely have no use for zsh-bin. If you are unsure whether you are using custom zsh modules (directly or indirectly), you aren't. Roman.