Source-Changes archive

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

CVS commit: [netbsd-8] src



Module Name:    src
Committed By:   martin
Date:           Wed Apr 22 18:18:26 UTC 2020

Modified Files:
        src/lib/libc/sys [netbsd-8]: fdatasync.2
        src/sys/kern [netbsd-8]: vfs_syscalls.c

Log Message:
Pull up following revision(s) (requested by gdt in ticket #1534):

        sys/kern/vfs_syscalls.c: revision 1.544
        lib/libc/sys/fdatasync.2: revision 1.17

Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX.  Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users.  Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.56.1 src/lib/libc/sys/fdatasync.2
cvs rdiff -u -r1.516 -r1.516.2.1 src/sys/kern/vfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index