1808021952
* md5 -> distinfo * sensible patch names
13 lines
449 B
Plaintext
13 lines
449 B
Plaintext
$OpenBSD: patch-SeSubs_c,v 1.1 2002/02/20 21:46:49 naddy Exp $
|
|
--- SeSubs.c.orig Fri Apr 23 12:24:17 1993
|
|
+++ SeSubs.c Wed Feb 20 22:31:21 2002
|
|
@@ -249,6 +249,8 @@ ExecShellCommand(command, top)
|
|
|
|
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));
|