Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

build __rg_oom only for pure Rust applications - #116

Closed
stlankes wants to merge 12 commits into
hermit-os:masterfrom
stlankes:newlib
Closed

stlankes wants to merge 12 commits into
hermit-os:masterfrom
stlankes:newlib

Conversation

@stlankes

@stlankes stlankes commented Nov 8, 2020 •

Copy link
Copy Markdown
Contributor

- avoids linker errors by building C applications
@stlankes
stlankes requested review from jbreitbart and jounathaen and removed request for jounathaen November 8, 2020 08:34
@stlankes
stlankes requested a review from tlambertz November 8, 2020 08:44

@jbreitbart jbreitbart left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes themselves look fine for me, but I think comments that explain the memory layout would be helpful to understand what you are actually doing in the init function 😉

This is more of a general question, but why do you use 10% as a fixed value for the amount of memory that is reserved for the stack? Is 10% guaranteed to be big enough to allocate the stacks required for at least 1 task?

@stlankes
stlankes removed the request for review from tlambertz November 22, 2020 08:08
@stlankes

Copy link
Copy Markdown
Contributor Author

I revise my changes and create smaller PR

@stlankes stlankes closed this Nov 22, 2020
artyomevgrafov pushed a commit to artyomevgrafov/kernel that referenced this pull request Nov 19, 2026
115: Bump x86 from 0.48.0 to 0.49.0 r=mkroening a=dependabot[bot]

Bumps [x86](https://github.com/gz/rust-x86) from 0.48.0 to 0.49.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/gz/rust-x86/blob/master/CHANGELOG.md">x86's changelog</a>.</em></p>
<blockquote>
<h2>[0.49.0] - 2022-06-03</h2>
<ul>
<li>Removed <code>x86::its64::segmentation::fs_deref()</code>: Users should replace calls to
<code>fs_deref</code> with the more general <code>x86::bits64::segmentation::fs_deref!</code> macro.
<code>fs_deref!(0)</code> is equivalent to <code>fs_deref()</code>.</li>
<li>Removed <code>x86::bits64::segmentation::gs_deref()</code>: Users should replace calls to
<code>gs_deref</code> with the more general <code>x86::bits64::segmentation::gs_deref!</code> macro.
<code>fs_deref!(0)</code> is equivalent to <code>fs_deref()</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/gz/rust-x86/commit/d8cbc9e028bb90f86814bae82275e81104e9d167"><code>d8cbc9e</code></a> Macros for fs/gs deref.</li>
<li>See full diff in <a href="https://github.com/gz/rust-x86/compare/0.48.0...0.49.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=x86&package-manager=cargo&previous-version=0.48.0&new-version=0.49.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

116: Bump goblin from 0.5.1 to 0.5.2 r=mkroening a=dependabot[bot]

Bumps [goblin](https://github.com/m4b/goblin) from 0.5.1 to 0.5.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/m4b/goblin/blob/master/CHANGELOG.md">goblin's changelog</a>.</em></p>
<blockquote>
<h2>[0.5.2] - 2022-6-5</h2>
<h3>Fixed</h3>
<p>elf: fix arithmetic overflows in <code>file_range()</code> and <code>vm_range()</code>, thanks <a href="https://github.com/alessandron"><code>`@​alessandron</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/306">m4b/goblin#306</a>
pe: fix string table containing empty strings, thanks <a href="https://github.com/track-5"><code>`@​track-5</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/310">m4b/goblin#310</a>
pe: remove check on debug directory size, thanks <a href="https://github.com/lzybkr"><code>`@​lzybkr</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/313">m4b/goblin#313</a></p>
<h3>Added</h3>
<p>elf: expose more of programheader impl regardless of alloc feature flag, thanks <a href="https://github.com/dancrossnyc"><code>`@​dancrossnyc</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/308">m4b/goblin#308</a>
mach.parse: Handle DyldExportsTrie, thanks <a href="https://github.com/apalm"><code>`@​apalm</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/303">m4b/goblin#303</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/m4b/goblin/commits/0.5.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=goblin&package-manager=cargo&previous-version=0.5.1&new-version=0.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants