Skip to main content

New answers tagged

2 votes
Accepted

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

static char buf[BUF_LEN]; That already sounds like a potential bug to me :) Your module has a static buffer of some size defined in a global scope, meaning: there's exactly one of such buffers, and ...
Marcus Müller's user avatar
0 votes

How to disable rfkill after it has been uninstalled from Raspbian

Even it's a old question, here is my dirty solution for Pi Zero 2W & 2024-03-12-raspios-bullseye-armhf-lite: Mount somewhere the SD /rootfs partition, I use Paragon to mount it on Windows but I ...
yo3hcv's user avatar
  • 101
1 vote

What is the modern way of creating devices files in /dev/?

#include <linux/module.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/cdev.h> #include <linux/device.h> #include <linux/uaccess.h> #define ...
warashi nguyen's user avatar
0 votes

bos: unable to build security class (configuring connection security)

The bos command works over the network, so it expects the user to have credentials available in order to authenticate to the server. That is, you're supposed to run aklog and get AFS tokens first (...
u1686_grawity's user avatar

Top 50 recent answers are included