Solved

how to access system/library calls  in kernel space.

Posted on 2009-07-16
3
578 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
ID: 24869057
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
ID: 31604138
solution not completed
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Scripting 3 95
Check if a filw is immutable for a certain amount of time 6 45
Why isn't object file created? 6 39
Linux/Apache File Ownership/Permissions 1 50
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

930 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

14 Experts available now in Live!

Get 1:1 Help Now