Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/sys Pull up following revision(s) (requested by kamil...



details:   https://anonhg.NetBSD.org/src/rev/c33b335fc04c
branches:  netbsd-8
changeset: 851394:c33b335fc04c
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Feb 25 23:57:51 2018 +0000

description:
Pull up following revision(s) (requested by kamil in ticket #563):
        sys/sys/fcntl.h: 1.50
Enable O_NOFOLLOW in the POSIX namespace
This open(2) flag first appeared in FreeBSD and was standarized by POSIX
in the 2008 standard.

diffstat:

 sys/sys/fcntl.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 31cab0a79f68 -r c33b335fc04c sys/sys/fcntl.h
--- a/sys/sys/fcntl.h   Sun Feb 25 23:55:50 2018 +0000
+++ b/sys/sys/fcntl.h   Sun Feb 25 23:57:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fcntl.h,v 1.48 2017/01/10 23:08:13 christos Exp $      */
+/*     $NetBSD: fcntl.h,v 1.48.8.1 2018/02/25 23:57:51 snj Exp $       */
 
 /*-
  * Copyright (c) 1983, 1990, 1993
@@ -90,7 +90,7 @@
     (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
 #define        O_SYNC          0x00000080      /* synchronous writes */
 #endif
-#if defined(_NETBSD_SOURCE)
+#if (_POSIX_C_SOURCE - 0) >= 200809L || defined(_NETBSD_SOURCE)
 #define        O_NOFOLLOW      0x00000100      /* don't follow symlinks on the last */
                                        /* path component */
 #endif



Home | Main Index | Thread Index | Old Index