Skip to content
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

Use the Windows User ID as sidecar identifier instead of the Session ID #558

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

bwoebi
Copy link
Contributor

@bwoebi bwoebi commented Jul 31, 2024

This avoids permission conflicts with other processes sharing the same Session ID on Windows.

It turns out that the session identifier is not a good permission boundary and will lead to permission denied for other processes belonging to the same session id, but different security id.
@bwoebi bwoebi requested review from a team as code owners July 31, 2024 17:16
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.44%. Comparing base (f3fb542) to head (be6316b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #558   +/-   ##
=======================================
  Coverage   70.44%   70.44%           
=======================================
  Files         213      213           
  Lines       28455    28455           
=======================================
  Hits        20044    20044           
  Misses       8411     8411           
Components Coverage Δ
crashtracker 25.21% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 50.00% <ø> (ø)
data-pipeline-ffi 0.00% <ø> (ø)
ddcommon 86.23% <ø> (ø)
ddcommon-ffi 74.58% <ø> (ø)
ddtelemetry 58.95% <ø> (ø)
ipc 84.18% <ø> (ø)
profiling 78.09% <ø> (ø)
profiling-ffi 56.76% <ø> (ø)
serverless 0.00% <ø> (ø)
sidecar 35.42% <ø> (ø)
sidecar-ffi 0.00% <ø> (ø)
spawn-worker 54.98% <ø> (ø)
trace-mini-agent 70.88% <ø> (ø)
trace-normalization 98.24% <ø> (ø)
trace-obfuscation 95.73% <ø> (ø)
trace-protobuf 77.16% <ø> (ø)
trace-utils 90.90% <ø> (ø)

@pr-commenter
Copy link

pr-commenter bot commented Jul 31, 2024

Benchmarks

This comment was omitted because it was over 65536 characters.Please check the Gitlab Job logs to see its output.

@bwoebi bwoebi merged commit 19b758c into main Jul 31, 2024
32 checks passed
@bwoebi bwoebi deleted the bob/sidecar-windows-SID branch July 31, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants