Author: emaste
Date: Sun Mar  8 17:56:44 2020
New Revision: 358745
URL: https://svnweb.freebsd.org/changeset/base/358745

Log:
  MFC r357831: 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.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/12/sys/kern/capabilities.conf
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/capabilities.conf
==============================================================================
--- stable/12/sys/kern/capabilities.conf        Sun Mar  8 17:42:42 2020        
(r358744)
+++ stable/12/sys/kern/capabilities.conf        Sun Mar  8 17:56:44 2020        
(r358745)
@@ -218,6 +218,7 @@ fstatfs
 ## Allow further file descriptor-based I/O operations, subject to capability
 ## rights.
 ##
+fdatasync
 fsync
 ftruncate
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to