DEFAULT_ACL(2)
NAME
default_acl − change default file protection environment
USAGE
#include <default_acl.h>
int default_acl(switch) int switch;
DESCRIPTION
The DOMAIN/IX system call default_acl allows programs to change the default file protection environment between access mode and access control list (ACL). Values for the switch argument are defined in the include file <default_acl.h>. They are:
USE_DEFACL Use the default ACL contained in the directory when creating a new file, pipe, or directory.
USE_MODE Use the access mode supplied in the call, modified by the current umask value.
USE_DEFENV Use the default for the environment in which the program is running. Unless the containing directory has a nil initial file acl (set using sup(8)), the default for programs running in an AEGIS environment is to use the intial file ACL. If the containing directory has a nil initial file acl, the default for programs running in an AEGIS environment is the same as for those running in a DOMAIN/IX environment. In all cases, the default for programs running in a DOMAIN/IX environment is to use the appropriate access mode.