[krbdev.mit.edu #8887] krb 1.18 build failure on AIX 6.1

"Norm Green via RT" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Mon Mar 23 19:12:40 2020: Request 8887 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: krb 1.18 build failure on AIX 6.1
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8887 >


AIX 6.1 does not have O_NOFOLLOW so this code fails to compile. 
configure should probably check for O_NOFOLLOW support.

src/lib/krb5/rcache/rc_dfl.c
   +102
   +103      fd = open(fname, O_CREAT | O_RDWR | O_NOFOLLOW, 0600);
   +104      if (fd < 0) {
   +105          ret = errno;
   +106          k5_setmsg(context, ret, "%s (filename: %s)",
   +107                    error_message(ret), fname);
   +108          goto cleanup;
   +109      }


"rc_dfl.c", line 103.41: 1506-045 (S) Undeclared identifier O_NOFOLLOW.
gmake[3]: *** [rc_dfl.o] Error 1
gmake[3]: Leaving directory 
`/air1/users/buildgss/35/build_05efce997/slow9/kerberos/src/lib/krb5/rcache'
gmake[2]: *** [all-recurse] Error 1
gmake[2]: Leaving directory 
`/air1/users/buildgss/35/build_05efce997/slow9/kerberos/src/lib/krb5'
gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory 
`/air1/users/buildgss/35/build_05efce997/slow9/kerberos/src/lib'
gmake: *** [all-recurse] Error 1
Build failed



Norm Green
GemTalk Systems LLC

_______________________________________________
krb5-bugs mailing list
[email protected]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.