Skip to content
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
RichFelker's profile
Rich Felker
Rich Felker
Rich Felker
@RichFelker

Tweets

Rich Felker

@RichFelker

Yeah, I do @musllibc, FOSS & infosec stuff. But now is not the time for a mostly-/only-tech Twitter feed.

musl-libc.org
Joined March 2014

Tweets

  • © 2018 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      If you want to use seccomp, the reality is that you need control over all of the code running in your application. If you dynamically link to external code that's updated separately, your usage of seccomp can't really be correct.

      2 replies 0 retweets 0 likes
    2. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      The needed system calls will vary across platforms where it runs due to internal differences in the libraries so there's pain involved in determining what it needs and then it's fragile and can break with any external library updates.

      2 replies 0 retweets 0 likes
    3. Panagiotis Moustafellos‏ @pmoust 10 Nov 2017
      Replying to @CopperheadOS @musllibc

      Let the application developers profile their app, provide meaningful seccomp profiles in the architectures they support. Glibc taking a stab at seccomp and suggesting updating man pages to indicate the "fragility" of the model is seriously a step back. It's tunnel vision.

      1 reply 0 retweets 1 like
    4. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @pmoust @musllibc

      Unfortunately, the glibc developer is correct. If the application didn't ship the code but rather dynamically links against it, it's not correct to make assumptions about system calls and paths it needs to use.

      1 reply 1 retweet 2 likes
    5. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      It's not a problem limited to glibc either. This is for every dynamically linked library. Statically linking every library solves the problem. Trying to define a stable seccomp ABI for libraries is just not very realistic.

      1 reply 1 retweet 1 like
    6. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      The main issue for glibc is that they don't properly support static linking, thus suggesting @musllibc earlier in this thread as a way for an application to be shipped as a self-contained piece of code other than the kernel.

      1 reply 0 retweets 2 likes
    7. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      Not aware of any library making any kind of commitment about system calls that are used and don't think it'd be a very good idea to try doing it. Those libraries also depend on how the C standard library or their own other library dependencies work internally.

      1 reply 0 retweets 0 likes
    8. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      A library would need to list every C standard library API, etc. used by each call and then glibc would need to make a stability commitment to which system calls can be used by each API. Doubt policies would be made via exhaustively reading documentation anyway...

      1 reply 0 retweets 0 likes
    9. CopperheadOS‏ @CopperheadOS 10 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      So, not sure how that would solve the problem, since committing to only calling mmap and gettid for an API doesn't prevent an application from not whitelisting gettid if it's not actually being used yet, etc. It's the wrong problem to try solving...

      2 replies 0 retweets 0 likes
    10. Rich Felker‏ @RichFelker 13 Nov 2017
      Replying to @CopperheadOS @pmoust @musllibc

      The problem is sometimes you realize the implementation has a bug (eg due to kernel limitation) you can fix with extra syscalls...

      1 reply 0 retweets 2 likes
      Rich Felker‏ @RichFelker 13 Nov 2017
      Replying to @RichFelker @CopperheadOS and

      For example, https://git.musl-libc.org/cgit/musl/commit?id=0bed7e0acfd34e3fb63ca0e4d99b7592571355a9 …

      2:01 AM - 13 Nov 2017
      1 reply 0 retweets 0 likes
        1. Rich Felker‏ @RichFelker 13 Nov 2017
          Replying to @RichFelker @CopperheadOS and

          I think glibc still has this bug, and with the proposed ABI policy it would become impossible to fix.

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2018 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Cookies
        • Ads info