Linux 2.6.26-rc8
[linux-3.10.git] / security / smack / smackfs.c
index a5da5a8cfe9b546ac4f1fd3431d716128440915a..271a835fbbe3f72f4e5465cbf84b9b271fa7e77a 100644 (file)
@@ -324,6 +324,7 @@ static void smk_cipso_doi(void)
        struct netlbl_audit audit_info;
 
        audit_info.loginuid = audit_get_loginuid(current);
+       audit_info.sessionid = audit_get_sessionid(current);
        audit_info.secid = smack_to_secid(current->security);
 
        rc = netlbl_cfg_map_del(NULL, &audit_info);
@@ -356,6 +357,7 @@ static void smk_unlbl_ambient(char *oldambient)
        struct netlbl_audit audit_info;
 
        audit_info.loginuid = audit_get_loginuid(current);
+       audit_info.sessionid = audit_get_sessionid(current);
        audit_info.secid = smack_to_secid(current->security);
 
        if (oldambient != NULL) {