Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157350404
D52641.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
862 B
Referenced Files
None
Subscribers
None
D52641.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,7 @@
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);
+int freebsd14_setgroups(int gidsize, const __gid_t *gidset)
+ __asm__("setgroups@FBSD_1.0");
#endif /* _GEN_COMPAT_H_ */
diff --git a/lib/libc/include/compat.h b/lib/libc/include/compat.h
--- a/lib/libc/include/compat.h
+++ b/lib/libc/include/compat.h
@@ -69,9 +69,6 @@
__sym_compat(swapoff, freebsd13_swapoff, FBSD_1.0);
-__sym_compat(getgroups, freebsd14_getgroups, FBSD_1.0);
-__sym_compat(setgroups, freebsd14_setgroups, FBSD_1.0);
-
#undef __sym_compat
#define __weak_reference(sym,alias) \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 21, 1:04 PM (14 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33393034
Default Alt Text
D52641.diff (862 B)
Attached To
Mode
D52641: libc: fix the initgroups(3) compat path
Attached
Detach File
Event Timeline
Log In to Comment