| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
int ret = sd_pid_get_session(pid, &session_id);Please could you add comments to explain this logic? It looks like you try `sd_pid_get_session()`, then if it fails, you test if the pid is in a graphical session. If it is, then you use `sd_uid_get_display()` and `sd_pid_get_owner_uid()`. Please could you explain why this fallback is needed?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +1 |
Please could you add comments to explain this logic? It looks like you try `sd_pid_get_session()`, then if it fails, you test if the pid is in a graphical session. If it is, then you use `sd_uid_get_display()` and `sd_pid_get_owner_uid()`. Please could you explain why this fallback is needed?
Apparently gemini copied these from `login_session_reporter_main.cc` and decided not to copied the comments over 😅 Added them back.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: mea...@chromium.org
📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).
IPC reviewer(s): mea...@chromium.org
Reviewer source(s):
mea...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM
// Returns the server name for LonginSessionServer.nit: typo in LonginSessionServer
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +2 |
// Returns the server name for LonginSessionServer.Yuwei Huangnit: typo in LonginSessionServer
Oops.. Done!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
6 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: remoting/host/ipc_constants.h
Insertions: 1, Deletions: 1.
The diff is too large to show. Please review the diff.
```
[crd host][linux] Implement remote_session_info binary
This is to replace the CHROME_REMOTE_DESKTOP_SESSION env var, which we
can't reliably set for GDM-managed sessions. It makes an IPC to the
daemon process, and the daemon process will iterate through all its
display sessions and check if the calling process (remote_session_info)
is run on any of the session it manages.
The existing is-remoting-session script will be updated to point to this
binary, i.e. `remote-session-info --is-crd-session`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |