Code Monkey home page Code Monkey logo

Comments (6)

cfc4n avatar cfc4n commented on June 1, 2024

我对archLinux系统不熟悉,你了解哪里保存里KernelConfig 信息吗?

from ecapture.

xtay573269555 avatar xtay573269555 commented on June 1, 2024

根据 https://wiki.archlinux.org/title/Kernel#Compilationhttps://wiki.archlinux.org/title/Compile_kernel_module 中的介绍(搜索 config.gz 关键字),archlinux 在运行时会将 KernelConfig 释放到 /proc 目录下。

我在 archlinux 上实际测试了下,是能找到这个文件和内容的

[root@archlinux ~]# zcat /proc/config.gz | grep CONFIG_DEBUG_INFO_BTF
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y

from ecapture.

cfc4n avatar cfc4n commented on June 1, 2024

我手头没有archLinux的测试服务器,你的服务器方便我用一下吗?

from ecapture.

xtay573269555 avatar xtay573269555 commented on June 1, 2024

我的不是公网服务器,是家里的NAS装PVE再建的archlinux虚拟机。我得先改一遍内网密码才能把主机映射出去。搞完了联系你

from ecapture.

cfc4n avatar cfc4n commented on June 1, 2024

之前做过对archLinux 的兼容的,理应不会报错。

configPaths = []string{
"/proc/config.gz",
"/boot/config",
"/boot/config-%s",
}

from ecapture.

xtay573269555 avatar xtay573269555 commented on June 1, 2024

抱歉,是我搞错了,ecapture 能在 archlinux 上正常运行。是我连上一台 VM 运行的 archlinux 主机后 ssh 跳到另一台 LXC 运行的 archlinux,securecrt 会话中断后搞混淆了。

from ecapture.

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.