Questions tagged [usermode]

68 questions
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.
  • 43,032
  • 26
  • 132
  • 246
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
  • 13,904
  • 9
  • 37
  • 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
  • 5
  • 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
  • 3
-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
  • 55,411
  • 20
  • 125
  • 222
-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
  • 99
  • 3
  • 10
-1
votes
1 answer

How does an instruction know if it's running in privilleged or user mode?

In a class the prof said "an [assembly] instruction knows if it's running in privileged or user mode because if a trap is produced then it's user mode". First off I assume it can't be any trap but a specific trap saying that the command cannot be…
Celeritas
  • 14,489
  • 36
  • 113
  • 194
1 2 3 4
5