|
|
Home About Us A-Z Index Search Inquiries Register Press Shop |
|
Organization | |
---|---|
Author |
Product Identification | Version/Release Number | Product Supplier |
---|---|---|
Testing Environment | Binary-compatible Family | Portability Environment | Indicator of Compliance | Compliance Details |
---|---|---|---|---|
Test Suite:
Test Report: |
Waiver Number | Expiry Date |
---|---|
Question 1: Which of the following options, specified in the <unistd.h> header, are available on the system?
Response
Macro Name | Meaning | Provided |
---|---|---|
_POSIX2_C_BIND | Implementation supports the C Language Binding option. |
|
_POSIX2_C_DEV | Implementation supports the C Language Development Utilities option. |
|
_POSIX2_CHAR_TERM | Implementation supports at least one terminal type. |
|
_POSIX2_FORT_DEV | Implementation supports the FORTRAN Development Utilities option. |
|
_POSIX2_FORT_RUN | Implementation supports the FORTRAN Run-time Utilities. |
|
_POSIX2_LOCALEDEF | Implementation supports the creation of locales by the localedef utility. |
|
_POSIX2_PBS | Implementation supports the Batch Environment Services and Utilities option. |
|
_POSIX2_PBS_ACCOUNTING | Implementation supports the Batch Accounting option. |
|
_POSIX2_PBS_CHECKPOINT | Implementation supports the Batch Checkpoint/Restart option. |
|
_POSIX2_PBS_LOCATE | Implementation supports the Locate Batch Job Request option. |
|
_POSIX2_PBS_MESSAGE | Implementation supports the Batch Job Message Request option. |
|
_POSIX2_PBS_TRACK | Implementation supports the Track Batch Job Request option. |
|
_POSIX2_SW_DEV | Implementation supports the Software Developments Utilities option. |
|
_POSIX2_UPE | Implementation supports the User Portability Utilities option. |
|
Rationale
For a Commands and Utilities V4 conformant implementation, _POSIX2_C_BIND, _POSIX2_CHAR_TERM, _POSIX2_LOCALEDEF, and _POSIX2_UPE must be supported. The other constants identify optional functionality that an implementation may or may not choose to support.
Reference
Technical Standard, Base Definitions, Issue 6, Chapter 13, Headers, <unistd.h>.
Question 2: Is the XSI Development Utilities option supported by this implementation?
Response
Rationale
The development utilities are required to exist on designated DEVELOPMENT systems but may not be present on all XSI-conformant systems.
Reference
Technical Standard, Base Definitions, Issue 6, Section 2.1.4.2, XSI Shell and Utilities Conformance.
Question 3: Is the FORTRAN fort77 utility provided?
Response
Rationale
The fort77 utility is the command level interface to the FORTRAN compiler, which need not be provided.
Reference
Technical Standard, Base Definitions, Issue 6, Section 2.1.6.2, Shell and Utilities.
Question 4: How does the at command interpret a non-null SHELL environment variable?
Response
Rationale
The interpretation of the SHELL environment variable can cause at to invoke different versions of the shell on some implementations.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, at, ENVIRONMENT VARIABLES, SHELL.
Question 5: What is the limit on the number of open streams provided by awk?
Response
Rationale
The number of open streams that are available to awk may differ between implementations, possibly depending on the number of streams that are available to a process ({FOPEN_MAX}).
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, awk, Input/Output and General Functions, close().
Question 6: How does the batch command interpret a non-null SHELL environment variable?
Response
Rationale
The interpretation of the SHELL environment variable can cause batch to invoke different versions of the shell on some implementations.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, batch, ENVIRONMENT VARIABLES, SHELL.
Question 7: Which defined names are automatically provided by the compiler?
Response
Rationale
The automatic provision of defined names by the compiler can cause these names to be unavailable in the name space for defined names.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, c99, OPTIONS, -D.
Question 8: When multiple input files are specified, where does c99 direct identification messages designating the start of each input file processing?
Response
Rationale
These messages, if produced, must be written to one or the other of standard output and standard error, but not to both. The destination of these messages is useful in determining redirections that are necessary to identify the input files from which warning messages are generated.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, c99, STDOUT and STDERR.
Question 9: What are the limits associated with external symbols imposed by c99?
Response
Description | Minimum Maximum | Implementation Maximum |
---|---|---|
Number of significant bytes | 31 | |
Number of external symbols per source or object file | 511 | |
Total number of external symbols | 4095 |
Rationale
These limits vary between implementations and cannot be reset by the user. The XCU definition gives the minimum maximum value for each of the values. Some applications may require larger limits than these minimum maxima.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, c99, EXTENDED DESCRIPTION, External Symbols.
Question 10: Does the implementation support user and group IDs for symbolic links?
Response
Rationale
The behavior of a conforming implementation in this area is not mandated in the specification and needs to be defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, chown.
Question 11: What is the affect of alternate access control mechanisms on file copies?
Response
Rationale
Because of the additional restrictions on creating files and reading data from files, the cp utility may not behave as described when alternate access control mechanisms are in use.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, cp, DESCRIPTION (final paragraph).
Question 12: Does date permit the setting of the date and time?
Response
Rationale
Some systems, particularly those that are hosted as part of a total system environment, do not allow the date command to set the date. On such systems, the setting of the date can only be accomplished from the host environment.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, date, OPERANDS, mmddhhmm[yy].
Question 13: What restrictions are imposed on the set of commands within the rhs of the map command?
Response
Rationale
Implementations may impose restrictions on the commands that can be used by macros in visual mode.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, ex, EXTENDED DESCRIPTION, Command Descriptions in ex, Map.
Question 15: Is the history list mechanism disabled for users with appropriate privileges who do not set HISTFILE?
Response
Rationale
The specification states that an implementation may, in certain circumstances, disable the history list mechanism for users with appropriate privileges who do not set HISTFILE. This could have some security implications.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, fc, ENVIRONMENT VARIABLES, HISTFILE.
Question 15: When multiple input files are specified, where does fort77 direct identification messages designating the start of each input file processing?
Response
Rationale
These messages, if produced, must be written to one or the other of standard output and standard error, but not to both. The destination of these messages is useful in determining redirections that are necessary to identify the input files from which warning messages are generated. If the response is not applicable then the fort77 utility is not supported.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, fort77, STDERR.
Question 16: What are the limits associated with external symbols imposed by fort77?
Response
Description | Minimum Maximum | Implementation Maximum |
---|---|---|
Number of significant bytes | 31 | |
Number of external symbols per source or object file | 511 | |
Total number of external symbols | 4095 |
Rationale
These limits vary between implementations and cannot be reset by the user. The specification gives the minimum maximum value for each of the values. Some applications may require larger limits than these minimum maxima. If the responses are not supported then the fort77 utility is not supported.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, fort77, EXTENDED DESCRIPTION, External Symbols.
Question 17: Where are error messages sent when the lex -t option is not specified?
Response
Rationale
These messages can be directed to either standard output or standard error, though the messages are not allowed to be directed to both. An application may wish to redirect these messages to a file.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, lex, STDOUT.
Question 18: Can ln create links to a directory?
Response
Rationale
Implementations may disallow the creation of hard links to a directory, even though the executing process has the appropriate privileges.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, ln, OPERANDS, source_file.
Question 19: What is the default character mapping used when the localedef -f option is not specified?
Response
Rationale
The specification does not define a specific character mapping as the default for conforming systems. This character mapping provides encoding information for the members of the portable character set.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, localedef, OPTIONS, -f.
Question 20: What lp option or operator command is used to suppress the printing of a banner page?
Response
Rationale
The user may require that banner pages are suppressed in cases where pre-printed forms are used and the stationary is of a non-standard length.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, lp, DESCRIPTION.
Question 21: How many bytes are in a block as reported by ls?
Response
Rationale
The block size used by ls to report the number of blocks occupied by a file varies from system to system; often this depends on the underlying file system architecture.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, ls, OPTIONS, -s.
Question 22: What additional variables does make add to its environment?
Response
Rationale
The implementation of make may set certain environment variables on invocation of make. These variables may not be set by the user, thus reducing the name space for environment variables.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, make, EXTENDED DESCRIPTION, Makefile Execution.
Question 23: Does the default MAKEFLAGS environment variable contain additional implementation-defined options?
Response
Rationale
The implementation of make may set certain default MAKEFLAGS options on invocation of make. These variables are in addition to those set by the user on the command line and could affect the processing of make.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, make, EXTENDED DESCRIPTION, Makefile Execution.
Question 24: Does newgrp allow users who are not listed as a member of a group which has no password to change to that group?
Response
Rationale
On some implementations, a user who is not listed as a member of a group may change to that group in the case that there is no password associated with the group.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, newgrp, DESCRIPTION.
Question 25: Are there any other implementation-defined authorization restrictions that affect newgrp?
Response
Rationale
Some implementations may impose accounting or other restrictions that could cause newgrp to deny activity to a group member. For example, a resource quota system could be implemented on a group basis that would limit the ability to join a group until the resources were available to the group.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, newgrp, DESCRIPTION.
Question 26: What are the limits and default values used by nice and renice?
Response
Maximum nice value |
|
Minimum nice value |
|
Default nice value |
|
Rationale
Each of these values differs between implementations and the range of values gives the user some control over the relative priority of processes.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, nice, DESCRIPTION.
Question 27: What is the default archive format used by pax?
Response
Rationale
The implementation has a choice in which format to use when creating archives. When it is reading an archive created in any format that it understands, the pax utility will read the archive in the format as written.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, pax, DESCRIPTION.
Question 28: How does pax handle reading and writing of archives that span multiple files?
Response
Rationale
In many cases pax will take actions, such as prompting the user for the device name to use for the next archive file, when the current archive file is full. There may be extensions to the syntax of pax which allow the user to specify the address to use to access subsequent files.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, pax, DESCRIPTION.
Question 29: How does pax handle invalid filenames when it is extracting files from an archive?
Response
Rationale
An implementation may either extract the data associated with these files into files named in an implementation-defined manner or may issue an error indicating that the file is being ignored. If pax extracts the file, it is necessary for the user either to be informed of the file that is used or to know the algorithm that pax uses in generating these filenames.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, pax, EXTENDED DESCRIPTION, The cpio Filename.
Question 30: Does printf support the e, E, f, g, and G floating point conversion specifications?
Response
Rationale
The support of these conversions is optional.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, printf, EXAMPLES.
Question 31: Is the environment variable IFS ignored when the shell is invoked?
Response
Rationale
The specification allows the sh command ignore the setting of the IFS environment variable on invocation. The setting of this variable has been used to breach security on systems which use the shell to interpret a call to the system() and execvp() interfaces.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, sh, ENVIRONMENT VARIABLES, IFS.
Question 32: What is the latest date after the Epoch that can be used by touch?
Response
Rationale
Because of the limitations on the storage of times in the stat structure associated with a file, there is a limitation on the valid dates that can be specified to touch. This is directly related to the value that can be stored in the integer or real-floating type time_t.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, touch, OPTIONS, -t.
Question 33: What are the limits of yacc's internal tables?
Response
Description | Minimum Maximum | Implementation Maximum |
---|---|---|
Number of tokens | 126 | |
Number of non-terminals | 200 | |
Number of rules | 300 | |
Number of states | 600 | |
Length of rules | 5200 | |
Number of actions | 4000 |
Rationale
These internal table sizes vary between implementations and cannot be reset by the user. The specification gives the minimum maximum value for each of the table values.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, yacc, EXTENDED DESCRIPTION, Limits.
Question 34: What C-language programming environments are provided?
Response
Programming Environment | Provided |
---|---|
The implementation provides a C-language programming environment with 32-bit int, long, pointer and off_t types. |
|
The implementation provides a C-language programming environment with 32-bit int, long and pointer types and an off_t type using at least 64 bits. |
|
The implementation provides a C-language programming environment with 32-bit int, and 64-bit long, pointer and off_t types. |
|
The implementation provides a C-language programming environment with int using at least 32-bits, and long, pointer and off_t types using at least 64 bits. |
|
Rationale
Shell and Utilities, Issue 6 defines these scenarios as possible C-language programming environment offerings.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, c99,
Question 35: What C-language programming environment is the default?
Response
Programming Environment | Provided |
---|---|
The implementation's default C-language programming environment provides 32-bit int, long, pointer and off_t types. |
|
The implementation's default C-language programming environment provides 32-bit int, long and pointer types and an off_t type using at least 64 bits. |
|
The implementation's default C-language programming environment provides 32-bit int, and 64-bit long, pointer and off_t types. |
|
The implementation's default C-language programming environment provides int using at least 32-bits, and long, pointer and off_t types using at least 64 bits. |
|
Rationale
Shell and Utilities, Issue 6 specifies that the default must be one of the above. Note that the third choice overlaps with the fourth choice.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, c99,
Question 36: Does qalter attempt to alter the attributes of a batch job in the RUNNING state?
Response
Rationale
The specification states that an attempt to alter the attributes of a batch job in the RUNNING state is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter
Question 37: Does the implementation define other hold types for the qalter , qhold, qrls and qselect utilities?
Response
Rationale
The specification states that an implementation may define other keep types for these utilities and that the conformance document shall describe any additional keep types, how they are specified, their internal behavior, and how they affect the behavior of the utility.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter, qhold, qrls and qselect.
Question 38: Does the implementation define other join types for the qalter and qsub utilities ?
Response
Rationale
The specification states that an implementation may define other keep types for these utilities and that the conformance document shall describe any additional keep types, how they are specified, their internal behavior, and how they affect the behavior of the utility.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter and qsub.
Question 39: Does the implementation define other keep types for the qalter and qsub utilities?
Response
Rationale
The specification states that an implementation may define other keep types for these utilities and that the conformance document shall describe any additional keep types, how they are specified, their internal behavior, and how they affect the behavior of the utility.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter and qsub.
Question 40: Does the implementation define other mail types for the qalter and qsub utilties?
Response
Rationale
The specification states that an implementation may define other keep types for these utilities and that the conformance document shall describe any additional keep types, how they are specified, their internal behavior, and how they affect the behavior of the utility.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter and qsub.
Question 41: How do the qalter and qsub utilities interpret the mail_address argument to the -M option?
Response
Rationale
The specification states that the interpretation of mail_address is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter and qsub.
Question 42: Does the qalter utility attempt to locate a batch job on other servers?
Response
Rationale
The specification states that whether or not the qalter utility attempts to locate the batch job on other batch servers is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qalter.
Question 43: Do the qdel,qhold,qmove,qmsg,qrerun,qrls,qsig and qstat utilities wait to output a diagnostic message while attempting to locate a job on other servers?
Response
Utility Name | Output a Diagnostic? |
---|---|
qdel | |
qhold | |
qmove | |
qmsg | |
qrerun | |
qrls | |
qsig | |
qstat |
Rationale
The specification states that whether or not these utilities wait to output the diagnostic message while attempting to locate the job on other servers is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qdel,qhold,qmove,qmsg,qrerun,qrls,qsig and qstat.
Question 44: What is the name and location of the implementation-defined file that the qmsg utility writes the message to if neither -O nor the -E options are specified?
Response
Rationale
The specification states that if neither the -O nor the -E option is presented to the qmsg utility, the utility shall write the message into an implementation-defined file and that the conformance document shall describe the name and location of the implementation-defined file.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qmsg.
Question 45: What is the format that the qselect utility supports for matching against the Job_Name attribute for the -N option?
Response
Rationale
The specification states that an implementation shall describe in the conformance document the format it supports for matching against the Job_Name attribute.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qselect.
Question 46: How does the qselect utility determine the default batch server?
Response
Rationale
The specification states that if the option-argument describes only a batch queue, the qselect utility shall select only batch jobs from the batch queue of the specified name at the default batch server. The means by which qselect determines the default server is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qselect.
Question 47: What additional implementation-defined information, if any, about the batch job or batch queue are displayed for the -f option to the qstat utility?
Response
Rationale
The specification states that the additional contents and format of a full display are implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qstat.
Question 48: What is the value of the Priority attribute if the -p option is not presented to the qsub utility?
Response
Rationale
The specification states that if the -p option is not presented to the qsub utility, the value of the Priority attribute is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qsub.
Question 49: What is the default destination if the -q option is not presented to the qsub utility?
Response
Rationale
The specification states that if the -q option is not presented to the qsub utility, the qsub utility shall submit the batch job to the default destination. The mechanism for determining the default destination is implementation-defined.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qsub.
Question 50: What is the mechanism for setting and determining the value of the default shell for the qsub utility?
Response
Rationale
The specification states that the conformance document shall describe the mechanism used to set the default shell and determine the current value of the default shell. An implementation shall provide a means for the installation to set the default shell to the login shell of the user under which the batch job is to execute.
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qsub.
Question 51: What is the format of shell commments recognized by the qsub utility for the script file argument?
Response
Rationale
The specification states that the qsub utility shall continue to
process a directive prefix line until after a
Reference
Technical Standard, Shell and Utilities, Issue 6, Chapter 4, Utilities, qsub.
Copyright
All rights reserved.
Date | Name | Comment |
---|---|---|
New |
The Open Group and Boundaryless Information Flow are trademarks
and UNIX is a registered trademark of The Open Group in the United States
and other countries. All other trademarks are the property of their
respective owners.