-
-
Notifications
You must be signed in to change notification settings - Fork 201
feat: add linux distributions to os context #963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
3762832
feat: add linux distributions to os context
supervacuus dac3e9a
Clean up test-allocations like a good boy
supervacuus 80d2c92
separate os-dependent unit-test sources
supervacuus 2d09fff
platform-specfic testing is decided in the translation-units
supervacuus ef59a2b
Exclude Android too
supervacuus cafe146
Add documented fallback
supervacuus 1dc898e
Ensure we exhausted the snapshot
supervacuus 40c44d8
DeMorgan
supervacuus be4b072
format
supervacuus 767f1a9
add valgrind exception for false positive when memmove is an ifunc re…
supervacuus 94c5cfd
Make sure that distributions are only added in Linux not any Unix
supervacuus de55584
Make sure we don't leak in the error paths
supervacuus 44866bb
Clean up the fall-back from /etc/os-release to /usr/lib/os-release
supervacuus 7c2c9d5
attribute derivative work
supervacuus 9de5325
apply PR feedback
supervacuus 3269200
Extract slice to buffer handling in a new sentry_slice_t function.
supervacuus 5becaee
Make sure we can read a full line of max value and max key.
supervacuus a646eac
fix classic buffer continuity bug.
supervacuus 2ecabb5
extract parse_line_into_object...
supervacuus 8e1c4e1
Merge branch 'master' into feat/add_linux_distros_to_os_context
supervacuus fecafa2
Merge branch 'master' into feat/add_linux_distros_to_os_context
supervacuus ff5452c
ensure line update if we hit the buffer-end correctly.
supervacuus 5c06566
add support for os-release files that don't end with a newline.
supervacuus c18b5ff
Add comments to the subtler buffer management aspects.
supervacuus 0b226e8
Add a list of tested distribution names for documentation
supervacuus eb6bc17
Add back eof-newline to valgrind exceptions.
supervacuus 75583ff
Adapt test to new entry in fixture.
supervacuus 8549b1d
Merge branch 'master' into feat/add_linux_distros_to_os_context
supervacuus c51c39f
include sentry_utils in sentry_os only on Linux
supervacuus bcc633b
Ensure we find close() in unistd.h by including it explicitly.
supervacuus 4b3f9ca
include sentry_utils in sentry_os on Windows too
supervacuus 6097e9d
use unistd.h in sentry_os only for Linux
supervacuus 5f9df80
flattened distribution payload fields
JoshuaMoelans a841e81
format
JoshuaMoelans ffad25d
incref for get_by_key calls
JoshuaMoelans 1699009
decref no longer copied os_dist
JoshuaMoelans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.