/// Returns true if the rights flags in `flags` do not exceed those in `parent_flags`.
Returns true if the rights flags in `flags` do not exceed those in `parent_flags`.
Returns true if the rights flags in ` flags ` do not exceed those in ` parent_flags ` .
pub fn stricter_or_same_rights(parent_flags: u32, flags: u32) -> bool {
    let parent_rights = parent_flags & FS_RIGHTS;
    let rights = flags & FS_RIGHTS;
    return (rights & !parent_rights) == 0;
}
pub fn stricter_or_same_rights ( parent_flags : u32 , flags : u32 ) -> bool { let parent_rights = parent_flags & FS_RIGHTS ; let rights = flags & FS_RIGHTS ; return ( rights & ! parent_rights ) == 0 ; }
Returns true if the rights flags in `flags` do not exceed those in `parent_flags`.
Returns true if the rights flags in ` flags ` do not exceed those in ` parent_flags ` .
parent_flags
u32
flags
u32