Merge pull request #3012 from matt335672/update_syscall_filter

Simplify allowed system calls for xrdp
This commit is contained in:
matt335672 2024-04-12 10:59:30 +01:00 committed by GitHub
commit 0a0a39380e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,9 +10,7 @@ EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
EnvironmentFile=-@sysconfdir@/default/xrdp EnvironmentFile=-@sysconfdir@/default/xrdp
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon
SystemCallArchitectures=native SystemCallArchitectures=native
SystemCallFilter=@basic-io @file-system @io-event @ipc @network-io @process SystemCallFilter=@system-service
SystemCallFilter=@signal @system-service ioctl madvise sysinfo uname
SystemCallErrorNumber=EPERM
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target