- 07 Feb, 2018 1 commit
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- 03 Jan, 2018 4 commits
-
-
Vivek Das Mohapatra authored
We also need to wrap realloc() to dispatch pointers to the correct free/alloc implementation.
-
Vivek Das Mohapatra authored
glibc voodoo moved to its own header to make it easy to drop once we don't need it any more malloc/free cluster of functions moved into their own sub-struct pointer so they don't perturb the main capsule namespace struct layout if/when they change (as we expect them to). abstract out the arcane memory checks so that the new realloc wrapper can share them with the free wrapper
-
Vivek Das Mohapatra authored
-
Vivek Das Mohapatra authored
-
- 21 Dec, 2017 3 commits
-
-
Vivek Das Mohapatra authored
malloc/calloc/realloc/posix_memalign are simply replaced by their external counterparts. free() gets a wrapper which route the pointer to the hopefully correct free() implementation.
-
Vivek Das Mohapatra authored
-
Vivek Das Mohapatra authored
-
- 20 Dec, 2017 32 commits
-
-
Simon McVittie authored
~/.local/share/Steam/ubuntu12_32/steam has a symbol with a weird binding type part way through its symbol table: 46 [OBJECT LOOS/GNU_UNIQUE] size: 0 (0)_ZNSs4_Rep20_S_empty_rep_storageE 0000 (nil) but we can't just stop there, because there are symbols after it that need relocating. I blame C++. 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
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These are the same ones special-cased by Flatpak, although Flatpak would generate a minimal /etc/passwd and /etc/group rather than using the ones from the host system. 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
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
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
libOpenGL can be combined with libGLX (to get approximately the equivalent of the legacy libGL), or with libEGL. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Mesa maintainer Emil Velikov informs me that both apps/games and the graphics driver are allowed to use libgbm, at least on Mesa systems, so we will need to encapsulate it. 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
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
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids reinventing it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The cast that hid the change of the void * parameter to a concrete type masked the bug that we were returning an int-sized integer, not a pointer-sized integer. Because we only support little-endian platforms so far, we seem to have got away with it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
As well as detecting truncation and maybe some corner-case overflows, this fixes a long-standing TODO item: capsule-version with prefix set to "/" no longer outputs a path starting with //lib or //usr/lib. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This seemed easier than fixing the corner cases individually. 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
As in the previous commit, it seems unnecessarily confusing to have prefix.path (when interpreted as a C string) not be the path of the prefix. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Previously, we'd write /etc/ld.so.cache into prefix.path[prefix.len:]: /host/etc/ld.so.cache\0\0... |<->||<------------>| len temporarily used and delete it again later with sanitise_ldlibs(). But that seems unnecessarily confusing: the contents of prefix.path when interpreted as an ordinary \0-terminated C string are sometimes the prefix, but sometimes edited in-place to be the name of a file within the prefix. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes it a little simpler to reason about. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-