|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1233 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 1233.
Report 1233 Actions
Problem Report Number 1233 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0435 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null 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/lchown 8 9 Problem Summary PG4U.00030 The test is failing because it uses negative numbers for uids and gids. Problem Text
lchown() Test 8 fails because the test passes in -2 as the uid,
thinking that -2 is not a supported uid. On the system under test,
-2 is a legitimate user id for "nobody" therefore the test fails.
lchown() Test 9 fails because the test passes in -2 as the gid,
thinking that -2 is not a supported gid. On the system under test,
-2 is a legitimate group id for "nobody" therefore the test fails.
HP recommands to have two more configuation parameters such as
VSU_NO_USER_ID and VSU_NO_GROUP_ID in the TET configuration file
(tetexec.cfg) for the tests.Test Output
TEST CASE: lchown
TEST PURPOSE #8
EINVAL in errno and return -1 on a call to int
lchown(const char *path, uid_t owner, gid_t group)
when owner is not a value supported by the
implementation.
PREP: Create test file
TEST: Invalid owner id returns -1
ERROR: lchown() did not fail - returned 0
8 FAIL
TEST PURPOSE #9
EINVAL in errno and return -1 on a call to int
lchown(const char *path, uid_t owner, gid_t group)
when group is not a value supported by the
implementation.
PREP: Create test file
TEST: Invalid group id returns -1
ERROR: lchown() did not fail - returned 0
9 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The tests use negative integers as illegal uid's and gid's.
This should be true according to the the XBD spec definitions
for uid and gid which state
user ID
A non-negative integer that is used to identify a system
user. ...
group ID
A non-negative integer that is used to identify a group of system
users. ....
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1233
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority