critical impact:
S_DEFFILEMODE - not available (CrUn275)
Problem description
The S_DEFFILEMODE constant exists on Tru64 UNIX, but not on HP-UX.
S_DEFFILEMODE specifies a default file mode for use in calls to
creat and open. Tru64 UNIX defines it in the <sys/mode.h> file. Identifiers
 S_DEFFILEMODE |
|
|
See also
- Background information on kernel impacts
Solution description
Copy the S_DEFFILEMODE definition from the Tru64 UNIX <sys/mode.h> file.
New behavior
#include <sys/fcntl.h>
#ifndef S_DEFFILEMODE
#define S_DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
#endif
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| KN |
C, C++ |
any HP-UX 11i version |
critical |
unavailable |
|