Re: [PATCH 3/3] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions. [Try 2]
3 Oct
2007
3 Oct
'07
4:32 p.m.
Hi Rob, + file->mode |= st.st_mode & (S_IRWXU|S_IRWXO); Why "|=" rather than simply "="? --Juan
3 Oct
3 Oct
5:44 p.m.
New subject: [PATCH 3/3] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions. [Try 2]
Juan Lang wrote:
Hi Rob,
+ file->mode |= st.st_mode & (S_IRWXU|S_IRWXO);
Why "|=" rather than simply "="?
Good point. I had a reason when I was wrote the code, but it seems like there should be no problems with file->mode always being kept up-to-date. -- Rob Shearman
6648
Age (days ago)
6648
Last active (days ago)
1 comments
2 participants
participants (2)
-
Juan Lang -
Robert Shearman