Skip to content
Snippets Groups Projects
  1. Oct 01, 2017
    • Colin Walters's avatar
      missing: Sync from latest systemd, add memfd_create() · dd5fd9c1
      Colin Walters authored
      Planning to use memfd_create() in flatpak and rpm-ostree, which both use
      bubblewrap, and want to pass read-only data via file descriptor to the
      container. Passing via `O_TMPFILE` requires `O_RDWR` (read and write),
      and passing via a pipe would require buffering.
      
      The systemd `missing.h` has grown enormously; I only cherry-picked the bits for
      memfd.
      dd5fd9c1
  2. Jun 14, 2017
    • Colin Walters's avatar
      Add G_IN_SET, patch our internal users via spatch · 9a1b77ef
      Colin Walters authored
      I originally tried to get this into GLib:
      https://bugzilla.gnome.org/show_bug.cgi?id=783751
      
      But that looks like it's going to fail due to MSVC. Let's add it here at least
      so I can start using it tomorrow and not wait for the MSVC team to catch up.
      
      I renamed `glnx-alloca.h` to `glnx-macros.h` as a more natural collective
      home for things from systemd's `macro.h`.
      
      Finally, I used a Coccinelle spatch similar to the one referenced
      in the above BZ to patch our uses.
      9a1b77ef
  3. Aug 30, 2016
  4. Jan 24, 2016
  5. Aug 29, 2015
  6. May 05, 2015
  7. Mar 04, 2015
  8. Feb 20, 2015
    • Colin Walters's avatar
      fdio: New APIs to read/write on fds, fd-relative · 1ebfefa5
      Colin Walters authored
      We don't have this really in GLib, unfortunately.  We do want
      GCancellable, but we also want to operate on raw fds where possible.
      
      The "read a file and validate as UTF-8" is a common use case of mine,
      and this combines that with openat().
      1ebfefa5
  9. Feb 19, 2015
  10. Feb 17, 2015
  11. Feb 15, 2015
  12. Feb 14, 2015
Loading