Comments (5)
current_uid().val
current_euid().val
to all instances!
from ldd3.
it compiles cleanly after that
from ldd3.
Hi bodgergely.. That does work but I don't think it's the right thing to do. I used the functions defined in the kernel (uid_eq() and such) to compare uids. Using those guards against future changes to the kuid structures.
The changes are shown in my pull request.
from ldd3.
Yeah, you are right about not relying on the internals directly. Thanks I will use that function instead.
from ldd3.
I'm closing this because it was already fixed by commit 0a7ee7d ("Fix failure to compile the scull.").
from ldd3.
Related Issues (20)
- sbull is still obsolete, not able to compile on 5.x linux kernel versions HOT 4
- Build on 5.7 Kernel HOT 1
- kernel panic generation when i run "insmod snull.ko" at 4.19.94-ti-r50 HOT 3
- build error with Linux v5.9-rc8 HOT 9
- Error compiling misc-progs in ARM aarch64. HOT 2
- Return value of cdev_add() in ldd3/scullp/main.c HOT 2
- ldd3 has been verified on alpine 3.13. HOT 2
- not compiling on raspberrypi 4 , help plz HOT 2
- when test snull driver, ping remote1 sometimes return 100% packet loss HOT 4
- Compile fail Debian 11, kernel 5.10 HOT 4
- Not compiling on Ubuntu 21.10 kernel version 5.14.16 HOT 2
- sbull.c: implicit declaration of function blk_alloc_queue against kernel version 5.14.9 HOT 1
- A lock is missing to relaese in snull_get_tx_buffer HOT 2
- *** No rule to make target 'Device'. Stop. HOT 4
- <linux/genhd.h> has been removed but referenced in sbull.c
- Errors while compiling => In jit.c HOT 2
- Build failure with kernel versions < 5.17 due to usage of pde_data() HOT 1
- Writing `u32` with `iowrite8` in `silly.c` HOT 1
- `dev_addr` in `struct net_device` has now been made `const` HOT 3
- does this project support to compile on WSL ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldd3.