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!(
33
33
libc_bitflags ! {
34
34
/// "File mode / permissions" flags.
35
35
pub struct Mode : mode_t {
36
+ /// Read, write and execute for owner.
36
37
S_IRWXU ;
38
+ /// Read for owner.
37
39
S_IRUSR ;
40
+ /// Write for owner.
38
41
S_IWUSR ;
42
+ /// Execute for owner.
39
43
S_IXUSR ;
44
+ /// Read write and execute for group.
40
45
S_IRWXG ;
46
+ /// Read fr group.
41
47
S_IRGRP ;
48
+ /// Write for group.
42
49
S_IWGRP ;
50
+ /// Execute for group.
43
51
S_IXGRP ;
52
+ /// Read, write and execute for other.
44
53
S_IRWXO ;
54
+ /// Read for other.
45
55
S_IROTH ;
56
+ /// Write for other.
46
57
S_IWOTH ;
58
+ /// Execute for other.
47
59
S_IXOTH ;
60
+ /// Set user id on execution.
48
61
S_ISUID as mode_t;
62
+ /// Set group id on execution.
49
63
S_ISGID as mode_t;
50
64
S_ISVTX as mode_t;
51
65
}
You can’t perform that action at this time.
0 commit comments