|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0104 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0104.
Report 0104 Actions
Problem Report Number 0104 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0104 Raised 1993-11-05 08:00 Updated 2003-03-13 08:00 Published 1993-11-19 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.4 Test Identification POSIX.os/devclass/i_ctty 4 Problem Summary TSD4.104 When this test case is run with pseudo-ttys, the O_NOCTTY flag is never used when it opens the terminal file. The test case initially calls terms_prep() with the request to use both the O_RDWR and O_N... Problem Text
When this test case is run with pseudo-ttys, the O_NOCTTY flag is
never used when it opens the terminal file.
The test case initially calls terms_prep() with the request to
use both the O_RDWR and O_NOCTTY flags. This function will then call
do_prep() to open the terminal file with the flags passed into the
"oflags" variable. This variable is used when opening a normal terminal
device, but is not used when calling openpty(), which is the function
that opens all pseudo-ttys.
Because the O_NOCTTY flag is not passed onto openpty(), it opens the
terminal side without the O_NOCTTY flag. And since the test case had just
previously created a session leader without a controlling terminal, the
opening of the terminal side forces it to become the new controlling
terminal.Test Output
**************************************************************************
************************************************************************
/tset/POSIX.os/devclass/i_ctty/T.i_ctty 4 Failed
Test Description:
If general terminal interface supported:
When a process uses the O_NOCTTY option to open(), the terminal
shall not become the controlling terminal of the calling process.
Posix Ref: Component Terminal Interface Assertion 7.1.1.3-05(C)
Test Strategy:
CREATE child process
CHILD process:
CREATE process session using setsid()
OPEN and initialise terminal file and loopback file, using O_NOCTTY
on terminal file
SET signal action for SIGINT to signal catching function
WRITE interrupt character to loop_fildes
VERIFY that calling process did not receive SIGINT
Test Information:
process received SIGINT when not expected
**************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a test suite deficiency.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0104
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority