Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create vesktop #512

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Create vesktop #512

merged 1 commit into from
Sep 24, 2024

Conversation

odomingao
Copy link
Contributor

No description provided.

Comment on lines +40 to +41
deny /dev/tty rw,
deny owner /dev/tty@{int} rw,
Copy link
Owner

Choose a reason for hiding this comment

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

Why do you deny them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As a silencer. It asks for these permissions but I don't think that it actually needs them, as everything on the program works fine, and AFAIK (correct me if I'm wrong) access to /dev/tty allows the program to escape confinement so I thought it was better to deny.

Copy link
Owner

Choose a reason for hiding this comment

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

Do you have any source of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the possible /dev/tty escapes? https://www.errno.fr/TTYPushback.html and containers/bubblewrap#142

Copy link
Owner

Choose a reason for hiding this comment

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

Thanks. This has been discussed here: #340

Spoiler alert: the solution is not apparmor.

@roddhjav roddhjav merged commit 67b1c30 into roddhjav:main Sep 24, 2024
3 checks passed
@roddhjav
Copy link
Owner

Thanks, merged.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants