diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2021-01-05 18:46:57 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2021-01-06 10:08:52 +0000 |
commit | 98c7a036906b9d6d0e2609073e371943295e651f (patch) | |
tree | 8c44356c7a632dba87a6450d1138dbf82e66a898 | |
parent | kit: send early dialog event to server (diff) | |
download | online-98c7a036906b9d6d0e2609073e371943295e651f.tar.gz online-98c7a036906b9d6d0e2609073e371943295e651f.zip |
Drop cap_chown after use.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: If5bb5727b8842f30b60f4c9cee392f94d1984dca
-rw-r--r-- | kit/Kit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kit/Kit.cpp b/kit/Kit.cpp index be44f28a34..3c0951cc96 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -2360,6 +2360,7 @@ void lokit_main( dropCapability(CAP_SYS_CHROOT); dropCapability(CAP_MKNOD); dropCapability(CAP_FOWNER); + dropCapability(CAP_CHOWN); #else cap_enter(); #endif |