lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 18/18] uaccess: drop maining CONFIG_SET_FS users
    Hi Arnd,

    > From: Arnd Bergmann <arnd@arndb.de>
    >
    > There are no remaining callers of set_fs(), so CONFIG_SET_FS
    > can be removed globally, along with the thread_info field and
    > any references to it.
    >
    > This turns access_ok() into a cheaper check against TASK_SIZE_MAX.
    >
    > With CONFIG_SET_FS gone, so drop all remaining references to
    > set_fs()/get_fs(), mm_segment_t and uaccess_kernel().
    >
    > Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    Tested-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> # for arc changes

    Regards,
    Sergey

    \
     
     \ /
      Last update: 2022-02-18 11:19    [W:4.077 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site