File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,33 @@ libc_bitflags!(
3333libc_bitflags ! {
3434 /// "File mode / permissions" flags.
3535 pub struct Mode : mode_t {
36+ /// Read, write and execute for owner.
3637 S_IRWXU ;
38+ /// Read for owner.
3739 S_IRUSR ;
40+ /// Write for owner.
3841 S_IWUSR ;
42+ /// Execute for owner.
3943 S_IXUSR ;
44+ /// Read write and execute for group.
4045 S_IRWXG ;
46+ /// Read fr group.
4147 S_IRGRP ;
48+ /// Write for group.
4249 S_IWGRP ;
50+ /// Execute for group.
4351 S_IXGRP ;
52+ /// Read, write and execute for other.
4453 S_IRWXO ;
54+ /// Read for other.
4555 S_IROTH ;
56+ /// Write for other.
4657 S_IWOTH ;
58+ /// Execute for other.
4759 S_IXOTH ;
60+ /// Set user id on execution.
4861 S_ISUID as mode_t;
62+ /// Set group id on execution.
4963 S_ISGID as mode_t;
5064 S_ISVTX as mode_t;
5165 }
You can’t perform that action at this time.
0 commit comments