diff options
Diffstat (limited to 'audio/arts/files/patch-arts-1.2.x')
-rw-r--r-- | audio/arts/files/patch-arts-1.2.x | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/audio/arts/files/patch-arts-1.2.x b/audio/arts/files/patch-arts-1.2.x deleted file mode 100644 index 377fecb704c1..000000000000 --- a/audio/arts/files/patch-arts-1.2.x +++ /dev/null @@ -1,33 +0,0 @@ -Index: soundserver/artswrapper.c -=================================================================== ---- soundserver/artswrapper.c (revision 546970) -+++ soundserver/artswrapper.c (working copy) -@@ -95,6 +95,10 @@ int main(int argc, char **argv) - #else - setreuid(-1, getuid()); - #endif -+ if (geteuid() != getuid()) { -+ perror("setuid()"); -+ return 2; -+ } - } - - if(argc == 0) -Index: soundserver/crashhandler.cc -=================================================================== ---- soundserver/crashhandler.cc (revision 546970) -+++ soundserver/crashhandler.cc (working copy) -@@ -196,7 +196,12 @@ CrashHandler::defaultCrashHandler (int s - argv[i++] = NULL; - - setgid(getgid()); -- setuid(getuid()); -+ if (getuid() != geteuid()) -+ setuid(getuid()); -+ if (getuid() != geteuid()) { -+ perror("setuid()"); -+ exit(255); -+ } - - execvp(crashApp, argv); - |