Query about uname.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://kernel.org/doc/man-pages/online/pages/man2/uname.2.html

It says the length of the fields was unspecified.  Initially I thought that 
meant it was implemented as each field starting right after the previous one's 
null terminator, but it turns out that each field is exactly 65 characters 
long.

This is hardwired into both bits/utsname.h and linux/utsname.h, and more to 
the point you can't talk to the kernel without knowing what this value _is_, 
so leaving it unspecified is silly.  It's part of the current kernel's binary 
abi, and the value is currently 65.

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux