History log of /seL4-camkes-master/projects/musllibc/include/sys/sysmacros.h
Revision Date Author Comments
# 9b732fe5 29-Jun-2013 Rich Felker <dalias@aerifal.cx>

fix shifts possibly larger than type in major() macro

in theory this should not be an issue, since major() should only be
applied to type dev_t, which is 64-bit. however, it appears some
applications are not using dev_t but a smaller integer type (which
works on Linux because the kernel's dev_t is really only 32-bit). to
avoid the undefined behavior, do it as two shifts.


# 2c184264 15-May-2013 Rich Felker <dalias@aerifal.cx>

support full range of dev_t major/minor numbers in makedev, etc. macros


# b7afd7a7 08-Sep-2012 Rich Felker <dalias@aerifal.cx>

sysmacros major/minor: result should have type unsigned int, not dev_t


# 57d5fff5 15-Jun-2012 Rich Felker <dalias@aerifal.cx>

header file fixes: multiple include guard consistency and correctness

one file was reusing another file's macro name, and many had
inconsistent underscores and application of SYS prefix, etc.

patch by Szabolcs Nagy (nsz)


# b0c088ee 18-Sep-2011 Rich Felker <dalias@aerifal.cx>

cleanup more bits cruft (sysmacros and socket)


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0