Coder Social home page Coder Social logo

Comments (5)

namjaejeon avatar namjaejeon commented on August 30, 2024

What is this kernel version("5.15.0-5.76.5.1.el8uek.x86_64") ? This seems custom kernel. We support only mainline kernel version.

from ksmbd.

neheb avatar neheb commented on August 30, 2024

RHEL based kernel.

from ksmbd.

namjaejeon avatar namjaejeon commented on August 30, 2024

Okay, But ksmbd is using KERNEL_VERSION macro to distinguish each kernel versions. When I see "5.15.0-5.76.5.1.el8uek.x86_64" name, he doesn't update PATCHLEVEL and SUBLEVEL in Makefile of kernel.

#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0) || \
    (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 52) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0))
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
        vfsuid = make_vfsuid(mnt_userns, &init_user_ns, pace->e_uid);
#else
        kuid = mapped_kuid_fs(mnt_userns, &init_user_ns, pace->e_uid);
#endif
#else
        kuid = kuid_into_mnt(mnt_userns, pace->e_uid);
#endif  

See Makefile in mainline kernel. They should check them in Makefile of their kernel.

# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 15
SUBLEVEL = 47
EXTRAVERSION =
NAME = Trick or Treat

from ksmbd.

neheb avatar neheb commented on August 30, 2024

Maybe @zx2c4 can help. These enterprise kernel are "special"

from ksmbd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.