- Apr 17, 2015
-
-
Colin Walters authored
Doing nothing isn't super useful; if you're using e.g. rpm-ostree in Jenkins you want to see *something* from the "live tail". This is a basic line-per-change implementation. Closes: https://github.com/GNOME/libglnx/pull/6
-
- Apr 14, 2015
-
-
Colin Walters authored
For extra fun, both of these functions have different error handling schemes. `posix_fallocate` does *not* set `errno` because... I'm not sure. Maybe POSIX was trying a new function design? `loop_write` uses the systemd error handling style which returns `-errno`, so we need to set errno back so that the macro can propagate it into the `GError`.
-
Colin Walters authored
By default (with `-1) use the Unix traditional default of `0666 - umask`. But do support forcing a mode.
-
Matthew Barnes authored
mkostemp() defaults to 0600. Use 0644 instead unless a mode is explicitly provided. https://bugzilla.gnome.org/747813
-
- Apr 13, 2015
-
-
Colin Walters authored
Just noticed while inspecting the code.
-
- Apr 09, 2015
-
-
Colin Walters authored
This will be used for OSTree too.
-
Colin Walters authored
Sort of similar to `g_file_replace_contents()` but `*at()`. Will be used for further conversion of OSTree to `*at()`.
-
- Apr 08, 2015
-
-
Colin Walters authored
-
Colin Walters authored
See previous commits to drop libattr dependency.
-
- Apr 07, 2015
-
-
Colin Walters authored
Most callers already included `string.h` which is why I didn't see this earlier.
-
Colin Walters authored
I looked at the systemd code but it didn't have a variant of mkdir_parents that used `*at()`. This is a fresh implementation, with the risk that entails. However I am changing libgsystem to call it now for testing, and libgsystem APIs are covered by ostree usage at least.
-
- Apr 01, 2015
-
-
Colin Walters authored
See https://github.com/GNOME/ostree/pull/78
-
- Mar 20, 2015
-
-
Colin Walters authored
-
Colin Walters authored
They'll be used by rpm-ostree at least.
-
- Mar 17, 2015
-
-
Colin Walters authored
We want to honor `-1 == AT_FDCWD`.
-
- Mar 10, 2015
-
-
Colin Walters authored
Spotted by fortify-source.
-
- Mar 05, 2015
-
-
Colin Walters authored
We have to wrap the glibc version to ensure we get the right version, otherwise depending on the variance of includes we may end up crashing if we get the POSIX version.
-
- Mar 04, 2015
-
-
Colin Walters authored
Now that this module is Linux specific, we can more cleanly depend on it here.
-
- Mar 03, 2015
-
-
Colin Walters authored
This will allow deleting some code from OSTree for the config file merging. We're reusing some code from systemd, which a nice modern clean codebase, and among other things this gets us BTRFS reflinking (if available) again.
-
Colin Walters authored
This allows reusing an iterator struct.
-
- Mar 02, 2015
-
-
Giuseppe Scrivano authored
Signed-off-by:
Giuseppe Scrivano <gscrivan@redhat.com>
-
- Feb 26, 2015
-
-
Colin Walters authored
-
- Feb 20, 2015
-
-
Colin Walters authored
This also uses GBytes and avoids malloc where possible.
-
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().
-
- Feb 19, 2015
-
-
Colin Walters authored
-
Colin Walters authored
-
Colin Walters authored
This comes into play with subdir-objects.
-
- Feb 18, 2015
-
-
Matthew Barnes authored
-
- Feb 17, 2015
-
-
Colin Walters authored
This contains some basic progress bar drawing code for now.
-
Colin Walters authored
-
- Feb 15, 2015
-
-
Colin Walters authored
-
Colin Walters authored
-
Colin Walters authored
-
Colin Walters authored
-
Colin Walters authored
-
- Feb 14, 2015
-
-
Colin Walters authored
This module is a new successor to libgsystem. It currently contains a backport of the GLib cleanup macros, but soon more Linux-specific code will be added.
-