Skip to main content

Questions tagged [kernel]

Consider more specific tags such as [linux-kernel], [windows-kernl], [xnu] where applicable. Otherwise this tag for code that runs within an operating system's kernel, as opposed to part of a user program. N.B. not for graphics convolution kernels or CUDA.

kernel
0 votes
0 answers
7 views

Sharing kernel keyring between systemd services

I am working with kernel keyring (e4crypt tool stores its keys there). for some reason systemd doesn't share kernel keyrings between services. Service A launches a script that creates a key and then ...
synalice's user avatar
  • 327
-2 votes
1 answer
25 views

How to refuse/reject a tcp connection in eBPF?

How to refuse/reject a tcp connection in eBPF? I want to reject/refuse a tcp connection, maybe in sockops hook? I want to limit tcp connection number. If it has exceeded some thresholds, I'd like to ...
Lucas's user avatar
  • 1
0 votes
0 answers
11 views

Juypter Notebook Crashes When Tensorflow and Keras is Used

Kernel Stops Running Whenever I use tensorflow, keras, or other libraries involving deep learning, the notebook crashes even though I installed the lasted version of these libraries. Anyone else have ...
ritesh pen's user avatar
0 votes
1 answer
34 views

Taking FreeRTOS as an example, how to separate the kernel from the application? (Physical)

enter image description hereBackground: FreeRTOS, Cortext-M3 Suppose there is a situation where the kernel and application are developed separately, and the .text segment of the kernel and the ...
Rost Zhong's user avatar
1 vote
0 answers
33 views

How to create a page aligned variable in a kernel module?

So I want to have a buffer in my kernel module that I created like that: static char buf[BUF_LEN]; My problem is that the start address of this buffer is not necessarily page aligned. To give a bit ...
Pinko's user avatar
  • 69
-6 votes
0 answers
33 views

Kernel experts, please expain what these error codes mean [closed]

I've been working on customizing the Linux kernel, specifically in the networking stack. I modified the tcp_sendmsg_locked function to include a mod_timer call, aiming to delay the tcp_push. However, ...
정세종's user avatar
0 votes
0 answers
27 views

How to unload nf_conntrack?

i am trying to unload nf_conntrack, but there are different modules that are in use with it and I can't seem to unload them. The reason for the unloading of conntrack is because I am trying to edit ...
JBoy's user avatar
  • 1
0 votes
1 answer
61 views

Do processes share the read-only sections of common dynamically loaded libraries?

I would like to verify how the memory consumption works when I have two different executables that depend on the same dynamically loaded library and the library has both "state" (i.e., ...
A.G's user avatar
  • 1
1 vote
0 answers
24 views

Syscall tracepoints missing in custom 5.15 aarch64 android kernel for Pixel 6

I recompiled a custom 5.15 kernel for my Android Pixel 6 phone with Android 13 with event tracing enabled (especially syscall tracepoints). After booting, the kernel does not have the /sys/kernel/...
Pete1234's user avatar
0 votes
0 answers
14 views

How to add printk statements to debug the conntrack source code on a virtual machine?

I've been trying to understand the connection tracking (conntrack) source code (specifically nf_conntrack_proto_tcp.c and nf_conntrack_proto_udp.c) by sending packets between virtual machines and ...
JBoy's user avatar
  • 1
0 votes
0 answers
12 views

Can different cores (or hardware threads within cores) in a multi-core processor with SMT/hyper-threading operate at different IRQLs simultaneously?

I'm wondering if it is possible to have Thread 1 running with IRQL 2 on the core 1 and have Thread 2 running on core 1 with IRQL 0 at the same time. Also I'm wondering if the above possible for two ...
tens0r's user avatar
  • 49
0 votes
0 answers
14 views

Failing to find Android Studio AVDs Kernel Source

I'm trying to build an android kernel module, but i need to compile the linux kernel from google's branch to it works firts... And I've compiled many kernels from different versions and none of them ...
Tricta's user avatar
  • 1
0 votes
0 answers
41 views

Which builtin linux kernel modules/symbols are working? [closed]

After compiling linux kernel modules/symbols as builtin, how to know they're actually being utilized? It's fairly simple to know exactly which loadable modules do what, despite the fact there're ...
Deyaa's user avatar
  • 11
0 votes
0 answers
30 views

Linux Kernel: How to use all ports and avoid WAIT_TIME sockets?

I am building a script for work where I have to scrape massive IP addresses, something like 50 million. However, when analyzing my program and machine performance, we notice the following: At least ...
Adina's user avatar
  • 129
0 votes
0 answers
16 views

kretprobe handler hooks show BUG: scheduling while atomic

I tried to use kretprobe to hook the umount syscall with a post handler in my kernel module. static struct kretprobe umount_kretprobe = { .entry_handler = umount_kprobe_pre_handler, .handler ...
hongyun's user avatar
  • 55

15 30 50 per page
1
2 3 4 5
628