Kernel: Start adding various file system permission checks.

Fail with EACCES in various situations. Fix userland bugs that were exposed.
This commit is contained in:
Andreas Kling 2019-02-21 15:45:31 +01:00
commit f5f136931a
Notes: sideshowbarker 2024-07-19 15:39:09 +09:00
7 changed files with 96 additions and 8 deletions

View file

@ -38,7 +38,7 @@ GEventLoop::GEventLoop()
sockaddr_un address;
address.sun_family = AF_LOCAL;
strcpy(address.sun_path, "/wsportal");
strcpy(address.sun_path, "/tmp/wsportal");
int retries = 1000;
int rc = 0;