Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   thorpej
Date:           Sat Mar 13 01:01:31 UTC 1999

Modified Files:
        src/sys/miscfs/procfs: procfs_cmdline.c
Log Message:
Some changes to `cmdline' to make it work properly:
- Don't error out on P_SYSTEM or SZOMB processes; instead, do what ps(1)
would do, i.e. the p_comm in parenthesis.
- Use uvm_io() (or procfs_rwmem() if !UVM) to read the target process's
psstrings and argument vector.  Using copyin() is problematic, because
it operates on the current processes!  That is, the old code would
always get the `cmdline' of the process reading the file, not that of
the target process.




Home | Main Index | Thread Index | Old Index