Re: [RFC PATCH 0/3] Use DIAG318 to set Control Program Name & Version Codes

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

 



On 08/31/2018 12:51 PM, Collin Walling wrote:
> A new diagnose instruction, 318, allows the kernel to set an 8-byte "Control 
> Program Code" (CPC) that is composed of:
> 
>     1-byte Control Program Name Code (CPNC)
>     7-byte Control Program Version Code (CPVC) composed of:
>         3-bytes for Linux Kernel version (determined at build-time)
>         3-bytes for Distribution Identifier (referred to as distro_id; set by Kconfig option)
>         1-byte trailing NULL
> 
> Note about distro_id:
> [
> The initial idea for the 3-byte distro_id is for each distribution to set 
> three characters that correspond to their distribution name (for a theoretical 
> distributor "ACME," they could set "ACM" as the distro_id). A registry file 
> could be included in the s390 kernel documentation to avoid name collisions.
> ]

Another (likely better) idea is to use 1-byte for the distribution, followed
by 2-bytes for major.minor release.




-- 
Respectfully,
- Collin Walling




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux