summaryrefslogtreecommitdiffstats
path: root/include/pt-sgi.h
Commit message (Collapse)AuthorAgeFilesLines
* libfdisk: (sgi) improve checksum calculation [-Waddress-of-packed-member]Karel Zak2019-05-221-6/+11
| | | | | | | | Let's keep compilers and static analyzers happy. The idea is to use memcpy() to copy from buffer to variable and use all label as unsigned char rather than vectorize by uint32_t. Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sgi) fix unsigned integer overflow [AddressSanitizer]Sami Kerola2014-12-191-1/+3
| | | | | | | include/pt-sgi.h:103:7: runtime error: unsigned integer overflow: 0 - 1186450447 cannot be represented in type 'unsigned int' Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* fdisk: (sgi) fix checksum calculationKarel Zak2013-09-161-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sgi) cleanup devparams flagsKarel Zak2013-09-161-1/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sgi) cleanu sgi_info stuffKarel Zak2013-09-161-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sgi) remove magic stringsKarel Zak2013-09-161-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sgi) share disk label definition with libblkidKarel Zak2013-09-161-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move SGI disklabel definitions to include/Karel Zak2013-09-161-0/+90
Signed-off-by: Karel Zak <kzak@redhat.com>