From 5080ee2579afff7c29fbcdd47be5dea68da95459 Mon Sep 17 00:00:00 2001 From: chyyuu Date: Thu, 25 Apr 2019 10:56:13 +0800 Subject: [PATCH] add log info for envs in new_user function --- kernel/src/process/structs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/src/process/structs.rs b/kernel/src/process/structs.rs index c86751a..d814639 100644 --- a/kernel/src/process/structs.rs +++ b/kernel/src/process/structs.rs @@ -196,6 +196,7 @@ impl Thread { args.insert(1, exec_path.into()); args.remove(2); info!("loader args: {:?}", args); + info!("loader envs: {:?}", envs); return Thread::new_user(buf.as_slice(), exec_path, args, envs); } else { warn!("loader specified as {} but failed to read", &loader_path);