Replies: 3 comments 7 replies
-
Not exactly, tty only get inputs from your keyboard and send it to a program. Therefore, the terminal itself (the shell, the pipes, the program output) cannot be observed by reading on However, by looking at Finally, https://gitlab.com/apparmor/apparmor/-/issues/92 sums up the stage of console mediation in apparmor. |
Beta Was this translation helpful? Give feedback.
-
Interestingly, Linux namespaces can isolate terminals. If a command is executed with
it can communicate via the standard streams, but it isn't allowed to open |
Beta Was this translation helpful? Give feedback.
-
I would like to know the policy of this project regarding TTY access so I can contribute correctly. What permissions should be granted to the following programs?
|
Beta Was this translation helpful? Give feedback.
-
Do I understand correctly that if a program has access to
/dev/tty*
and/dev/pts/*
, then it has access to terminals that other programs are using? For example, the program can send a command to another program or read a password sent to another program.Beta Was this translation helpful? Give feedback.
All reactions