mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [musl] [PATCH v1] nftw: support FTW_ACTIONRETVAL extension
Date: Fri, 25 Sep 2020 15:06:53 -0400	[thread overview]
Message-ID: <20200925190653.GO3265@brightrain.aerifal.cx> (raw)
In-Reply-To: <20200925091828.306644-1-Tony.Ambardar@gmail.com>

On Fri, Sep 25, 2020 at 02:18:28AM -0700, Tony Ambardar wrote:
> Add the FTW_ACTIONRETVAL mode for walking file trees, a commonly used glibc
> extension. This updates the existing musl nftw/ftw code to support the new
> mode and include options e.g. to prune trees and skip tree siblings.
> 
> This patch is based on one originally submitted to musl's mailing list [1],
> which was reviewed with interest but received no follow-up. It has since
> been cleaned up, and tested on OpenWRT for building Linux's 'bpftool'
> utility (the primary tool for BPF introspection and manipulation).
> 
> Including this extension should also further reduce any need for fts(3)
> support.
> 
> [1] https://www.openwall.com/lists/musl/2018/12/16/1

This isn't a decision on your patch in itself, but the reason that was
not followed up on was that it became apparent that the point of the
whole series was just trying to add everything to musl that systemd
happened to be using.

In general, there's policy (that should be expanded upon and moved to
somewhere more visible!) on criteria for including or excluding
nonstandard functionality from musl. The best write-up of it I could
find is in:

https://www.openwall.com/lists/musl/2014/07/19/8

I'm pretty sure there's a more detailed version somewhere but I didn't
immediately find it.

Since we haven't encountered any other programs (see 2A) that needed
this extension, is there a reason you think it's particularly
important to have, vs just fixing bpftool not to need it?

Rich

      reply	other threads:[~2020-09-25 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25  9:18 Tony Ambardar
2020-09-25 19:06 ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200925190653.GO3265@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).