Questions tagged [usermode]

61 questions
0
votes
0 answers

Python Ctypes Windows Access Violation - reading memory location

I am writing an application using the Deviare usermode hooking engine over COM in python. One of the functions I am hooking is CreateProcessA, but I seem to be having trouble passing the appropriate pointers from a hooked function to the ctypes…
Blackdragon1400
  • 355
  • 3
  • 16
0
votes
0 answers

Reading the CTS line of RS232 at speed in c++

I’m a relative rs232 newbie. I have an elapsed time reader chip: http://www2.l-3com.com/edi/dyna-digital.htm that has been configured to spew out data on the CTS line of an RS232 com port every other 250ms with each data set lasting 62.5ms. The data…
moonraker
  • 450
  • 6
  • 18
0
votes
2 answers

How to start a user mode program from kernel mode in windows

I have a driver (kernel mode)(KMDF) and i have a user preferences form. i need to start the activity from the driver code and get the preferences. so how do i start that user mode program from kernel in windows operating system ?
Eswar Yaganti
  • 2,187
  • 1
  • 18
  • 20
0
votes
1 answer

User Mode vs Userland

Is Userland just another way to say User Space & User-Mode? For example, would I be able to say: There are various subsystems in Userland. Instead of: There are various subsystems in User-Mode. ..and would it be a valid way of saying that?
ajdbnabad13
  • 335
  • 3
  • 9
0
votes
2 answers

Difference between User vs Kernel System call

A system call is how a program requests a service from an operating system's kernel. They can occur in user-mode and kernel-mode. What are differences? For example: Overhead System time
Leo
  • 7,914
  • 2
  • 35
  • 46
0
votes
1 answer

user mode and kernel mode provide protection from the user?

Personally I would presume that User Mode allows the restricted access so nothing could be changed that shouldn't be, hence the Kernel mode. Although presuming isn't good enough. Does anyone know why or how they provide protection from a user.
bananabreadbob
  • 315
  • 1
  • 7
  • 25
0
votes
2 answers

How to break into KD(Windbg) for Explorer crash

I see a crash in Explorer.exe, due to our security s/w dll loaded in to the Explorer.exe. The crash happens during the shutdown of the system. The VM is connected to the Kernel debugger. I don't see Kernel debugger breaks when exception happens. I…
santhiR
  • 31
  • 5
0
votes
2 answers

Sending value from kernel mode to user mode

I'm developing a kernel-mode driver for an Anti Virus program, but I've a problem in Drivers section I want to send a string value (For example "String") from Kernel-mode driver to user-mode application . can anyone help me to do this ?
Behrooz
  • 674
  • 1
  • 7
  • 19
0
votes
2 answers

Linux user space PCI driver

I'm trying to write a PCI device driver that runs in user space. Not my idea, what the client wants. Target is an embedded Linux board that will never have more than a single user. I'm an experienced C programmer and know Linux, just not familiar…
M. Schmidt
  • 3
  • 1
  • 3
0
votes
1 answer

Running a dll in kernel mode

I'm just curious: I have a Windows dll which does some rendering/drawing jobs with openGL and then returns the result to the application. Would it be faster if the code didn't run in user-mode but in kernel-mode? (no interruptions and higher…
Marco A.
  • 41,192
  • 25
  • 117
  • 233
0
votes
1 answer

Communicating with a driver over a network in Windows

How could I communicate with a driver from a usermode application over a network? I can't have the driver communicate with a local usermode application which then communicates with the remote application because that wouldn't work for what I'm…
user37875
  • 12,522
  • 9
  • 34
  • 43
0
votes
1 answer

Is it possible to be aware of exception occurrence by monitoring IDT?

Is it possible to be aware of exception occurrence (In user-mode & kernel-mode) by monitoring IDT(Interrupt Descriptor Table)?
n1kita
  • 263
  • 1
  • 4
  • 15
-1
votes
1 answer

What is difference between User pages and Supervisor pages in Paging

I understand how to differentiate if the page is user page or supervisory page using the bit, but what is the difference between these pages and how is it related to the user mode or supervisory mode ?
Girija Vk
  • 1
  • 2
-1
votes
2 answers

Getting CPU cycles from user mode dump

Process Explorer has columns for CPU time (down to milliseconds) and CPU Cycles. For WinDbg I am aware of the !runaway command, also !runaway 7 for more details, but it shows CPU time only. Are the CPU cycles also available somehow in a user mode…
Thomas Weller
  • 43,638
  • 16
  • 101
  • 185
-1
votes
1 answer

Security: How to show/hide, by password, QGroupBox in Qt App

I'm trying to prepare my Qt App (in C++) to be used by different user profiles: root user and normal user, so I want to hide specific root options (restricted QGroupBox) in normal user mode, and then when it's needed by a root user he could type…
dpatino
  • 109
  • 2
  • 9