I am hacking linux kernel and am trying to update the User_struct of a given user if given the UID. How do I access user_struct once given a UID/user id.
Asked
Active
Viewed 462 times
1 Answers
1
Try struct user_struct *find_user(uid_t uid)
located in kernel/user.c
Here is a link to its definition in the Android Linux Kernel source code.

user862857
- 483
- 5
- 6