|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1486 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 1486.
Report 1486 Actions
Problem Report Number 1486 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0768 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-10-30 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification Base/getpgid 1 Problem Summary TSD4U.00045 This test may fail on IUTs that only allow getpgid access to processes in the same session as the calling process. Problem Text
This test may fail on IUTs that only allow getpgid access to
processes in the same session as the calling process.
This test fails because it uses setpgrp() to set the process
group ID and make the child a session leader. Therefore, the
child is not in the same session as the calling process (the
parent).
The parent then tries to do a getpgid() using the child's pid.
According to the getpgid spec getpid may fail with EPERM if
The process whose process ID is equal to pid is not in the same
session as the calling process, and the implementation does not
allow access to the process group ID of that process from the
calling process.
Since we implement the call this way, getpgid fails and EPERM is
set in the errno.Test Output
TEST CASE: getpgid
TEST PURPOSE #1
A successful call to pid_t getpgid(pid_t
pid) when pid is not 0 shall return the process group
ID of the process whose process ID is equal to pid.
PREP: Fork a child process
PREP: Child: change group ID to its process ID
TEST: Parent: getpgid() returns the process group
ID of the child process
ERROR: getpgid failed, errno = 1(EPERM - Not owner)
1 UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
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 1486
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority