FreeBSD Bugzilla – Attachment 215495 Details for
Bug 240432
Linuxulator: uname (function) reports i686 machine to 32-bit executables on amd64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Slightly improved test program
u.c (text/plain), 281 bytes, created by
Edward Tomasz Napierala
on 2020-06-12 20:34:58 UTC
(
hide
)
Description:
Slightly improved test program
Filename:
MIME Type:
Creator:
Edward Tomasz Napierala
Created:
2020-06-12 20:34:58 UTC
Size:
281 bytes
patch
obsolete
>#include <stdio.h> > >#include <sys/auxv.h> >#include <sys/utsname.h> > > > >int main() { > struct utsname name; > char *p; > > uname(&name); > fprintf(stderr, "machine: %s\n", name.machine); > p = (char *)getauxval(AT_PLATFORM); > fprintf(stderr, "AT_PLATFORM: %s\n", p); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240432
: 215495