Solved

how to access system/library calls  in kernel space.

Posted on 2009-07-16
3
631 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

705 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