1 /*     BEGIN INCLUDE FILE ... dir_acl.incl.pl1 ... last modified Nov 1975 for nss */
 2 
 3 /* Template for an ACL entry. Length = 8 words */
 4 
 5 dcl aclep ptr;
 6 
 7 dcl 1 acl_entry based (aclep) aligned,                      /* length is 8 words */
 8     2 frp bit(18) unaligned,                                /* rel ptr to next entry */
 9     2 brp bit(18) unaligned,                                /* rel ptr to previous entry */
10 
11     2 type bit (18) unaligned,                              /* type = dir acl */
12     2 size fixed bin (17) unaligned,                        /* size of acl entry */
13 
14 
15     2 name unaligned,                                       /* user name associated with this ACL entry */
16         3 pers_rp bit(18) unaligned,                        /* name of user */
17         3 proj_rp bit(18) unaligned,                        /* project of user */
18         3 tag char(1) unaligned,                            /* tag of user */
19     2 mode bit (3) unaligned,                               /* mode for userid */
20     2 pad24 bit(24) unaligned,
21 
22     2 ex_mode bit(36),                                      /* extended access modes */
23 
24     2 checksum bit (36),                                    /* checksum from acl_entry.name */
25     2  owner bit (36);                                      /* uid of owning entry */
26 
27 /* Template for a person or project name on ACL. Length = 14 words. */
28 
29 dcl 1 access_name aligned based,                            /* person or project name */
30     2 frp bit(18) unaligned,                                /* rel ptr to next name structure */
31     2 brp bit(18) unaligned,                                /* rel ptr to prev name structure */
32 
33     2 type bit (18) unaligned,                              /* type = access name */
34     2 size fixed bin (17) unaligned,                        /* size of access name */
35 
36     2 salv_flag fixed bin(17) unaligned,                    /* used by salvager to check for ascii names */
37     2 usage fixed bin(17) unaligned,                        /* number of ACL entries that refer to this name */
38 
39     2 pad1 bit (36),
40 
41     2 name char(32) aligned,                                /* person or project name itself */
42 
43     2 checksum bit (36),                                    /* checksum from salv_flag */
44 
45     2 owner bit (36);                                       /* uid of containing directory */
46 
47 /*     END INCLUDE FILE ... dir_acl.incl.pl1 */