]> git.ipfire.org Git - thirdparty/systemd.git/commit
mount-util: do not use the official MAX_HANDLE_SZ (#7523)
authorLennart Poettering <lennart@poettering.net>
Sun, 3 Dec 2017 11:18:33 +0000 (12:18 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 3 Dec 2017 11:18:33 +0000 (12:18 +0100)
commit01a7e0a14df0fc8d36f502839d70347d73cbf58a
treedb9549341b7837bc2e21bb3fb1ea7c9db8212b8b
parent1ff8b31d9b611b91b0b0d3ab9343c29df4ecde56
mount-util: do not use the official MAX_HANDLE_SZ (#7523)

If we'd use the system header's version of MAX_HANDLE_SZ then our code
would break on older kernels as soon as the value is increased, as old
kernels refuse larger buffers with EINVAL.
src/basic/missing.h
src/basic/mount-util.c