Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150159287
D39648.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1004 B
Referenced Files
None
Subscribers
None
D39648.id.diff
View Options
diff --git a/sys/compat/linux/linux_elf.c b/sys/compat/linux/linux_elf.c
--- a/sys/compat/linux/linux_elf.c
+++ b/sys/compat/linux/linux_elf.c
@@ -533,7 +533,8 @@
AUXARGS_ENTRY(pos, LINUX_AT_EXECFN, PTROUT(imgp->execpathp));
if (args->execfd != -1)
AUXARGS_ENTRY(pos, AT_EXECFD, args->execfd);
- AUXARGS_ENTRY(pos, LINUX_AT_MINSIGSTKSZ, LINUX_MINSIGSTKSZ);
+ if (p->p_osrel >= LINUX_KERNVER_5013000 || p->p_osrel == 0)
+ AUXARGS_ENTRY(pos, LINUX_AT_MINSIGSTKSZ, LINUX_MINSIGSTKSZ);
AUXARGS_ENTRY(pos, AT_NULL, 0);
free(imgp->auxargs, M_TEMP);
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h
--- a/sys/compat/linux/linux_mib.h
+++ b/sys/compat/linux/linux_mib.h
@@ -62,6 +62,7 @@
#define LINUX_KERNVER_2006030 LINUX_KERNVER(2,6,30)
#define LINUX_KERNVER_2006039 LINUX_KERNVER(2,6,39)
#define LINUX_KERNVER_5004000 LINUX_KERNVER(5,4,0)
+#define LINUX_KERNVER_5013000 LINUX_KERNVER(5,13,0)
#define linux_use54(t) (linux_kernver(t) >= LINUX_KERNVER_5004000)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 9:50 PM (14 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30603147
Default Alt Text
D39648.id.diff (1004 B)
Attached To
Mode
D39648: linux(4): Export the AT_MINSIGSTKSZ depending on the process osreldata
Attached
Detach File
Event Timeline
Log In to Comment