Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Enable LFS by default on 32-bit #338

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 24, 2017

  1. 32-bit ABI: introduce ARCH_32BIT_OFF_T config option

    All new 32-bit architectures should have 64-bit off_t type, but existing
    architectures has 32-bit ones.
    
    To handle it, new config option is added to arch/Kconfig that defaults
    ARCH_32BIT_OFF_T to be disabled for non-64 bit architectures. All existing
    32-bit architectures enable it explicitly here.
    
    New option affects force_o_largefile() behaviour. Namely, if off_t is
    64-bits long, we have no reason to reject user to open big files.
    
    Note that even if architectures has only 64-bit off_t in the kernel
    (arc, c6x, h8300, hexagon, metag, nios2, openrisc, tile32 and unicore32),
    a libc may use 32-bit off_t, and therefore want to limit the file size
    to 4GB unless specified differently in the open flags.
    
    Signed-off-by: Yury Norov <[email protected]>
    norov authored and Rondom committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    33ddd64 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2017

  1. lkl: add test for large file support

    Test that large file support is enabled by default, i.e. without passing
    O_LARGEFILE to lkl_sys_open.
    
    Signed-off-by: Andreas Gnau <[email protected]>
    Rondom committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    1fd1f9b View commit details
    Browse the repository at this point in the history