Solved

how to access system/library calls  in kernel space.

Posted on 2009-07-16
3
561 Views
Last Modified: 2012-05-07
i know library and systemcalls cannot be accessed in kernel space , i have seen using
memset in kernel code , memset is a library call and how it is working ?

i need to access open system call in kernel space is it possible to open a disk file in kernel space for reading.
0
Comment
Question by:tittu
3 Comments
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 500 total points
Comment Utility
memset is usually / or possibly always a compiler inlined function, a few simple ASM instructions, so there will not be an externally linked function.

Unless my memory is really bad, I've used memset in actual Linux kernel driver code.
0
 

Author Closing Comment

by:tittu
Comment Utility
solution not completed
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now