Skip to content
Advertisement

Tag: linux-kernel

Is shared standard C library first initialized by kernel?

I’m trying to understand the operation of linker and loader, and memory addresses(physical or virtual) regarding how a program is actually compiled and executed. I encountered two pieces of information and formed my own version of comprehension. 1st information: W.5.1 SHARED OBJECTS In a typical system, a number of programs will be running. Each program relies on a number of

What’s the purpose of `on_rq` field in `task_struct`?

I am now reading the source code of try_to_wake_up() function of Linux Kernel. This function does a lot and includes this: return p->on_rq == TASK_ON_RQ_QUEUED. So, what is the actually purpose of on_rq field in task_struct. BTW, does there exist some manuals or reading materials to introduce all the fields in task_struct? I think a fully understanding of these fields

How to limit privileged user access at Linux Kernel level?

I found this answer on learning Linux Kernel Programming and my question is more specific for the security features of the Linux Kernel. I want to know how to limit privileged users or process’s access rights to other processes and files in contrast to full access of root. Until now I found: user and group for Discretionary Access Control (DAC),

Dynamically find the address at which the kernel is loaded

I’d like to be able to programmatically find out the address at which the linux kernel is loaded. If there are tools out there that already do that, I’d be willing to use them. However, inspecting the PARAMS_PHYS field in the .config during the kernel build is not an option. How could I go about doing this? Answer From where

Advertisement