1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/src/readahead
Dave Reisner 370c860f74 implement a union to pad out file_handle
Cases where name_to_handle_at is used allocated the full struct to be
MAX_HANDLE_SZ, and assigned this size to handle_bytes. This is wrong
since handle_bytes should describe the length of the flexible array
member and not the whole struct.

Define a union type which includes sufficient padding to allow
assignment of MAX_HANDLE_SZ to be correct.
2014-04-21 09:52:08 -04:00
..
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
readahead-analyze.c readahead: fix format string issue 2013-04-25 21:50:48 -04:00
readahead-collect.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
readahead-common.c implement a union to pad out file_handle 2014-04-21 09:52:08 -04:00
readahead-common.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
readahead-replay.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
readahead.c clients: unify how we invoke getopt_long() 2013-11-06 18:28:39 +01:00
sd-readahead.c errno is positive 2013-04-11 19:13:18 -04:00