Simplify allowed system calls for xrdp
- The command 'systemd-analyze syscall-filter' shows that the group
@system-service added to the xrdp-service SystemCallFilter
actually includes all of the other listed groups and individual
services. Consequently this line can be simplified to just specify
@system-service.
- (reversion) The SystemCallErrorNumber setting in xrdp.service has been
removed so that unauthorized system calls cause an immediate process exit.
(cherry picked from commit e0e9177f5e
)
This commit is contained in:
parent
252243ab6c
commit
f688e680c9
@ -10,9 +10,7 @@ EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
|
||||
EnvironmentFile=-@sysconfdir@/default/xrdp
|
||||
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@basic-io @file-system @io-event @ipc @network-io @process
|
||||
SystemCallFilter=@signal @system-service ioctl madvise sysinfo uname
|
||||
SystemCallErrorNumber=EPERM
|
||||
SystemCallFilter=@system-service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user