User Details
- User Since
- Oct 15 2024, 12:08 PM (7 w, 5 d)
Sat, Nov 9
Use tabs where necessary.
Final revision.
Nov 3 2024
Sort the includes according to style(9) and modify
Update the revision according the comments of markj@
Oct 31 2024
Update the commit message and make amendments according to the style
Oct 25 2024
Remove unnecessary forward declaration.
Address comments by glebius@.
Oct 24 2024
Use two separate events for arguments and environment variables.
Oct 19 2024
Fix formatting.
This version includes working with a struc and buffer altogether.
In the struct, there is the offset required to tell the difference
between ARGV and ENVV arrays.
869 ktrace EXEC ARGV: "echo", "foo "ENVV: "LOGNAME=root", "PAGER=less", "LANG=C.UTF-8", "MAIL=/var/mail/root", "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin", "XDG_RUNTIME_DIR=/var/run/xdg/root", "ENV=/root/.shrc", "PWD=/root", "TERM=vt100", "HOME=/root", "USER=root", "SHELL=/bin/sh", "MM_CHARSET=UTF-8", "BLOCKSIZE=K"
This needs to be reviewed, especially the kernel part please. If that's okay,
we can move to the userland implementation. I am not sure if I should put the
buffer in the sturcutre right now, or that it is even possible. Please help me
with the data design step at this point. We all understand what needs to be
passed to userspace, let's decide on how that should be done from the kernel
space now.
Prepare for review.
Use "" quotation marks to show whitespace characters.
Remove code printing the EXEC envv parts of the image_args.
For that, a separate call is to be introducted later,
ktrexecveenvs().
Use tabs instead of whitespace characters where necessary.
Applied changes from code review.
Oct 17 2024
First working version. To be reviewed.
Oct 16 2024
Because of the need to include the whole imgact.h, remove the forward declaration
of it.
Oct 15 2024
Remove the useless includes + other minor changes.