messaging.c (cb5629b10d64a8006622ce3a52bc887d91057d69) | messaging.c (00fcf2cb6f6bb421851c3ba062c0a36760ea6e53) |
---|---|
1/** 2 * eCryptfs: Linux filesystem encryption layer 3 * 4 * Copyright (C) 2004-2008 International Business Machines Corp. 5 * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com> 6 * Tyler Hicks <tyhicks@ou.edu> 7 * 8 * This program is free software; you can redistribute it and/or --- 277 unchanged lines hidden (view full) --- 286 hlist_del(&daemon->euid_chain); 287 if (daemon->task) 288 wake_up_process(daemon->task); 289 if (daemon->pid) 290 put_pid(daemon->pid); 291 if (daemon->user_ns) 292 put_user_ns(daemon->user_ns); 293 mutex_unlock(&daemon->mux); | 1/** 2 * eCryptfs: Linux filesystem encryption layer 3 * 4 * Copyright (C) 2004-2008 International Business Machines Corp. 5 * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com> 6 * Tyler Hicks <tyhicks@ou.edu> 7 * 8 * This program is free software; you can redistribute it and/or --- 277 unchanged lines hidden (view full) --- 286 hlist_del(&daemon->euid_chain); 287 if (daemon->task) 288 wake_up_process(daemon->task); 289 if (daemon->pid) 290 put_pid(daemon->pid); 291 if (daemon->user_ns) 292 put_user_ns(daemon->user_ns); 293 mutex_unlock(&daemon->mux); |
294 memset(daemon, 0, sizeof(*daemon)); 295 kfree(daemon); | 294 kzfree(daemon); |
296out: 297 return rc; 298} 299 300/** 301 * ecryptfs_process_quit 302 * @euid: The user ID owner of the message 303 * @user_ns: The namespace in which @euid applies --- 356 unchanged lines hidden --- | 295out: 296 return rc; 297} 298 299/** 300 * ecryptfs_process_quit 301 * @euid: The user ID owner of the message 302 * @user_ns: The namespace in which @euid applies --- 356 unchanged lines hidden --- |