diff options
| author | 2026-04-04 10:08:21 +0200 | |
|---|---|---|
| committer | 2026-04-04 10:28:57 +0200 | |
| commit | df4ef52c1d4737ca68ce8f1ade5f61abad219055 (patch) | |
| tree | ff6ffa3d2be6c4e78dbfba55a29319873cf33cee /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | tools/nolibc: move the logic of makedev() and friends into functions (diff) | |
tools/nolibc: make dev_t 64 bits wide
statx() returns both 32-bit minor and major numbers. For both of them to
fit into the 'dev_t' in 'struct stat', that needs to be 64 bits wide.
The other uses of 'dev_t' in nolibc are makedev() and friends and
mknod(). makedev() and friends are going to be adapted in an upcoming
commit and mknod() will silently truncate 'dev_t' to 'unsigned int' in
the kernel, similar to other libcs.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260404-nolibc-makedev-v2-4-456a429bf60c@weissschuh.net
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
