Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
2 votes
0 answers
21 views

I am using a BPF probe on sys_execve() to log current->start_boottime along with UID, GID, nspid etc. The probe also logs the current time using bpf_ktime_get_ns(). I am logging start_boottime a.k....
patraulea's user avatar
  • 1,006
3 votes
2 answers
122 views

According to documentation, under /kernel mode: You must explicitly define the new() or delete() operator. The compiler and runtime don't supply a default definition. Yet, the following code ...
One_Cable5781's user avatar
0 votes
0 answers
75 views

What's the memory order in this situation: ARM CPU connected to a PCIe NIC(Network Interface Card) The NIC write data and descriptor to ARM CPU memory, data and descriptor are normal memory. ARM CPU ...
Jams.Liu's user avatar
  • 533
Tooling
0 votes
0 replies
25 views

Note: This is a repost of a question I asked on RetroComputing, where I was told to move it here. I've made my own kernel. It has 32-bit pm, 16-bit pm, and 16-bit real mode code. I use Qemu to ...
Self learning student's user avatar
0 votes
1 answer
49 views

I'm struggling to reconcile the difference between the symbols listed in my ELF file's dynamic symbol table (.dynsym) and the system calls observed via strace. When I perform static analysis using ...
신경철's user avatar
Best practices
0 votes
3 replies
61 views

I'm writing a kernel patch (you can see a project here) that, when any program is launched in the system, checks whether the program has the bitX attribute in its хattr. If it's missing or equal to 0, ...
oditynet's user avatar
0 votes
2 answers
169 views

https://github.com/PoutineSyropErable/MapleKernel The BareBones dir. debug2 branch. e5cf6d69e3f9f053 commit hash. How is a proper 32PM -> 16RM mode switch done on modern x86_64? My 16 bit code is ...
Self learning student's user avatar
0 votes
0 answers
83 views

I was building kernel6.6(source from openkylin2.0 a down stream distibution of debian) on riscv platform, I met an issue while build with command dpkg-buildpackage -us -uc, part of the build log is as ...
Mr.D's user avatar
  • 3
1 vote
1 answer
71 views

I'm building a non-GPL kernel module (non-negotiable) and in order to get timing information everywhere I look here and elsewhere tells me to use the new ktime_* API, but when I build I get this error:...
Ken Y-N's user avatar
  • 15.2k
2 votes
0 answers
83 views

I try to code the transition from protected mode to IA-32e mode. It's a task in college. The problem that I can't debug 32 bit bootloader. I can only run QEMU and tell based on its output whether this ...
chav1s's user avatar
  • 47
1 vote
0 answers
118 views

I need to write (modify) an executable file and then execute it from a Linux system call. I have attempted to create (open) the file, write to it, close it, and then execute it. The problem is that ...
Viorel Preoteasa's user avatar
0 votes
0 answers
53 views

I have been creating a basic core management tool which is able to dynamically turn CPU cores on and off using Arm's PSCI CPU_ON and CPU_OFF functions. This worked great on QEMU, however moving onto ...
Mike's user avatar
  • 21
2 votes
0 answers
232 views

In the android docs, it mentions that we can use bazel to build the .img file for the kenrel (which we can flash with fastboot). However, I don't seem to have the //common:kernel_aarch64_dist target ...
Vivek Jagadeesh's user avatar
2 votes
2 answers
150 views

Well, I'm writing my own OS just for fun, and I thought it would have been cool to add a bytecode "language" interpreted by the kernel itself. I took inspiration mainly from Java, which is ...
varevind's user avatar
1 vote
0 answers
37 views

I'm trying to build a custom Linux kernel for my device and I'm running into several compilation errors. Here are some examples: ../include/net/tcp.h:860:25: error: field has incomplete type 'struct ...
Cebrail Akar's user avatar

15 30 50 per page
1
2 3 4 5
626