diff options
author | Kees Cook <kees@kernel.org> | 2025-02-28 10:19:34 -0800 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2025-02-28 11:51:26 -0800 |
commit | 808aac63e2bdf9bae08485e072bf3d317a18acbf (patch) | |
tree | 1bcb7f88aa98d111c24cfbf3381ff7545d1bf458 /security | |
parent | a64dcfb451e254085a7daee5fe51bf22959d52d3 (diff) | |
download | linux-808aac63e2bdf9bae08485e072bf3d317a18acbf.tar.gz linux-808aac63e2bdf9bae08485e072bf3d317a18acbf.tar.bz2 linux-808aac63e2bdf9bae08485e072bf3d317a18acbf.zip |
uaccess: Introduce ucopysize.h
The object size sanity checking macros that uaccess.h and uio.h use
have been living in thread_info.h for historical reasons. Needing to
use jump labels for these checks, however, introduces a header include
loop under certain conditions. The dependencies for the object checking
macros are very limited, but they are used by separate header files,
so introduce a new header that can be used directly by uaccess.h and
uio.h. As a result, this also means thread_info.h (which is rather large)
and be removed from those headers.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502281153.TG2XK5SI-lkp@intel.com/
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions