Solved

how to access system/library calls  in kernel space.

Posted on 2009-07-16
3
590 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS- KeepAlived notify script not working 23 78
linux redhat 7.2 10 70
Setting up static IP - Ubuntu server 16.04 12 61
Run DOS2UNIX and then execute the command 21 70
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

816 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

7 Experts available now in Live!

Get 1:1 Help Now