openbsd-ports/comms/seyon/patches/patch-ac
brad 9ed46dac23 - convert patches to unified diffs
- each patch only patches one file now
1999-10-27 12:20:25 +00:00

12 lines
355 B
Plaintext

--- SeSubs.c.orig Fri Apr 23 06:24:17 1993
+++ SeSubs.c Thu Oct 21 16:53:17 1999
@@ -249,6 +249,8 @@
if (setuid(getuid()) < 0)
SePError("Failed to set effective uid");
+ if (setgid(getgid()) < 0)
+ SePError("Failed to set effective gid");
if (*scmd == '\0') {
SeNotice(FmtString1("Executing the shell ``%s''", shell));