|
Is the kernel stack a different structure to the user-mode stack that is used by applications we (programmers) write?
Can you explain the differences?
Started by Tony on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If the user mode had access to the kernel stack, it could modify a jump address processes (for synchronisation....
When addresses an so on.
Stack per thread is because in user mode, code must not be allowed to mess up kernel memory.
|
|
I have a few questions on the user-mode and supervisor-mode on Unix-like machines.
What is the difference between user-mode and supervisor-mode? I know that the user processes cannot access all memory and hardware and execute all instructions. Is there...
Answer Snippets (Read the full thread at stackoverflow):
Even most....
Two concepts exist:
software user/kernel of startup.
User mode, and then switches back to user mode with the next task to resume.
Of code could simply access kernel memory and read all the passwords for instance .
|
|
Does anyone know of a Windows user-mode thread synchronization library for C++ (utilizing spin locks / atomic operations)? I only need mutexes (~critical sections), but condition variables would be a plus.
Started by CyberShadow on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Visual Studio 2010 Beta2 / Win7 x64 contain the Concurrency Runtime (ConcRT) which is built on User Mode Scheduled threads, which....
Use the win32 library for user mode (critical section contains a spincount which will spin).
|
Ask your Facebook Friends
|
I have inherited instructions that say to get to single-user mode on Solaris like:
Execute reboot -- -s Mount all file systems My question is, why not just do:
init 1 What's the difference?
Started by David Citron on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Init should....
I believe 'init 1' would not set a system into single user mode you'd have to use
init s
instead, will basically take the system all the way down and then start it from ground zero into single user mode the kernel.
|
|
I have a database that is stuck in single-user mode. I kill the process that obtains the "lock" on the db but when I kill it another one spawns automatically, (using the sa account). This happens even with SQL Server agent disabled. Any ideas?
Started by Gibbons on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want to move it out of single user mode, right click.
Monitor" (under the "Management" folder).
|
|
I am looking for user-mode multi-threading library/framework for C++ under Linux. I am familiar with boost::thread and ACE_Thread_Manager but AFAIK both of them eventually use OS native thread's support.
Suggestions will be highly appreciated.
Started by error.exit on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Is MTasker the kind of thing you're....
GNU PTH: http://www.gnu.org/software/pth/
It's using cooperative multithreading, which is why it's used in GnuPG (which for security reasons doesn't want real threads, but for responsiveness reasons needs threads) .
|
|
I have a database in single user mode and I am trying to drop it so I can re-run the creation scripts on it, but I'm being locked out from it.
How do I figure out who has the lock on it? How do I disable that lock?
Started by Orion Adrian on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
From SQL Server Management Studio:
open the object explorer expand the database server expand "Management" double-click on "Activity Monitor" locate the process using the desired... .
Run sp_who, find the spid with the database name you require, kill the spid .
|
|
Is the an easy way of finding out the host name of a machine than generated a user mode dump file via WinDbg?
Or at least any piece of identifying information to try and confirm that two dump files came from the same system.
Started by Rob Walker on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Or you can....
From debugger.chm:
Finding the Computer Name in a Kernel-Mode Dump File
If you need to determine the name of the computer on which the crash dump was made, you can use the !peb extension and look for the value of COMPUTERNAME it its output .
|
|
Hi.
I have been shown that a FreeBSD system can easily be accessed in single user mode without the root password. Using the passwd command will allow anyone withh physical access to the system to change the password for root. Is there any way to prevent...
Started by The BSD Guy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
You simply need to edit /etc/ttys to prompt for a password in single user mode, although keep this:
console none unknown off insecure
upon rebooting and entering single user mode, you may use single-user mode,....
|
|
I would like to know how (and by extension if it's possible) to put SQL Server 2005 in single user mode using SQL statements?
I found these instructions on the MSDN, but alas they require SSMS.
http://msdn.microsoft.com/en-us/library/ms345598 (SQL.90,...
Started by Jason Slocomb on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Basis, you can set single user mode with:
ALTER DATABASE database_name SET SINGLE_USER
If other.
|