Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153701053
D52672.id162555.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
D52672.id162555.diff
View Options
diff --git a/lib/libc/gen/gen-compat.h b/lib/libc/gen/gen-compat.h
--- a/lib/libc/gen/gen-compat.h
+++ b/lib/libc/gen/gen-compat.h
@@ -52,6 +52,12 @@
char *freebsd11_devname(__uint32_t dev, __mode_t type);
char *freebsd11_devname_r(__uint32_t dev, __mode_t type, char *buf, int len);
-int freebsd14_setgroups(int gidsize, const __gid_t *gidset);
+#define F14SG int freebsd14_setgroups(int gidsize, const __gid_t *gidset)
+#ifdef PIC
+static F14SG __attribute__((__weakref__("setgroups@FBSD_1.0")));
+#else
+F14SG;
+#endif
+#undef F14SG
#endif /* _GEN_COMPAT_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 1:21 AM (14 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32054194
Default Alt Text
D52672.id162555.diff (572 B)
Attached To
Mode
D52672: libc: properly reference setgroups@FBSD_1.0 in initgroups@FBSD_1.0
Attached
Detach File
Event Timeline
Log In to Comment