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=-2.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SUBJ_OBFU_PUNCT_FEW autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31827 invoked from network); 14 May 2020 09:25:12 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 14 May 2020 09:25:12 -0000 Received: (qmail 18383 invoked by uid 550); 14 May 2020 09:25:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18347 invoked from network); 14 May 2020 09:25:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GS3VJPo/mH/pDaXl+fIXuyZVwitDHdiD8UQnRHs3qM0=; b=Khl7eqCyUs7IisaKRxuNARRZHGBfgYjc1feEiKh9kPQqFk6gSbTS2qsdh3amCgBHMn MURxMI7re3aDzOY9P6RBA0XdQoi2JAFxw/TQxYAZfzPxBzOSRCRMvDaaXzL181OjPLsy VAZrE4HnWyM1QPuXF0dixKa1Hus9RCXDvcYDGYJ++3Lsc/a5jgcFBHA8hjOQJmyeHDrv 5XT98e8tVHbg6Uu2kN1uxIoq1zz/c7CnN5IhV4T4Q3xoG5ILbE0qev+3avNuMctiYjsj d+RmgxMjWac419IEapmCbdH2UKqjK3stiFOkuPX6dZuy9Foguz3bajz5CehSrxJl0vtq DcHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GS3VJPo/mH/pDaXl+fIXuyZVwitDHdiD8UQnRHs3qM0=; b=E4mqAh9nQ9xajPKrVWfuqs6nWe6ul53/uhz7Lzi6MfWBAAEC35KAt7w6LYWCSyGM76 Ny8Zk1PqdabiptFhTsV4QeDQoqhCK4uC6Kfndr0mP8VHgv/5eRca5PT7rXk8BZ6GAjUZ BujmLDAuyF9M6IJr4AgG6XhmAUvZPNfskMxEizbx+0hhKv40pLziOhQbnu6BeY3CT5b1 hvTyxCVOr3CpxFUeF2Ik7OiuxxjzvKOgS/qNMY/IrGnMF9FX50ymNylY+M3+ZA6JPgOM zZicuX533vPm0c7a2TADwXv5DkVWPCglWu5KiY59OBbeE7cBM4lZXofpEAIF3/+XV4rJ 7PZw== X-Gm-Message-State: AOAM531Q0gRpfc/ZXK53msGiPhmeP6TJvDJVCcdksezAuhHGDwbSdjPc viOGxPOF4q2niiOslMAGsgaWLR0PuRFShvRnenY3z1SHNXk= X-Google-Smtp-Source: ABdhPJwPpZ++SbDYiLTHqNycC460+QWgXk1pfDNOHao6qZd/2vuXy3/EZJjmaPQP2NInUtiiea0yHylMFMhaBfGJXM8= X-Received: by 2002:a6b:dc12:: with SMTP id s18mr3314903ioc.0.1589448297962; Thu, 14 May 2020 02:24:57 -0700 (PDT) MIME-Version: 1.0 From: Cristian Morales Vega Date: Thu, 14 May 2020 10:24:46 +0100 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: [musl] Possible problem with getopt_long_only() I have not looked at the details. But killall from psmisc fails to parse "killall -10 " when using musl 1.1.24 (the one used by the latest OpenWrt release, according to https://git.musl-libc.org/cgit/musl/log/src/misc/getopt_long.c the file has not been changed since 2018-09-12 anyway). In https://gitlab.com/psmisc/psmisc/-/blob/v23.3/src/killall.c#L989 optind is "1" if "killall -10 " was used, but 2 if "killall -9 ". So whether the signal number is only one digit or more makes the optind change. So killall only works with <10 signals. Not sure it's the same issue, but in case it's different and was never reported to you you may be interested also on https://github.com/JuliaLang/julia/pull/31946.