Page MenuHomeFreeBSD

D52281.diff
No OneTemporary

D52281.diff

diff --git a/sbin/hastd/subr.c b/sbin/hastd/subr.c
--- a/sbin/hastd/subr.c
+++ b/sbin/hastd/subr.c
@@ -156,7 +156,6 @@
struct passwd *pw;
uid_t ruid, euid, suid;
gid_t rgid, egid, sgid;
- gid_t gidset[1];
bool capsicum, jailed;
/*
@@ -285,7 +284,6 @@
PJDLOG_VERIFY(egid == pw->pw_gid);
PJDLOG_VERIFY(sgid == pw->pw_gid);
PJDLOG_VERIFY(getgroups(0, NULL) == 0);
- PJDLOG_VERIFY(getgroups(1, gidset) == 0);
pjdlog_debug(1,
"Privileges successfully dropped using %s%s+setgid+setuid.",

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 8:39 PM (22 m, 48 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31796856
Default Alt Text
D52281.diff (511 B)

Event Timeline