- 08 Feb, 2021 1 commit
-
-
Matti Kosola authored
[preload] Handle O_NOFOLLOW in vperm if flags are used. See merge request !46
-
- 05 Feb, 2021 3 commits
- 28 Jan, 2021 2 commits
-
-
Matti Kosola authored
Disable llvm compiler acceleration. See merge request !48
-
Matti Kosola authored
Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-
- 22 Jan, 2021 2 commits
-
-
David Greaves authored
Signed-off-by:
David Greaves <david.greaves@jolla.com>
- 20 Jan, 2021 2 commits
- 19 Jan, 2021 1 commit
-
-
Thaodan authored
-
- 14 Jan, 2021 1 commit
-
-
Thaodan authored
Fix "Unrecognized escape \M passed through" warning.
-
- 22 Dec, 2020 2 commits
-
-
Thaodan authored
- 18 Dec, 2020 3 commits
-
-
Thaodan authored
The output directory has to exist before make creates the dependency graph or the build may break when CWD is not $(SCRDIR). This for example caused in case of rule_tree.o make to have to receipes for the same file one with -fPIC and one without -fPIC breaking PIC and breaking building libsb2.so on x86_64.
-
Thaodan authored
- 17 Dec, 2020 4 commits
-
-
Martin Kampas authored
It has been obsoleted since commit 1b7fb2f6 (Create /usr/bin "autorules" via init.lua) and commit c85c5397 (Top-level Makefile: Install rule_constants.lua) stopped installing it.
-
Martin Kampas authored
This fixes commit dbcf9d60 (support different gcc search patchs)
-
Martin Kampas authored
Initially, my_envp equals to *new_envp, then it is modified. Those modifications are lost when *new_envp is used after that. The (possibly) discarted modifications to env. variables affect SBOX_DISABLE_MAPPING, SBOX_DISABLE_ARGVENVP and __SB2_REAL_BINARYNAME. Regarding SBOX_DISABLE_MAPPING, consider a host executable being executed by sb2 and trying to execute another host executable. With mapping not disabled, the other executable may be mapped to a different executable under target/tools root instead. In most cases this is likely to happen unnoticed. It breaks when there is an incompatibility between those, e.g., when the host executable is a GCC compiler trying to execute some of its internal tools - an i486 host compiler may end up executing an arm assembler this way. Trying to explain why *new_envp was used here, I don't believe it was a typo. At the same time I don't believe it was intentional to change the logic this way. I can't think of a reason to discard changes to the afforementioned env. vars. To me it seems inevitable to keep them set. Also, change was introduced with commit 3f042f36 (Execs: Postprocess native dynamic binaries with C code) whose only objective seems to be reimplementation of some Lua code in C. Maybe it was done to deal with some compiler bug and no one noticed it breaks things, as this only breaks in rather special cases like the one mentioned above.
- 09 Dec, 2020 2 commits
- 05 Dec, 2020 1 commit
-
-
Thaodan authored
Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
- 17 Nov, 2020 1 commit
-
-
Matti Kosola authored
[sb2] Add mapping for aligned workspace mount points. JB#49476 See merge request !37
-
- 16 Nov, 2020 1 commit
-
-
Martin Kampas authored
Applies when sb2 is used under the SDK build engine. Workspace directories used to be mounted at fixed paths under /home. Now the mount point paths are chosen in a way that they align with the source paths on host (e.g. "/home/user/work" -> "/home/user/work", "C:\Users\user\work" -> "/c/Users/user/work").
-
- 28 Oct, 2020 2 commits
-
-
Matti Kosola authored
[sb2] Don't pass -r using -Wl,-r See merge request !35
-
Matti Kosola authored
fs_rules: Handel /dev/full in the same fashion as /dev/null See merge request !34
-
- 23 Oct, 2020 4 commits
-
-
Thaodan authored
Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
Thaodan authored
Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
Thaodan authored
/dev/full was previously not explicitly handled, it was just reported as read-only or ignored (in case the user was root). But it needs to be forward to the host to behave like it does there e.g. saying there is no space left. [scratchbox2] Fix behaivior of /dev/full in scratchbox2. Contributes to JB#44353 Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
Thaodan authored
If using -Wl,-r to manually pass the option LD would error out and say: /usr/bin/ld: -r and -pie may not be used together when using a compiler that enables -fPIE by default. By using just -r and telling the compiler to pass it to the linker on its on to the linker it avoids this error.
-
- 29 Sep, 2020 2 commits
-
-
Matti Kosola authored
[sb2] Accelerate rpmlint. JB#51082 See merge request !33
-
Martin Kampas authored
-
- 18 Sep, 2020 1 commit
-
-
Matti Kosola authored
[sb2] Add support for posix_spawn(). Fixes JB#49495 See merge request !32
-
- 16 Sep, 2020 1 commit
-
-
Ville Nummela authored
-
- 13 Jul, 2020 1 commit
-
-
Matti Kosola authored
Accelerate llvm compiler. See merge request !31
-
- 23 Jun, 2020 1 commit
-
-
Matti Kosola authored
Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-
- 11 Jun, 2020 2 commits
-
-
Matti Kosola authored
Support 32 bit 'tools' accelerating 64 bit binaries See merge request !30
-
David Greaves authored
If the program is configured to dlopen in /usr/lib64 and sb2 can't find it (because it's 32 bit) then try in /usr/lib [scratchbox2] Support 32 bit 'tools' accelerating 64 bit binaries. JB#50161 Signed-off-by:
David Greaves <david.greaves@jolla.com> Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-