[ Search ]
[ What's New? ]
[ About ]
|
|
| TIOCCONS | |
|---|---|
| Systems Affected: | SunOs 4.1, 4.1_PSR_A, 4.1.1 |
| Problem: | TIOCCONS can be used to re-direct console output/input away from "console" |
| Solution: |
Sun Bug ID 1008324. Sun Patch ID : for SunOS 4.1, SunOS 4.1_PSR_A 100187-01
Sun Patch ID : for SunOS 4.1.1 100188-01
The fix consists of adding permission checking to setcons, the routine that does the work of console redirection, and changing its callers to supply additional information required for the check and to see whether or not the check succeeded. Setcons now uses uid and gid information supplied to it as new arguments to perform a VOP_ACCESS call for VREAD permission on the console. If the caller doesn't have permission to read from the console, setcons rejects the redirection attempt. |
|
Aleph One / aleph1@underground.org Copyright © 1996 Computer Underground Society. All rights reserved. |
|