GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    David Chisnall (*Now with 50% more sarcasm!*) (david_chisnall@infosec.exchange)'s status on Tuesday, 07-Oct-2025 03:56:07 JST David Chisnall (*Now with 50% more sarcasm!*) David Chisnall (*Now with 50% more sarcasm!*)
    in reply to
    • John-Mark Gurney

    @encthenet

    They were useful Capsicum, but they were originally designed to allow race-free operations when multiple processes manipulate a tree at the same time.

    This is why it's so frustrating that the C++ filesystem APIs are so terrible. They were standardised after mainstream operating systems got sensible APIs but decided to build intrinsically racy APIs instead.

    In conversation about 14 days ago from infosec.exchange permalink
    • James Morris likes this.
    • Embed this notice
      John-Mark Gurney (encthenet@flyovercountry.social)'s status on Tuesday, 07-Oct-2025 03:56:08 JST John-Mark Gurney John-Mark Gurney

      Looking at the *at family of functions and I just realized that I viewed them as part of the capsicum security framework and not as part of allowing a threaded program to access relative paths from each thread's own working directory.

      This explains why absolute paths are allowed and ignores the directory fd.

      FreeBSD's openat man page explains this.

      #FreeBSD

      In conversation about 14 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.