Lines Matching defs:grants
1612 le32 grants;
1633 grants = OWNER_RIGHTS;
1638 grants = WORLD_RIGHTS;
1642 grants = WORLD_RIGHTS & ~ROOT_OWNER_UNMARK;
1671 grants &= ~ROOT_OWNER_UNMARK;
1686 grants |= DIR_EXEC;
1688 grants |= DIR_WRITE;
1690 grants |= DIR_READ;
1693 grants |= FILE_EXEC;
1695 grants |= FILE_WRITE;
1697 grants |= FILE_READ;
1746 denials &= ~grants;
1774 le32 grants;
1789 grants = OWNER_RIGHTS;
1798 grants = WORLD_RIGHTS;
1803 grants = WORLD_RIGHTS & ~ROOT_OWNER_UNMARK;
1809 grants |= DIR_EXEC;
1811 grants |= DIR_WRITE;
1813 grants |= DIR_READ;
1816 grants |= FILE_EXEC;
1818 grants |= FILE_WRITE;
1820 grants |= FILE_READ;
1823 grants &= ~ROOT_OWNER_UNMARK;
1828 pgace->mask = grants;
1856 le32 grants;
1931 grants = WORLD_RIGHTS;
1933 grants &= ~ROOT_GROUP_UNMARK;
1936 grants |= DIR_EXEC;
1938 grants |= DIR_WRITE;
1940 grants |= DIR_READ;
1943 grants |= FILE_EXEC;
1945 grants |= FILE_WRITE;
1947 grants |= FILE_READ;
1976 denials &= ~(grants | OWNER_RIGHTS);
1988 /* now insert grants to group if more than world */
1997 grants &= ~ROOT_GROUP_UNMARK;
2002 pgace->mask = grants;
2021 * - denials to owner (preventing grants to world or group to apply)
2024 * - grants to owner (always present - first grant)
2025 * + grants to designated user
2027 * - denials to group (preventing grants to world to apply)
2028 * - grants to group (unless group has no more than world rights)
2030 * + grants to designated group
2032 * - grants to world (unless none)
2037 * as denials prepended to grants for designated users and groups
2045 * Note that denials to group are located after grants to owner.
2064 * - grants to owner, always present at first position
2065 * - grants to group, always present
2066 * - grants to world, unless none
2075 * neither grants to group are applied to owner, nor grants to
2082 * - denials to owner (preventing grants to world to apply)
2083 * - grants to owner (always present)
2084 * - grants to group (unless groups has same rights as world)
2085 * - grants to world (unless none)
2126 le32 grants;
2282 * - grants to owner and designated users
2284 * - grants to other
2315 /* denials and grants for group when needed */
2328 /* denials and grants for designated groups */
2336 /* grants for other users */
2340 grants = WORLD_RIGHTS;
2343 grants |= DIR_EXEC;
2345 grants |= DIR_WRITE;
2347 grants |= DIR_READ;
2350 grants |= FILE_EXEC;
2352 grants |= FILE_WRITE;
2354 grants |= FILE_READ;
2359 pgace->mask = grants;
2387 grants = OWNER_RIGHTS | FILE_READ | FILE_WRITE | FILE_EXEC;
2388 pgace->mask = grants;
2400 grants = OWNER_RIGHTS | FILE_READ | FILE_WRITE | FILE_EXEC;
2401 pgace->mask = grants;
2415 grants = const_cpu_to_le32(0);
2417 grants |= FILE_APPEND_DATA;
2419 grants |= FILE_WRITE_DATA;
2421 grants |= FILE_READ_DATA;
2422 pgace->mask = grants;
2454 le32 grants;
2479 grants = OWNER_RIGHTS;
2483 grants |= DIR_EXEC;
2485 grants |= DIR_WRITE;
2487 grants |= DIR_READ;
2491 grants |= FILE_EXEC;
2493 grants |= FILE_WRITE;
2495 grants |= FILE_READ;
2542 denials &= ~grants;
2569 /* now insert grants to owner */
2574 pgace->mask = grants;
2586 grants = WORLD_RIGHTS;
2590 grants |= DIR_EXEC;
2592 grants |= DIR_WRITE;
2594 grants |= DIR_READ;
2598 grants |= FILE_EXEC;
2600 grants |= FILE_WRITE;
2602 grants |= FILE_READ;
2628 denials &= ~(grants | OWNER_RIGHTS);
2642 /* now insert grants to group */
2648 pgace->mask = grants;
2659 grants = WORLD_RIGHTS;
2663 grants |= DIR_EXEC;
2665 grants |= DIR_WRITE;
2667 grants |= DIR_READ;
2671 grants |= FILE_EXEC;
2673 grants |= FILE_WRITE;
2675 grants |= FILE_READ;
2678 pgace->mask = grants;
2693 grants = OWNER_RIGHTS | FILE_READ | FILE_WRITE | FILE_EXEC;
2694 pgace->mask = grants;
2709 grants = OWNER_RIGHTS | FILE_READ | FILE_WRITE | FILE_EXEC;
2710 pgace->mask = grants;
2724 grants = const_cpu_to_le32(0);
2726 grants |= FILE_APPEND_DATA;
2728 grants |= FILE_WRITE_DATA;
2730 grants |= FILE_READ_DATA;
2731 pgace->mask = grants;
2934 * from owner, group and world grants as represented in ACEs
3114 * Build the permissions equivalent to grants and denials
3188 * Interpret an ACL and extract meaningful grants
3275 * Interpret an ACL and extract meaningful grants
3423 * Store the grants into a Posix ACE
3465 * Interpret an ACL and extract meaningful grants
3752 * grants for root as a designated user or group
3770 * and grants are meant to group