[PATCH 3/3] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions. [Try 2]
rob at codeweavers.com
Wed Oct 3 12:44:16 CDT 2007
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.
More information about the wine-devel