vfs::common

Function rights_to_posix_mode_bits

Source
pub fn rights_to_posix_mode_bits(
    readable: bool,
    writable: bool,
    executable: bool,
) -> u32
Expand description

Returns equivalent POSIX mode/permission bits based on the specified rights. Note that these only set the user bits.