Throughout drop allow_ntsec and allow_smbntsec handling.
* environ.cc (set_ntsec): Remove. (set_smbntsec): Remove. (known): Remove ntsec and smbntsec options. * external.cc (check_ntsec): Return true if no filename is given. * mount.cc (oopts): Add "acl" and "noacl" options. Set MOUNT_NOACL flag accordingly. (fillout_mntent): Handle MOUNT_NOACL flag. * path.h (enum path_types): Add PATH_NOACL. * security.cc (allow_ntsec): Remove. (allow_smbntsec): Remove. * security.h (allow_ntsec): Drop declaration. (allow_smbntsec): Drop declaration. * include/sys/mount.h (MOUNT_NOACL): Define.
This commit is contained in:
		@@ -30,7 +30,8 @@ enum
 | 
			
		||||
  MOUNT_DEVFS =		0x0200,	/* /device "filesystem" */
 | 
			
		||||
  MOUNT_PROC =		0x0400,	/* /proc "filesystem" */
 | 
			
		||||
  MOUNT_ENC =		0x0800,	/* encode special characters */
 | 
			
		||||
  MOUNT_RO =		0x1000  /* read-only "filesystem" */
 | 
			
		||||
  MOUNT_RO =		0x1000, /* read-only "filesystem" */
 | 
			
		||||
  MOUNT_NOACL =		0x2000  /* support reading/writing ACLs */
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
int mount (const char *, const char *, unsigned __flags);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user