Removed seteuid() calls
seteuid() was removed from the driver and replaced by an sefun.
However, the master should not call this sefun and calls directly
configure_object().
Change-Id: Ice6fef6da466e7612eb506fdc3110596465a2264
diff --git a/secure/master/misc.c b/secure/master/misc.c
index a831d46..d8a1f39 100644
--- a/secure/master/misc.c
+++ b/secure/master/misc.c
@@ -15,6 +15,7 @@
#include "/mail/post.h"
#include "/sys/thing/language.h"
#include "/sys/thing/description.h"
+#include "/sys/configuration.h"
// Fuer CIDR-Notatio im sbanish
#include "/secure/master/cidr.c"
@@ -592,9 +593,9 @@
}
active=interactive(who);
printf("OK, renewing %O\n",who);
- seteuid(geteuid(who));
+ efun::configure_object(this_object(), OC_EUID, geteuid(who));
err=catch(newob=clone_object(query_player_object(getuid(who))); publish);
- seteuid(getuid(TO));
+ efun::configure_object(this_object(), OC_EUID, getuid(TO));
if (err)
{
printf("%O\n",err);