Help with 4.3 mod to kill uninteruptable procs.

Stanley Friesen sarima at tdatirv.UUCP
Sat Feb 23 06:57:36 AEST 1991


In article <1991Feb21.145705.27763 at cbnews.att.com> rock at cbnews.att.com (Y. Rock Lee) writes:
>Forcibly awaking a process doing read/write (DMA transter) will either
>give the process a buffer with garbage data or throw away a buffer
>containing valid data. How can this trash someone else's memory?

Scenario - forcibly wake-up a process waiting on a slow device,
	process mucks about with unfilled buffer, and *releases* it.
	process probably dies due to signal the woke it up.
	another process acquires the buffer from the free pool
		(Perhaps intending to use it for paging)
	slow device finally finishes, putting results into buffer.
	new process returns the buffer or (worse) uses it as a new page.

	VOILA - corrupted stuff in the new process.
-- 
---------------
uunet!tdatirv!sarima				(Stanley Friesen)



More information about the Comp.unix.internals mailing list