Jan 15, 2019
Tinku Trailer 1. The other movie is the first Tinku, with Lal, Jeeva, Laila, Vijayakanth and Samuthiram, .Jan 15, 2019
Samudhiram Trailer 2. Sathyaraj, Devan, .
Mar 12, 2019
Samudhiram Trailer 3. Devi Sri Prasad, .
Mar 13, 2019
Samuthiram HD Video Song (Official)
Q:
Are there any syscalls that don't require root?
I am porting linux kernel to some target. One of my new syscalls(0xFFFFFFFFFFFFFFF00) is not working under root, however it is working fine as non root user. So are there any syscalls that don't require root permission?
A:
My way to find syscall with non root requirement is simply:
Look for syscall with "always requires root" description
Add "setuid 0" to this syscall's header
Try to execute this syscall as non root user
If it's working fine, you got syscall which doesn't require root
If it's not working you can't use this syscall.
When you find such syscall, you need to remove it from kernel source.
A:
Most syscalls have the same privileges as their parent process, that's why they're usually available to users and root. It's not the same for system calls, because they're provided by the kernel and implemented in the Linux ABI. The bottom line is: the call will be available to users if the context is not associated with any exception.
Edit (in response to comment by @Karel): The goal of a user-space program is to handle tasks that are visible from a user. If a task's job is to implement specific functionality (such as controlling a device or writing data to files) it can handle only what's allowed in terms of privileges.
The Talmud holds that you should say "Kol hakavod" if someone makes you a cake and it is the only dessert in the house, or if someone brings you a freshly pressed orange juice from the local "basket."
If you don't like the "Kol hakavod," you are supposed to be ashamed and ac619d1d87
Related links:
Comentários