A fix is available
APAR status
Closed as program error.
Error description
open() flags are defined as 64bit values.
Local fix
Problem summary
some of the open() flags are defined as 64bit values. The O_NOFOLLOW along with some other open flags is currently defined as follows in fcntl.h mustfix template continued in the next note <Note by arunhn (Nagaraj, Arun H.), 2014/08/07 08:57:53, seq: 5 rel: 0 action: note> #if defined(_LONG_LONG) && !defined(__64BIT__) #define _FRAW 0x0000000100000000LL #define _FEFSON 0x0000000200000000LL #define _FEFSOFF 0x0000000400000000LL #define _FCIOR 0x0000000800000000LL #if (_XOPEN_SOURCE >= 700) #define _FCLOEXEC 0x0000001000000000LL #define _FNOFOLLOW 0x0000002000000000LL #define _FTTYINIT 0x0000004000000000LL #endif #else #define _FRAW 0x0000000100000000L #define _FEFSON 0x0000000200000000L #define _FEFSOFF 0x0000000400000000L #define _FCIOR 0x0000000800000000L #if (_XOPEN_SOURCE >= 700) #define _FCLOEXEC 0x0000001000000000L #define _FNOFOLLOW 0x0000002000000000L #define _FTTYINIT 0x0000004000000000L #endif #endif ... #define FNOFOLLOW _FNOFOLLOW #define O_NOFOLLOW FNOFOLLOW So these are long long values (64bits), they can not hold in a int (32bits). Also open() takes and int as parameter (32bits), as per man pages : Syntax #include int open ( Path, OFlag , Mode ) const char *Path; int OFlag; mode_t Mode;
Problem conclusion
Defined O_NOFOLLOW as 32bit.
Temporary fix
Comments
7100-02 - use AIX APAR IV61091 7100-03 - use AIX APAR IV63784
APAR Information
APAR number
IV61091
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2014-06-02
Closed date
2014-08-17
Last modified date
2015-01-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U868606
UP15/01/19 I 1000
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
21 January 2015