Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153050570
D52281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D52281.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D52281: hastd: Remove some now useless assertion
Attached
Detach File
Event Timeline
Log In to Comment