diff options
Diffstat (limited to 'devel/electron23/files/patch-third__party_crashpad_crashpad_util_posix_drop__privileges.cc')
-rw-r--r-- | devel/electron23/files/patch-third__party_crashpad_crashpad_util_posix_drop__privileges.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/devel/electron23/files/patch-third__party_crashpad_crashpad_util_posix_drop__privileges.cc b/devel/electron23/files/patch-third__party_crashpad_crashpad_util_posix_drop__privileges.cc deleted file mode 100644 index 035241c5dc1b..000000000000 --- a/devel/electron23/files/patch-third__party_crashpad_crashpad_util_posix_drop__privileges.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- third_party/crashpad/crashpad/util/posix/drop_privileges.cc.orig 2022-02-28 16:54:41 UTC -+++ third_party/crashpad/crashpad/util/posix/drop_privileges.cc -@@ -25,7 +25,7 @@ void DropPrivileges() { - gid_t gid = getgid(); - uid_t uid = getuid(); - --#if BUILDFLAG(IS_APPLE) -+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) - // Based on the POSIX.1-2008 2013 edition documentation for setreuid() and - // setregid(), setreuid() and setregid() alone should be sufficient to drop - // privileges. The standard specifies that the saved ID should be set to the |