diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-06 00:33:17 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 07:28:47 -0800 |
commit | 8abf2775dd425ec3c767ea7c5a51b45fc8be76c2 (patch) | |
tree | 7b6ba7f274246f8675db20845089a31625f5e1cd /fs/ext2/xattr_trusted.c | |
parent | 8e3028b908a048ac0b3102504b7daad7b5544846 (diff) | |
download | blackbird-op-linux-8abf2775dd425ec3c767ea7c5a51b45fc8be76c2.tar.gz blackbird-op-linux-8abf2775dd425ec3c767ea7c5a51b45fc8be76c2.zip |
cifs: Use kuids and kgids SID to uid/gid mapping
Update id_mode_to_cifs_acl to take a kuid_t and a kgid_t.
Replace NO_CHANGE_32 with INVALID_UID and INVALID_GID, and tests for
NO_CHANGE_32 with uid_valid and gid_valid.
Carefully unpack the value returned from request_key. memcpy the
value into the expected type. The convert the uid/gid into a
kuid/kgid. And then only if the result is a valid kuid or kgid update
fuid/fgid.
Cc: Steve French <smfrench@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/ext2/xattr_trusted.c')
0 files changed, 0 insertions, 0 deletions