- Jun 12, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jun 09, 2020
-
-
Simon McVittie authored
fdio: Be const-correct for struct stat See merge request GNOME/libglnx!16
-
- Jun 03, 2020
-
-
Simon McVittie authored
Fix warnings from QA checks (mypy etc.) See merge request steam/pressure-vessel!48
-
Simon McVittie authored
No functional changes; this just catches up with my local changes having been upstreamed successfully. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We don't modify this struct (if non-NULL), so it can be const. In particular, this is helpful if calling glnx_file_copy_at() from nftw() to implement the equivalent of `cp -a --reflink=auto`. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
README: update link to libgsystem See merge request GNOME/libglnx!15
-
- Jun 01, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that G_TEST_SRCDIR is what Autotools would call "${top_srcdir}/tests/", we need to look one level up for the root of the source tree. Fixes: 09925ab2 "build: Split into subdirectories" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 21, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Using only the 0th slot doesn't actually save us any memory, and being consistent about what the slots mean will make it easier to factor out common code. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we failed to bind the driver into the container, then we don't want to try to use it later. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We'll need those if we want to run ldconfig. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The entire setup for this call to `readlink -f` should have been removed when it was hoisted further up in bind_runtime() (and replaced with `readlink -e`) during commit 26b3be64, but in fact only the part that actually *ran* the wrapped readlink command was deleted. This also always leaked some memory. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
At the moment it writes to the current working directory, and we invoke it via `bwrap ... --chdir DIRECTORY`; but we want to make it possible to use this code from inside a Flatpak runtime (at least in the case where we're using the host system's glibc), which means we won't be allowed to run bwrap and must do this some other way. Rather than using `env --chdir=...` (which isn't supported in scout anyway), let's teach this script to output to an explicitly specified directory. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Previously we were missing coverage for this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
While adding basic test coverage I discovered that this was not giving the intended answer if two values for the same variable appear in the environment block, which is rare but technically possible. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that it's in a static library, we can have some test coverage. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Unlike Autotools, in Meson this doesn't have the problems caused by recursive make: ninja always has an overview of the whole source tree. With this change, test-locale-gen.sh needs minor adjustments, because G_TEST_SRCDIR, G_TEST_BUILDDIR now point into tests/ instead of the root directory of the source tree. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This reduces repetition between pressure-vessel-wrap and pressure-vessel-with-lock, and will make it easier to test. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
There should be no practical effect except for repeating ourselves less. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We need this because older versions of G_STATIC_ASSERT worked by creating a dummy typedef, and didn't entirely suppress the resulting warnings. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We already (optionally) use --unshare-pid since commit feb948ed. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 20, 2020
-
-
Simon McVittie authored
Minor pressure-vessel-wrap fixes See merge request steam/pressure-vessel!44
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Use its own name, and not the first word of the command we executed or would have executed. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 19, 2020
-
-
Simon McVittie authored
runtime: Look for ldconfig in /sbin, /usr/sbin See merge request steam/pressure-vessel!43
-
- May 18, 2020
-
-
Simon McVittie authored
Build improvements See merge request steam/pressure-vessel!42
-
Simon McVittie authored
If we are on an OS where /sbin is not normally in unprivileged users' PATHs (for example Debian), we won't find ldconfig in PATH and will need to try harder. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We don't need any of these, so we might as well reduce dependencies and speed up the build a bit. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-