LWN.net Logo

Standards, the kernel, and Postfix

Standards, the kernel, and Postfix

Posted Aug 21, 2008 5:11 UTC (Thu) by mkerrisk (subscriber, #1978)
Parent article: Standards, the kernel, and Postfix

Some minor details... The man page documentation of the Linux behavior went into man-pages-2.02 in 2005 (not 2006), indeed long after the changes to the kernel.

As the article hints, Linux is not the only system where link() doesn't follow symlinks in oldpath: Solaris also does this, when programs are compiled with the default compiler options (Solaris can also deliver the POSIX.1-2001 compliant behavior with appropriate compilation options), and I've read that some other SVR4 implementations may also have done this. POSIX.1-2008 addresses this variation across systems by changing the specification of link() to say that it is unspecified whether it follows symbolic links in oldpath. (See http://www.opengroup.org/austin/mailarchives/ag/msg08152.html.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds