meson: allow to customize the access mode for tty/pts devices
Then, switch the default value to "0600", due to general security concerns about terminals being written to by other users. Closing #35599.
This commit is contained in:
committed by
Luca Boccassi
parent
0543b02cf8
commit
a4d1891475
@@ -330,6 +330,8 @@ option('dev-kvm-mode', type : 'string', value : '0666',
|
||||
description : '/dev/kvm access mode')
|
||||
option('group-render-mode', type : 'string', value : '0666',
|
||||
description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
|
||||
option('tty-mode', type : 'string', value : '0600',
|
||||
description : 'Access mode for tty/pts device nodes.')
|
||||
option('default-kill-user-processes', type : 'boolean',
|
||||
description : 'the default value for KillUserProcesses= setting')
|
||||
option('gshadow', type : 'boolean',
|
||||
|
||||
Reference in New Issue
Block a user