Author: emaste
Date: Wed Feb 12 17:12:26 2020
New Revision: 357831
URL: https://svnweb.freebsd.org/changeset/base/357831

Log:
  Allow fdatasync in capability mode
  
  fdatasync is essentially a subset of fsync (and may be exactly fsync,
  depending on filesystem and development effort) and operates only on
  a provided fd.
  
  MFC after:    1 week
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/kern/capabilities.conf

Modified: head/sys/kern/capabilities.conf
==============================================================================
--- head/sys/kern/capabilities.conf     Wed Feb 12 17:05:10 2020        
(r357830)
+++ head/sys/kern/capabilities.conf     Wed Feb 12 17:12:26 2020        
(r357831)
@@ -224,6 +224,7 @@ fstatfs
 ## Allow further file descriptor-based I/O operations, subject to capability
 ## rights.
 ##
+fdatasync
 fsync
 ftruncate
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to